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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **Published:** 2024-12-06T09:37:02.009Z
- **Modified:** 2026-10-15T22:18:00.690Z

## Who should check

- Anyone running Linux \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 3c20b5948f119ae61ee35ad8584d666020c91581; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 78b0f2028f1043227a8eb0c41944027fc6a04596; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< e67471437ae9083fa73fa67eee1573fec1b7c8cf; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 856023ef032d824309abd5c747241dffa33aae8c; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 591efa494a1cf649f50a35def649c43ae984cd03; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 15794835378ed56fb9bacc6a5dd3b9f33520604e; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 35f56c554eb1b56b77b3cf197a6b00922d49033d
- Anyone running Linux 2.6.39

## 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.

## Affected and fixed versions

- Linux: \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 3c20b5948f119ae61ee35ad8584d666020c91581; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 78b0f2028f1043227a8eb0c41944027fc6a04596; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< e67471437ae9083fa73fa67eee1573fec1b7c8cf; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 856023ef032d824309abd5c747241dffa33aae8c; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 591efa494a1cf649f50a35def649c43ae984cd03; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 15794835378ed56fb9bacc6a5dd3b9f33520604e; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 35f56c554eb1b56b77b3cf197a6b00922d49033d (cvelist)
- Linux: 2.6.39 (cvelist)

## Mitigation

- Upgrade Linux to 35f56c554eb1b56b77b3cf197a6b00922d49033d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53141. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53141.md
Affected: Linux >= 72205fc68bd13109576aa6c4c12c740962d28a6c, < 3c20b5948f119ae61ee35ad8584d666020c91581; >= 72205fc68bd13109576aa6c4c12c740962d28a6c, < 78b0f2028f1043227a8eb0c41944027fc6a04596; >= 72205fc68bd13109576aa6c4c12c740962d28a6c, < 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7; >= 72205fc68bd13109576aa6c…
Fixed in: Linux 3c20b5948f119ae61ee35ad8584d666020c91581, Linux 78b0f2028f1043227a8eb0c41944027fc6a04596, Linux 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7, Linux 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e, Linux 856023ef032d824309abd5c747241dffa33aae8c, Linux 591efa494a1cf649f50a35def649c43ae984cd03, Linux 15794…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53141 being exploited?

There is no confirmed exploitation: CVE-2024-53141 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53141?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53141?

Linux \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 3c20b5948f119ae61ee35ad8584d666020c91581; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 78b0f2028f1043227a8eb0c41944027fc6a04596; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< e67471437ae9083fa73fa67eee1573fec1b7c8cf; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 856023ef032d824309abd5c747241dffa33aae8c; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 591efa494a1cf649f50a35def649c43ae984cd03; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 15794835378ed56fb9bacc6a5dd3b9f33520604e; \>= 72205fc68bd13109576aa6c4c12c740962d28a6c, \< 35f56c554eb1b56b77b3cf197a6b00922d49033d; Linux 2.6.39.

### Is there a fix for CVE-2024-53141?

Yes. Fixed in Linux 3c20b5948f119ae61ee35ad8584d666020c91581, Linux 78b0f2028f1043227a8eb0c41944027fc6a04596, Linux 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7, Linux 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e, Linux 856023ef032d824309abd5c747241dffa33aae8c, Linux 591efa494a1cf649f50a35def649c43ae984cd03, Linux 15794835378ed56fb9bacc6a5dd3b9f33520604e, Linux 35f56c554eb1b56b77b3cf197a6b00922d49033d. Upgrade Linux to 35f56c554eb1b56b77b3cf197a6b00922d49033d or later.

### How do I check if I'm affected by CVE-2024-53141?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581>
- patch: <https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8c>
- patch: <https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03>
- patch: <https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e>
- patch: <https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033d>
- other: <https://git.kernel.org/stable/c/78b0f2028f1043227a8eb0c41944027fc6a04596>
- other: <https://git.kernel.org/stable/c/2e151b8ca31607d14fddc4ad0f14da0893e1a7c7>
- other: <https://git.kernel.org/stable/c/e67471437ae9083fa73fa67eee1573fec1b7c8cf>
- other: <https://git.kernel.org/stable/c/7ffef5e5d5eeecd9687204a5ec2d863752aafb7e>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53141>

HTML: <https://flawdb.com/CVE-2024-53141> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53141>
