CVE-2023-53032
netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
Check your servers for CVE-2023-53032
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53032 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before e137d9bb26bd85ce07323a38e38ceb0b160db841 affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before dfd834ccc1b88bbbab81b9046a3a539dd0c2d14f affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before feefb33eefa166fc3e0fd17547b0bc0cb3baced9 affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before 4e6a70fd840400e3a2e784a6673968a3eb2431c0 affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before 511cf17b2447fc41cfef8d71936e1fa53e395c1e affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before e88865876d47c790be0d5e23973499d75d034364 affected from b9fed748185a96b7cfe74afac4bd228e8af16f01, before 9ea4b476cea1b7d461d16dda25ca3c7e616e2d15
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.164 up to and including 5.10.* unaffected from 5.15.89 up to and including 5.15.* unaffected from 6.1.7 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53032 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53032
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53032
trivy image --scanners vuln IMAGE | grep CVE-2023-53032
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e137d9bb26bd85ce07323a38e38ceb0b160db841 git.kernel.org
- https://git.kernel.org/stable/c/dfd834ccc1b88bbbab81b9046a3a539dd0c2d14f git.kernel.org
- https://git.kernel.org/stable/c/feefb33eefa166fc3e0fd17547b0bc0cb3baced9 git.kernel.org
- https://git.kernel.org/stable/c/4e6a70fd840400e3a2e784a6673968a3eb2431c0 git.kernel.org
- https://git.kernel.org/stable/c/511cf17b2447fc41cfef8d71936e1fa53e395c1e git.kernel.org
- https://git.kernel.org/stable/c/e88865876d47c790be0d5e23973499d75d034364 git.kernel.org
- https://git.kernel.org/stable/c/9ea4b476cea1b7d461d16dda25ca3c7e616e2d15 git.kernel.org
Source: the record CVE-2023-53032 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse