Use After Free in Linux Kernel
CVE-2023-4207
A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. When fw_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free. We recommend upgrading past commit 76e42ae831991c828cffa8c37736ebfb831ad5ec.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (23.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 23.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Linux Kernel — versions 3.18
- Linux Kernel
- Debian Linux — versions 12.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Mailing List, patch, Issue Tracking, Vendor Advisory)
- kernel.dance/76e42ae831991c828cffa8c37736ebfb831ad5ec (Patch, Vendor Advisory)
- www.debian.org/security/2023/dsa-5492 (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/01/msg00004.html (Mailing List, VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2023-4207?
- CVE-2023-4207 is a high-severity vulnerability in Linux Kernel, classified under Use After Free. CVSS score: 7.8/10. Published 2023-09-06.
- How severe is CVE-2023-4207?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2023-4207 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.