What’s Vulnerable › Vulnerabilities
CVE-2023-42756: Kernel: netfilter: race condition between ipset_cmd_add and ipset_cmd_swap
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-09-28 · updated 2026-11-01
- Weakness: CWE-362
Description
A flaw was found in the Netfilter subsystem of the Linux kernel. A race condition between IPSET_CMD_ADD and IPSET_CMD_SWAP can lead to a kernel panic due to the invocation of `__ip_set_put` on a wrong `set`. This issue may allow a local user to crash the system.
Affected products
- Debian Linux: 10.0 (and their updates)
- Fedoraproject Fedora: 37, 38, 39 (and their updates)
- Linux kernel: before 6.6; 6.6-rc1, 6.6-rc2 — fixed in 6.6
- Red Hat Enterprise Linux: 9.0 (and their updates)
- Red Hat Enterprise Linux 9: all versions — fixed in 0:5.14.0-427.13.1.el9_4
How to fix
Upgrade to a fixed version: Linux kernel 6.6; Red Hat Enterprise Linux 9 0:5.14.0-427.13.1.el9_4. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:2394
- https://access.redhat.com/security/cve/CVE-2023-42756
- https://bugzilla.redhat.com/show_bug.cgi?id=2239848
- https://seclists.org/oss-sec/2023/q3/242
- https://access.redhat.com/errata/RHSA-2024:2394
- https://access.redhat.com/security/cve/CVE-2023-42756
- https://bugzilla.redhat.com/show_bug.cgi?id=2239848
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GISYSL3F6WIEVGHJGLC2MFNTUXHPTKQH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GPMICQ2HVZO5UAM5KPXHAZKA2U3ZDOO6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V5PDNWPKAP3WL5RQZ4RIDS6MG32OHH5R/
- https://seclists.org/oss-sec/2023/q3/242
Get alerted when CVE-2023-42756 or the next vulnerability affects your stack