CVE-2024-53141

netfilter: ipset: add missing range check in bitmap_ip_uadt

Published Dec 6, 2024 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4075-1 linux security update
Debian DLA Debian DLA DLA-4076-1 linux-6.1 security update
EUVD EUVD EUVD-2024-51813 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.
Ubuntu USN Ubuntu USN USN-7232-1 Linux kernel vulnerability
Ubuntu USN Ubuntu USN USN-7233-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7233-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7233-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7234-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7234-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-7234-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7234-4 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7234-5 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7235-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7235-2 Linux kernel (Azure) Unknown kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7235-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7236-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7236-2 Linux kernel (Low Latency) vulnerabilities
Ubuntu USN Ubuntu USN USN-7236-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7237-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-7262-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7262-2 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-7276-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7277-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7295-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7308-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7310-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7311-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7389-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-7390-1 Linux kernel (Xilinx ZynqMP) vulnerabilities
Ubuntu USN Ubuntu USN USN-7413-1 Linux kernel (IoT) vulnerabilities
Ubuntu USN Ubuntu USN USN-7468-1 Linux kernel (Azure, N-Series) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00019}

epss

{'score': 0.00023}

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_e4s:9.0
cpe:/o:redhat:rhel_eus:9.2
cpe:/o:redhat:rhel_eus:9.4
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/a:redhat:rhel_e4s:9.0
cpe:/a:redhat:rhel_e4s:9.0::nfv
cpe:/a:redhat:rhel_tus:8.4::nfv
cpe:/o:redhat:rhel_aus:7.7
cpe:/o:redhat:rhel_aus:8.4
cpe:/o:redhat:rhel_e4s:8.4
cpe:/o:redhat:rhel_els:7
cpe:/o:redhat:rhel_tus:8.4
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Extras Rt Els
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_extras_rt_els:7
cpe:/o:redhat:rhel_aus:8.2
cpe:/o:redhat:rhel_aus:8.6
cpe:/o:redhat:rhel_e4s:8.6
cpe:/o:redhat:rhel_eus:8.8
cpe:/o:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Extras Rt Els
Redhat rhel Tus
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Eus
CPEs cpe:/a:redhat:enterprise_linux:8::nfv
cpe:/a:redhat:rhel_eus:9.2
cpe:/a:redhat:rhel_eus:9.2::nfv
cpe:/a:redhat:rhel_eus:9.4
cpe:/o:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux
Redhat rhel Eus
Type Values Removed Values Added
Metrics threat_severity

Moderate

threat_severity

Important

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title netfilter: ipset: add missing range check in bitmap_ip_uadt
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 15, 2026, 9:41 PM
Reserved
Nov 19, 2024, 5:17 PM
Status
Modified
Published
Dec 6, 2024, 10:15 AM
Modified
Oct 15, 2026, 10:18 PM
Severity
Important
Public date
Dec 6, 2024, 12:00 AM