CVE-2023-53032

Source
https://cve.org/CVERecord?id=CVE-2023-53032
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53032.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53032
Downstream
Related
Published
2025-03-27T16:44:00.286Z
Modified
2026-03-20T12:32:55.526549Z
Summary
netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: Fix overflow before widen in the bitmapipcreate() function.

When firstip is 0, lastip is 0xFFFFFFFF, and netmask is 31, the value of an arithmetic expression 2 << (netmask - mask_bits - 1) is subject to overflow due to a failure casting operands to a larger data type before performing the arithmetic.

Note that it's harmless since the value will be checked at the next step.

Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53032.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b9fed748185a96b7cfe74afac4bd228e8af16f01
Fixed
e137d9bb26bd85ce07323a38e38ceb0b160db841
Fixed
dfd834ccc1b88bbbab81b9046a3a539dd0c2d14f
Fixed
feefb33eefa166fc3e0fd17547b0bc0cb3baced9
Fixed
4e6a70fd840400e3a2e784a6673968a3eb2431c0
Fixed
511cf17b2447fc41cfef8d71936e1fa53e395c1e
Fixed
e88865876d47c790be0d5e23973499d75d034364
Fixed
9ea4b476cea1b7d461d16dda25ca3c7e616e2d15

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53032.json"