All reports
High

kernel: netfilter: ipset: add missing range check in bitmap_ip_uadt

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-53141

Probability of exploitation in the next 30 days: 0.40%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel's netfilter ipset subsystem. A missing range check when handling IP address parameters allows user-supplied network attributes to bypass validation, resulting in memory corruption. A local attacker with network administration privileges, or an unprivileged user utilizing user namespaces, could exploit this flaw to achieve privilege escalation or cause a Denial of Service (DoS) by crashing the system.