CVE-2023-4208
Last modified
CVE-2023-4208 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. A use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component can be exploited to achieve local privilege escalation. When u32_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 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
A use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component can be exploited to achieve local privilege escalation. When u32_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 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.18, < 4.14.322 |
| Linux | Linux Kernel | >= 4.15, < 4.19.291 |
| Linux | Linux Kernel | >= 4.20, < 5.4.253 |
| Linux | Linux Kernel | >= 5.5, < 5.10.190 |
| Linux | Linux Kernel | >= 5.11, < 5.15.126 |
| Linux | Linux Kernel | >= 5.16, < 6.1.45 |
| Linux | Linux Kernel | >= 6.2, < 6.4.10 |
| Debian | Debian Linux | 12.0 |
References
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.htmlThird Party Advisory
- https://www.debian.org/security/2023/dsa-5492Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.htmlThird Party Advisory
- https://www.debian.org/security/2023/dsa-5492Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-4208?
How severe is CVE-2023-4208?
How do I fix CVE-2023-4208?
Are you affected by CVE-2023-4208?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
