# CVE-2023-42756: Kernel: netfilter: race condition between ipset_cmd_add and ipset_cmd_swap

- Severity: Medium 4.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-09-28T13:55:37.430Z
- Modified: 2026-11-26T20:17:19.800Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel: no versions given (not affected: from 0:5.14.0-427.13.1.el9_4 before *)
- kernel-rt: no versions given
- linux linux_kernel: before 6.6; 6.6
- redhat enterprise_linux: 9.0
- debian debian_linux: 10.0
- fedoraproject fedora: 37; 38; 39

## Every score

- redhat: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2239848> (exploit, issue-tracking, patch, third-party-advisory)
- <https://seclists.org/oss-sec/2023/q3/242> (exploit, mailing-list, patch, third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2394> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-42756> (patch, third-party-advisory, vdb-entry)
- <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/>

## Sources

- CVE List: [CVE-2023-42756](https://www.cve.org/CVERecord?id=CVE-2023-42756), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-42756](https://nvd.nist.gov/vuln/detail/CVE-2023-42756), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2023-42756 · Whole record: https://cve.day/CVE-2023-42756.json · Rebuilt by cve.day 2026-11-26T20:32:32.481Z
