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

Published Sep 6, 2023
·
Updated

A use-after-free vulnerability in the Linux kernel's net/sched: clsu32 component can be exploited to achieve local privilege escalation.

When u32change() is called on an existing filter, the whole tcfresult struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcfunbindfilter() is always called on the old instance in the success path, decreasing filtercnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.

Other sources

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a use-after-free flaw in the net/sched: clsu32 component. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges.

IBM

Affected Software

13 affected componentsFixes available
debian/linux<=4.19.249-2, <=4.19.289-2
5.10.197-15.10.191-16.1.66-16.1.69-16.5.13-16.6.9-1
F5 Traffix SDC>=1<=5, =5.2.0
5.2.0
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
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
Linux Linux kernel<6.5

Event History

Sep 6, 2023
CVE Published
via MITRE·01:53 PM
Data Sourced
via MITRE·01:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 23, 2024
Advisory Published
via F5·12:40 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-4208?

CVE-2023-4208 is a use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component.

2

How can CVE-2023-4208 be exploited?

CVE-2023-4208 can be exploited to achieve local privilege escalation.

3

What is the severity of CVE-2023-4208?

The severity of CVE-2023-4208 is high with a CVSS score of 7.8.

4

Which software is affected by CVE-2023-4208?

Linux Kernel versions up to and including 6.5, Debian Linux 12.0, and specific versions of the linux package from the Debian source are affected by CVE-2023-4208.

5

How do I fix the CVE-2023-4208 vulnerability?

To fix the CVE-2023-4208 vulnerability, upgrade to Linux Kernel version 6.5.3-1 or apply the provided patches for the specific affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203