CVE-2024-53141 netfilter: ipset: add missing range check in bitmap_ip_uadt

High 7.8 Published Updated

A missing range check in the Linux kernel's ipset module allows attackers to bypass security restrictions, potentially leading to privilege escalation or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53141?

CVE-2024-53141 is a high-severity missing authorization vulnerability in Linux kernel, published on 6 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2024-53141?

It affects 1 product.

Linux distribution packages (40)
bpftool Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
bpftool-debuginfo Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-abi-whitelists Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-debug Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-debug-debuginfo Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-debug-devel Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-debuginfo Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-devel Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-doc Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-tools Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-tools-debuginfo Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-tools-libs Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
kernel-tools-libs-devel Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
perf Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
perf-debuginfo Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
python-perf Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
python-perf-debuginfo Red Hat:rhel_aus:7.7::serverAll versions0:3.10.0-1062.98.1.el7
bpftool Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
bpftool-debuginfo Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-abi-whitelists Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-core Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debug Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debug-core Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debug-debuginfo Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debug-devel Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debug-modules Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debug-modules-extra Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debuginfo Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-devel Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-doc Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-modules Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-modules-extra Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-tools Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-tools-debuginfo Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
kernel-tools-libs Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2
perf Red Hat:rhel_aus:8.2::baseosAll versions0:4.18.0-193.152.1.el8_2

Products include Linux kernel.

How do I fix CVE-2024-53141?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-53141 being exploited?

There is no known exploitation of CVE-2024-53141 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-54090, AZL-54095, BELL-CVE-2024-53141, DEBIAN-CVE-2024-53141, GHSA-9567-2gw8-p4p5, RHSA-2025:7533 and 10 more.

Is CVE-2024-53141 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free