CVE-2023-4208

Use-after-free in Linux kernel's net/sched: cls_u32 component

HIGH
7.8
CVSS Score
Published: September 6, 2023 at 01:53 PM UTC
Updated: June 17, 2026 at 06:37 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Kernel by Linux?

Get instant alerts when new vulnerabilities affect Kernel - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.18 ≤ v < 4.14.3223.18 ≤ v < 6.54.15 ≤ v < 4.19.2914.20 ≤ v < 5.4.2535.11 ≤ v < 5.15.1265.16 ≤ v < 6.1.455.5 ≤ v < 5.10.1906.2 ≤ v < 6.4.103.18
Affected range stops below 4.14.322, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.19.291, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.10.190, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.15.126, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.253, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.45, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

7.8HIGHGoogle
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card