CVE-2023-53032
netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function. When first_ip is 0, last_ip 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.7
References 7
git.kernel.org
- stable/c/e137d9bb26bd85ce07323a38e38ceb0b160db841
- stable/c/dfd834ccc1b88bbbab81b9046a3a539dd0c2d14f
- stable/c/feefb33eefa166fc3e0fd17547b0bc0cb3baced9
- stable/c/4e6a70fd840400e3a2e784a6673968a3eb2431c0
- stable/c/511cf17b2447fc41cfef8d71936e1fa53e395c1e
- stable/c/e88865876d47c790be0d5e23973499d75d034364
- stable/c/9ea4b476cea1b7d461d16dda25ca3c7e616e2d15