CVE-2023-4207: Linux Kernel cls_fw Use-After-Free Local Privilege Escalation
- Vendors
- Debian ProjectLinux
CVE-2023-4207 is a use-after-free vulnerability in the Linux kernel's cls_fw traffic-control classifier. When fw_change() updates an existing filter, it copies the entire tcf_result structure into the replacement filter. For a filter bound to a traffic-control class, the successful update path calls tcf_unbind_filter() on the old filter, decrementing the class's filter_cnt even though the replacement filter still references that class. This accounting error permits deletion of a still-referenced class, leaving a dangling reference that can lead to a system crash or local privilege escalation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local attacker can cause denial of service through a kernel crash or potentially escalate privileges. Successful privilege escalation can compromise system confidentiality and integrity as well as availability. The vulnerability is rated Important by Red Hat and has a CVSS v3.1 score of 7.8.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict access to traffic-control configuration and, where operationally feasible, prevent use or loading of the affected cls_fw classifier. Red Hat also documents blacklisting cls_u32 for the related classifier vulnerability group, but that measure alone should not be assumed to disable the cls_fw-specific vulnerable path. Proposed SKB allocation-isolation hardening is not a substitute for the vulnerability fix; its release status is unconfirmed.
Remediation
Patch, then assume compromise.
Install a kernel containing upstream fix 76e42ae831991c828cffa8c37736ebfb831ad5ec or the distribution's equivalent backport. Applicable Red Hat updates include RHSA-2023:7423 for RHEL 7, RHSA-2023:7077 for RHEL 8, RHSA-2023:6583 for RHEL 9, RHSA-2023:7539 for RHEL 8.8 EUS, and RHSA-2023:7370 for RHEL 9.2 service streams. Reboot into the updated kernel, or apply a vendor-supported live patch explicitly covering this CVE. Verify distribution package advisories rather than relying solely on upstream version strings, since vendors backport fixes.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-4207 exploited in the wild?
- As of Nov 2, 2026, Mallory has no reports of CVE-2023-4207 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-4207?
- As of Nov 2, 2026, Mallory has found no public exploit for CVE-2023-4207.
- Is there a patch for CVE-2023-4207?
- Install a kernel containing upstream fix 76e42ae831991c828cffa8c37736ebfb831ad5ec or the distribution's equivalent backport. Applicable Red Hat updates include RHSA-2023:7423 for RHEL 7, RHSA-2023:7077 for RHEL 8, RHSA-2023:6583 for RHEL 9, RHSA-2023:7539 for RHEL 8.8 EUS, and RHSA-2023:7370 for RHEL 9.2 service streams.
- What products are affected by CVE-2023-4207?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2023-4207?
- CVE-2023-4207 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.35% (21st percentile) as of Nov 2, 2026.
Recent activity
31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.