CVE-2023-53179

netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c

HIGH
7.8
CVSS Score
Published: September 15, 2025 at 02:04 PM UTC
Updated: October 15, 2026 at 10:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c The missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can lead to the use of wrong `CIDR_POS(c)` for calculating array offsets, which can lead to integer underflow. As a result, it leads to slab out-of-bound access. This patch adds back the IP_SET_HASH_WITH_NET0 macro to ip_set_hash_netportnet to address the issue.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14.84 ≤ v < 4.14.3264.19.5 ≤ v < 4.19.2954.20.1 ≤ v < 5.4.2574.4.165 ≤ v < 4.54.9.141 ≤ v < 4.105.11 ≤ v < 5.15.1325.16 ≤ v < 6.1.535.5 ≤ v < 5.10.1956.2 ≤ v < 6.4.166.5 ≤ v < 6.5.30d5d0b5c41f766355f2b42c47d13ea001f754c7d186642845b02e1a7944ef33c3a3ac41eba77517f4.14.844.19.54.204.20 rc24.20 rc34.20 rc44.20 rc54.20 rc64.20 rc74.4.1654.9.141886503f34d63e681662057448819edb5b1057a97919560afc21f91ca352a20394d5249aba1799690cb3e590df429ce151d5041884a4947099b8ad6a7
Vendor states this is fixed in 050d91c03b28ca479df13dfb02bcd2c60dd6a878 (fixed)
Vendor states this is fixed in 109e830585e89a03d554bf8ad0e668630d0a6260 (fixed)
Vendor states this is fixed in 7935b636dd693dfe4483cfef4a1e91366c8103fa (fixed)
Vendor states this is fixed in 7ca0706c68adadf86a36b60dca090f5e9481e808 (fixed)
Vendor states this is fixed in 83091f8ac03f118086596f17c9a52d31d6ca94b3 (fixed)
Vendor states this is fixed in a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14 (fixed)
Vendor states this is fixed in d59b6fc405549f7caf31f6aa5da1d6bef746b166 (fixed)
Vendor states this is fixed in d95c8420efe684b964e3aa28108e9a354bcd7225 (fixed)
Vendor states this is fixed in e632d09dffc68b9602d6893a99bfe3001d36cefc (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.14.326 (unaffected)
Vendor states this is fixed in 4.19.295 (unaffected)
Vendor states this is fixed in 4.20 (unaffected)
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.195 (unaffected)
Vendor states this is fixed in 5.15.132 (unaffected)
Vendor states this is fixed in 5.4.257 (unaffected)
Vendor states this is fixed in 6.1.53 (unaffected)
Vendor states this is fixed in 6.4.16 (unaffected)
Vendor states this is fixed in 6.5.3 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card