# CVE-2023-3776: Use-after-free in Linux kernel's net/sched: cls_fw 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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-07-21T20:49:53.667Z
- Modified: 2026-06-17T06:14:50.050Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Google

## Description

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

If tcf_change_indev() fails, fw_set_parms() will immediately return an error after incrementing or decrementing the reference counter in tcf_bind_filter(). If an attacker can control the reference counter and set it to zero, they can cause the reference to be freed, leading to a use-after-free vulnerability.

We recommend upgrading past commit 0323bce598eea038714f941ce2b22541c46d488f.

(As written by CVE List.)

## Affected

- kernel: from 2.6 before 6.5
- linux linux_kernel: from 2.6.12 before 4.14.322; from 4.15 before 4.19.291; from 4.20 before 5.4.251; from 5.5 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.40; from 6.2 before 6.4.5; 6.5
- debian debian_linux: 10.0; 11.0; 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=0323bce598eea038714f941ce2b22541c46d488f> (mailing-list, patch, vendor-advisory)
- <https://kernel.dance/0323bce598eea038714f941ce2b22541c46d488f> (patch, vendor-advisory)
- <https://www.debian.org/security/2023/dsa-5480> (third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5492> (third-party-advisory)
- <http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html> (third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html> (mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html> (third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240202-0003/> (third-party-advisory)

## Sources

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

---

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