CVE-2023-1829: Local Privilege Escalation in Linux Kernel tcindex
- Vendor
- Linux
CVE-2023-1829 is a use-after-free vulnerability in the Linux kernel tcindex traffic-control classifier. When tcindex_delete() deletes a perfect-hash filter with actions, it fails to remove or deactivate the filter before destroying its extensions. The cleanup frees the actions allocation while leaving a reachable stale pointer. Subsequent chain destruction can free the same allocation again, creating a double-free condition exploitable for local privilege escalation to root. Exploitation has been demonstrated on Ubuntu 22.04 with kernel 5.15.0-25.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a local attacker to escalate privileges to root, compromising system confidentiality and integrity. The memory-corruption condition can also enable kernel memory disclosure, unauthorized code execution, and denial of service.
Mitigation
If you can’t patch tonight, do this now.
Prevent the cls_tcindex kernel module from loading, particularly on affected RHEL 7 systems for which Red Hat recommends this workaround. Ensure the vulnerable classifier is not already active; preventing future module loading alone does not disable an already loaded implementation. Restricting unprivileged user and network namespace creation can block the demonstrated route to namespace-scoped CAP_NET_ADMIN, but does not address attackers who already possess the necessary traffic-control privileges.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update incorporating upstream commit 8c710f75256bb3cf05ac7b1672c82b92c43f3d28 or an equivalent backported fix. The upstream remediation removes the vulnerable tcindex implementation from the build. Red Hat provides fixes through applicable kernel, kernel-rt, and kpatch-patch advisories. Reboot after a conventional kernel update; a supported live patch can update the running kernel without a reboot.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-1829 exploited in the wild?
- As of Oct 19, 2026, Mallory has no reports of CVE-2023-1829 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-1829?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-1829, the earliest disclosed Jun 15, 2023.
- Is there a patch for CVE-2023-1829?
- Install a vendor-supported kernel update incorporating upstream commit 8c710f75256bb3cf05ac7b1672c82b92c43f3d28 or an equivalent backported fix. The upstream remediation removes the vulnerable tcindex implementation from the build.
- What products are affected by CVE-2023-1829?
- Linux Kernel.
- How severe is CVE-2023-1829?
- CVE-2023-1829 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.67% (47th percentile) as of Oct 19, 2026.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.