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

- Severity: High 7.8 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-02)
- Published: 2023-09-06T13:53:23.843Z
- Modified: 2026-06-17T06:37:19.093Z
- Weaknesses: CWE-416
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- kernel: from 3.18 before 6.5
- linux linux_kernel: from 3.18 before 4.14.322; from 4.15 before 4.19.291; from 4.20 before 5.4.253; from 5.5 before 5.10.190; from 5.11 before 5.15.126; from 5.16 before 6.1.45; from 6.2 before 6.4.10
- debian debian_linux: 12.0

## Every score

- Google: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81> (patch, vendor-advisory)
- <https://kernel.dance/3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81> (vendor-advisory)
- <https://www.debian.org/security/2023/dsa-5492> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-4208](https://www.cve.org/CVERecord?id=CVE-2023-4208), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-4208](https://nvd.nist.gov/vuln/detail/CVE-2023-4208), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4208 · Whole record: https://cve.day/CVE-2023-4208.json · Rebuilt by cve.day 2026-11-25T22:58:27.723Z
