CVE-2023-53179 json
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
published 2025-09-15 13 mo ago modified 2026-10-15 24 d ago also EUVD-2023-59797
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.5, 4.10, 4.14.326, 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.53, 6.4.16, 6.5.3, 6.6
- linux Debian 12 6.1.55-1
- linux Debian 14, Debian 13 6.5.3-1
debian advisories DEBIAN-CVE-2023-53179
- linux Ubuntu 20.04 LTS 5.4.0-165.182
- linux Ubuntu 22.04 LTS 5.15.0-87.97
- linux-aws Ubuntu 20.04 LTS 5.4.0-1112.121
- linux-aws Ubuntu 22.04 LTS 5.15.0-1048.53
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1116.125
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1045.53
- linux-gke Ubuntu 22.04 LTS 5.15.0-1045.50
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1059.64
ubuntu advisories UBUNTU-CVE-2023-53179
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.22.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.22.1
suse advisories SUSE-SU-2025:4141-1SUSE-SU-2025:4132-1SUSE-SU-2025:4057-1SUSE-SU-2025:20870-1SUSE-SU-2025:3761-1SUSE-SU-2025:20898-1
- git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa commit
- git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc commit
- git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260 commit
- git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3 commit
- git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14 commit
- git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808 commit
- git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166 commit
- git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225 commit
- git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-53179 updated cvss 4.4
kernel: netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
git.kernel.org
/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa
patch
-
git.kernel.org
/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc
patch
-
git.kernel.org
/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260
patch
-
git.kernel.org
/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3
patch
-
git.kernel.org
/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14
patch
-
git.kernel.org
/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808
patch
-
git.kernel.org
/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166
patch
-
git.kernel.org
/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225
patch
-
git.kernel.org
/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878
patch
Sources
- CVE List CVE-2023-53179
- NVD CVE-2023-53179
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.