CVE-2023-4208
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel's net/sched: cls_u32 component that can be exploited to achieve local privilege escalation. The vulnerability was identified in September 2023 and affects Linux kernel versions prior to the fix implemented in commit 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81. The issue occurs when u32_change() is called on an existing filter, where the tcf_result struct is copied into the new instance of the filter (Kernel Commit).

Technical details

The vulnerability stems from a design flaw where 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 condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can be exploited to achieve local privilege escalation. By using unprivileged user namespaces, attackers can potentially elevate their privileges on the affected system. The issue affects multiple Linux distributions and versions, including various Ubuntu releases and Debian systems (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel commit 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81. The fix involves no longer copying the tcf_result struct from the old filter. Multiple Linux distributions have released patches, including Ubuntu and Debian. Users are strongly recommended to upgrade their kernel to versions containing the fix (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management