netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.14.84 to before 4.14.326; 4.19.5 to before 4.19.295; 4.4.165 to before 4.5; 4.9.141 to before 4.10 | 4.14.326, 4.19.295, 4.5, 4.10 | Patch available | CNA |
| Linux | Linux | 4.20 and later | 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 | Patch available | CNA |
- Linux VendorLinux Affected 4.14.84 to before 4.14.326; 4.19.5 to before 4.19.295; 4.4.165 to before 4.5; 4.9.141 to before 4.10 Fixed in 4.14.326, 4.19.295, 4.5, 4.10 Patch available CNA
- Linux VendorLinux Affected 4.20 and later Fixed in 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 Patch available CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.4.165 to before 4.5; 4.9.141 to before 4.10; 4.14.84 to before 4.14.326; 4.19.5 to before 4.19.295; 4.20.1 to before 5.4.257; 5.5 to before 5.10.195; 5.11 to before 5.15.132; 5.16 to before 6.1.53; 6.2 to before 6.4.16; 6.5 to before 6.5.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:-:*:*:*:*:*:* | 4.20 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:rc2:*:*:*:*:*:* | 4.20 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:rc3:*:*:*:*:*:* | 4.20 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:rc4:*:*:*:*:*:* | 4.20 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:rc5:*:*:*:*:*:* | 4.20 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:rc6:*:*:*:*:*:* | 4.20 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.20:rc7:*:*:*:*:*:* | 4.20 rc7 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.4.165 to before 4.5; 4.9.141 to before 4.10; 4.14.84 to before 4.14.326; 4.19.5 to before 4.19.295; 4.20.1 to before 5.4.257; 5.5 to before 5.10.195; 5.11 to before 5.15.132; 5.16 to before 6.1.53; 6.2 to before 6.4.16; 6.5 to before 6.5.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:-:*:*:*:*:*:* Versions 4.20 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:rc2:*:*:*:*:*:* Versions 4.20 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:rc3:*:*:*:*:*:* Versions 4.20 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:rc4:*:*:*:*:*:* Versions 4.20 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:rc5:*:*:*:*:*:* Versions 4.20 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:rc6:*:*:*:*:*:* Versions 4.20 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.20:rc7:*:*:*:*:*:* Versions 4.20 rc7 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.14.326, 4.19.295, 4.5, 4.10
- Fix · CNA Linux (Linux) Fixed in 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
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2023-53179
- 2026-10-03 Alias added: GHSA-95q3-rgv7-prpr
- 2026-10-16 CISA SSVC decision points changed
References
Patch 9
- https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa
- https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc
- https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260
- https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3
- https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14
- https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808
- https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166
- https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225
- https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-53179 · CVE Program
- CVE-2023-53179 · NVD
- FIRST EPSS
- GHSA-95q3-rgv7-prpr · GitHub Advisory Database · CC BY 4.0
- CVE-2023-53179 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences