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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-06 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2023-4208, DEBIAN-CVE-2023-4208
- Record: https://cvemate.com/vulnerability/CVE-2023-4208 · JSON: https://cvemate.com/vulnerability/CVE-2023-4208/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.315%, percentile 26.291%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 109)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.11-1
- ubuntu linux (Ubuntu): \< 4.4.0-245.279 \| \< 4.15.0-218.229 \| \< 5.4.0-163.180 \| \< 5.15.0-84.93
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1123.129 \| \< 4.4.0-1161.176 \| \< 4.15.0-1161.174 \| \< 5.4.0-1110.119 \| \< 5.15.0-1045.50
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1045.50~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1110.119~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): \< 6.2.0-1012.12~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2100.106 \| All versions (No fix recorded) \| \< 5.4.0-1110.119+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1161.174~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1170.185~14.04.1 \| \< 4.15.0-1170.185~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1116.123 \| \< 5.15.0-1047.54
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1170.185
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1047.54~20.04.1

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81>
- <https://kernel.dance/3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81>
- <https://www.debian.org/security/2023/dsa-5492>
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html>
- <https://ubuntu.com/security/CVE-2023-4208>
- <https://git.kernel.org/linus/3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81>
- <https://www.cve.org/CVERecord?id=CVE-2023-4208>
- <https://security-tracker.debian.org/tracker/CVE-2023-4208>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4208>

---

Data as of 2026-12-05T02:49:55.463Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
