CVE-2024-53141
netfilter: ipset: add missing range check in bitmap_ip_uadt
Reported by linux · Published December 6, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.124-134.200.amzn2023 |
| linux_kernel | linux | 6.12.2, 6.11.11, 6.6.64, 4.19.325 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 72205fc68bd13109576aa6c4c12c740962d28a6c, 72205fc68bd13109576aa6c4c12c740962d28a6c, 72205fc68bd13109576aa6c4c12c740962d28a6c |
| Linux | Linux | 2.6.39, 0, 4.19.325 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 2.6.39, 2.6.39, 2.6.39 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.124-134.200 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 72205fc68bd13109576aa6c4c12c740962d28a6c, 6.12.2, 6.13 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
Timeline
- Dec 5, 2024 CVE Published
- Dec 7, 2024 EPSS Score (30 in total, the first dated here)
- Apr 15, 2025 Coalition ESS Score (16 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Dec 31, 2025 Security Advisory (124 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (111 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53141
vulnetix vdb fixes CVE-2024-53141
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53141/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart