CVE-2023-53179
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, < 7935b636dd693dfe4483cfef4a1e91366c8103fa; >= cb3e590df429ce151d5041884a4947099b8ad6a7, < e632d09dffc68b9602d6893a99bfe3001d36cefc; >= 886503f34d63e681662057448819edb5b1057a97, < 109e830585e89a03d554bf8ad0e668630d0a6260; >= 886503f34d63e681662057448819edb5b1057a97, < 83091f8ac03f118086596f17c9a52d31d6ca94b3; >= 886503f34d63e681662057448819edb5b1057a97, < a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14; >= 886503f34d63e681662057448819edb5b1057a97, < 7ca0706c68adadf86a36b60dca090f5e9481e808; >= 886503f34d63e681662057448819edb5b1057a97, < d59b6fc405549f7caf31f6aa5da1d6bef746b166; >= 886503f34d63e681662057448819edb5b1057a97, < d95c8420efe684b964e3aa28108e9a354bcd7225; >= 886503f34d63e681662057448819edb5b1057a97, < 050d91c03b28ca479df13dfb02bcd2c60dd6a878; 186642845b02e1a7944ef33c3a3ac41eba77517f; …
- Anyone running Linux 4.20
Vulnerability facts
- Affected
- Linux >= 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, < 7935b636dd693dfe4483cfef4a1e91366c8103fa; >= cb3e590df429ce151d5041884a4947099b8ad6a7, < e632d09dffc68b9602d6893a99bfe3001d36cefc; >= 886503f34d63e681662057448819edb5b1057a97, < 109e830585e89a03d554bf8ad0e668630d0a6260; >= 886503f34d63e681662057448819edb5b1057a97, < 83091f8ac03f118086596f17c9a52d31d6ca94b3; >= 886503f34d63e681662057448819edb5b1057a97, < a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14; >= 886503f34d63e681662057448819edb5b1057a97, < 7ca0706c68adadf86a36b60dca090f5e9481e808; >= 886503f34d63e681662057448819edb5b1057a97, < d59b6fc405549f7caf31f6aa5da1d6bef746b166; >= 886503f34d63e681662057448819edb5b1057a97, < d95c8420efe684b964e3aa28108e9a354bcd7225; >= 886503f34d63e681662057448819edb5b1057a97, < 050d91c03b28ca479df13dfb02bcd2c60dd6a878; 186642845b02e1a7944ef33c3a3ac41eba77517f; …; Linux 4.20
- Fixed in
- Linux 7935b636dd693dfe4483cfef4a1e91366c8103fa, Linux 109e830585e89a03d554bf8ad0e668630d0a6260, Linux 83091f8ac03f118086596f17c9a52d31d6ca94b3, Linux 7ca0706c68adadf86a36b60dca090f5e9481e808, Linux 050d91c03b28ca479df13dfb02bcd2c60dd6a878
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-787
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, < 7935b636dd693dfe4483cfef4a1e91366c8103fa; >= cb3e590df429ce151d5041884a4947099b8ad6a7, < e632d09dffc68b9602d6893a99bfe3001d36cefc; >= 886503f34d63e681662057448819edb5b1057a97, < 109e830585e89a03d554bf8ad0e668630d0a6260; >= 886503f34d63e681662057448819edb5b1057a97, < 83091f8ac03f118086596f17c9a52d31d6ca94b3; >= 886503f34d63e681662057448819edb5b1057a97, < a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14; >= 886503f34d63e681662057448819edb5b1057a97, < 7ca0706c68adadf86a36b60dca090f5e9481e808; >= 886503f34d63e681662057448819edb5b1057a97, < d59b6fc405549f7caf31f6aa5da1d6bef746b166; >= 886503f34d63e681662057448819edb5b1057a97, < d95c8420efe684b964e3aa28108e9a354bcd7225; >= 886503f34d63e681662057448819edb5b1057a97, < 050d91c03b28ca479df13dfb02bcd2c60dd6a878; 186642845b02e1a7944ef33c3a3ac41eba77517f; … | — | cvelist |
| Linux | 4.20 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53179. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53179.md Affected: Linux >= 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, < 7935b636dd693dfe4483cfef4a1e91366c8103fa; >= cb3e590df429ce151d5041884a4947099b8ad6a7, < e632d09dffc68b9602d6893a99bfe3001d36cefc; >= 886503f34d63e681662057448819edb5b1057a97, < 109e830585e89a03d554bf8ad0e668630d0a6260; >= 886503f34d63e6816620574… Fixed in: Linux 7935b636dd693dfe4483cfef4a1e91366c8103fa, Linux 109e830585e89a03d554bf8ad0e668630d0a6260, Linux 83091f8ac03f118086596f17c9a52d31d6ca94b3, Linux 7ca0706c68adadf86a36b60dca090f5e9481e808, Linux 050d91c03b28ca479df13dfb02bcd2c60dd6a878 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2023-53179 being exploited?
There is no confirmed exploitation: CVE-2023-53179 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53179?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53179?
Linux >= 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, < 7935b636dd693dfe4483cfef4a1e91366c8103fa; >= cb3e590df429ce151d5041884a4947099b8ad6a7, < e632d09dffc68b9602d6893a99bfe3001d36cefc; >= 886503f34d63e681662057448819edb5b1057a97, < 109e830585e89a03d554bf8ad0e668630d0a6260; >= 886503f34d63e681662057448819edb5b1057a97, < 83091f8ac03f118086596f17c9a52d31d6ca94b3; >= 886503f34d63e681662057448819edb5b1057a97, < a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14; >= 886503f34d63e681662057448819edb5b1057a97, < 7ca0706c68adadf86a36b60dca090f5e9481e808; >= 886503f34d63e681662057448819edb5b1057a97, < d59b6fc405549f7caf31f6aa5da1d6bef746b166; >= 886503f34d63e681662057448819edb5b1057a97, < d95c8420efe684b964e3aa28108e9a354bcd7225; >= 886503f34d63e681662057448819edb5b1057a97, < 050d91c03b28ca479df13dfb02bcd2c60dd6a878; 186642845b02e1a7944ef33c3a3ac41eba77517f; …; Linux 4.20.
Is there a fix for CVE-2023-53179?
Yes. Fixed in Linux 7935b636dd693dfe4483cfef4a1e91366c8103fa, Linux 109e830585e89a03d554bf8ad0e668630d0a6260, Linux 83091f8ac03f118086596f17c9a52d31d6ca94b3, Linux 7ca0706c68adadf86a36b60dca090f5e9481e808, Linux 050d91c03b28ca479df13dfb02bcd2c60dd6a878. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53179?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.