cve.bz

CVE-2023-42756 Race Condition

4.7 mediumExploit referenceEPSS 0.3%Fix available

Medium (4.7). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-42756 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42756?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42756?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-42756 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:5.14.0-427.13.1.el9_4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.197-1~deb10u1DLA-3623-1
Debian12linux6.1.55-1DEBIAN-CVE-2023-42756
Debian13, 14linux6.5.6-1DEBIAN-CVE-2023-42756
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-42756
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-42756
Ubuntu20.04:LTSlinux5.4.0-165.182UBUNTU-CVE-2023-42756 USN-6441-1
Ubuntu20.04:LTSlinux-aws5.4.0-1112.121UBUNTU-CVE-2023-42756 USN-6441-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1048.53~20.04.1UBUNTU-CVE-2023-42756 USN-6446-1
Ubuntu20.04:LTSlinux-azure5.4.0-1118.125UBUNTU-CVE-2023-42756 USN-6441-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1050.57~20.04.1UBUNTU-CVE-2023-42756 USN-6446-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1050.57~20.04.1.1UBUNTU-CVE-2023-42756 USN-6446-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1073.79UBUNTU-CVE-2023-42756 USN-6442-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1116.125UBUNTU-CVE-2023-42756 USN-6441-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1045.53~20.04.2UBUNTU-CVE-2023-42756 USN-6446-2
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-42756
51 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.3.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.3.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-427.13.1.el9_4RHSA-2024:2394
openSUSETumbleweedkernel-source6.5.6-1.1openSUSE-SU-2024:13305-1
openSUSETumbleweedkernel-source6.6.17-1.1openSUSE-SU-2024:13704-1
AlmaLinux9bpftool7.3.0-427.13.1.el9_4ALSA-2024:2394
AlmaLinux9rv, perf, rtla and 58 more5.14.0-427.13.1.el9_4ALSA-2024:2394
Azure Linux2kernel5.15.135.1-2AZL-30055
Alpaquitastreamlinux-lts6.1.56-r0BELL-CVE-2023-42756

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 6, 7 and 8 are not affected by this CVE as they did not include the upstream commit that introduced this flaw: https://github.com/torvalds/linux/commit/24e2278. The same holds true for Red Hat Enterprise Linux 9 prior to version 9.3, meaning that this CVE only affects RHEL 9.3 and later versions.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.13.1.el9_4Fixed 2024-04-30RHSA-2024:2394
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-42756.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON