# CVE-2026-23413: clsact: Fix use-after-free in init/destroy rollback asymmetry

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-04-02T11:40:54.384Z
- **Modified:** 2026-10-19T19:17:47.147Z

## Who should check

- Anyone running Linux \>= 230bb13650b0f186f540500fd5f5f7096a822a2a, \< a73d95b57bf9faebdfed591bcb7ed9292062a84c; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 37bef86e5428d59f70a4da82b80f9a8f252fecbe; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 4c9af67f99aa3e51b522c54968ab3ac8272be41c; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 0509b762bc5e8ea7b8391130730c6d8502fc6e69; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< a0671125d4f55e1e98d9bde8a0b671941987e208; f61ecf1bd5b562ebfd7d430ccb31619857e80857; \>= 6.6.41, \< 6.6.130; \>= 6.9.10, \< 6.10
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

clsact: Fix use-after-free in init/destroy rollback asymmetry

Fix a use-after-free in the clsact qdisc upon init/destroy rollback asymmetry.
The latter is achieved by first fully initializing a clsact instance, and
then in a second step having a replacement failure for the new clsact qdisc
instance. clsact\_init() initializes ingress first and then takes care of the
egress part. This can fail midway, for example, via tcf\_block\_get\_ext(). Upon
failure, the kernel will trigger the clsact\_destroy() callback.

Commit 1cb6f0bae504 ("bpf: Fix too early release of tcx\_entry") details the
way how the transition is happening. If tcf\_block\_get\_ext on the q-\>ingress\_block
ends up failing, we took the tcx\_miniq\_inc reference count on the ingress
side, but not yet on the egress side. clsact\_destroy() tests whether the
{ingress,egress}\_entry was non-NULL. However, even in midway failure on the
replacement, both are in fact non-NULL with a valid egress\_entry from the
previous clsact instance.

What we really need to test for is whether the qdisc instance-specific ingress
or egress side previously got initialized. This adds a small helper for checking
the miniq initialization called mini\_qdisc\_pair\_inited, and utilizes that upon
clsact\_destroy() in order to fix the use-after-free scenario. Convert the
ingress\_destroy() side as well so both are consistent to each other.

## Affected and fixed versions

- Linux: \>= 230bb13650b0f186f540500fd5f5f7096a822a2a, \< a73d95b57bf9faebdfed591bcb7ed9292062a84c; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 37bef86e5428d59f70a4da82b80f9a8f252fecbe; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 4c9af67f99aa3e51b522c54968ab3ac8272be41c; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 0509b762bc5e8ea7b8391130730c6d8502fc6e69; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< a0671125d4f55e1e98d9bde8a0b671941987e208; f61ecf1bd5b562ebfd7d430ccb31619857e80857; \>= 6.6.41, \< 6.6.130; \>= 6.9.10, \< 6.10 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 6.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23413. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23413.md
Affected: Linux >= 230bb13650b0f186f540500fd5f5f7096a822a2a, < a73d95b57bf9faebdfed591bcb7ed9292062a84c; >= 1cb6f0bae50441f4b4b32a28315853b279c7404e, < 37bef86e5428d59f70a4da82b80f9a8f252fecbe; >= 1cb6f0bae50441f4b4b32a28315853b279c7404e, < 4c9af67f99aa3e51b522c54968ab3ac8272be41c; >= 1cb6f0bae50441f4b4b32a2…
Fixed in: Linux 37bef86e5428d59f70a4da82b80f9a8f252fecbe, Linux 4c9af67f99aa3e51b522c54968ab3ac8272be41c, Linux 0509b762bc5e8ea7b8391130730c6d8502fc6e69, Linux 6.6.130, Linux 6.10

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23413 being exploited?

There is no confirmed exploitation: CVE-2026-23413 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23413?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23413?

Linux \>= 230bb13650b0f186f540500fd5f5f7096a822a2a, \< a73d95b57bf9faebdfed591bcb7ed9292062a84c; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 37bef86e5428d59f70a4da82b80f9a8f252fecbe; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 4c9af67f99aa3e51b522c54968ab3ac8272be41c; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< 0509b762bc5e8ea7b8391130730c6d8502fc6e69; \>= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \< a0671125d4f55e1e98d9bde8a0b671941987e208; f61ecf1bd5b562ebfd7d430ccb31619857e80857; \>= 6.6.41, \< 6.6.130; \>= 6.9.10, \< 6.10; Linux 6.10.

### Is there a fix for CVE-2026-23413?

Yes. Fixed in Linux 37bef86e5428d59f70a4da82b80f9a8f252fecbe, Linux 4c9af67f99aa3e51b522c54968ab3ac8272be41c, Linux 0509b762bc5e8ea7b8391130730c6d8502fc6e69, Linux 6.6.130, Linux 6.10. Upgrade Linux to 6.10 or later.

### How do I check if I'm affected by CVE-2026-23413?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a73d95b57bf9faebdfed591bcb7ed9292062a84c>
- patch: <https://git.kernel.org/stable/c/37bef86e5428d59f70a4da82b80f9a8f252fecbe>
- patch: <https://git.kernel.org/stable/c/4c9af67f99aa3e51b522c54968ab3ac8272be41c>
- patch: <https://git.kernel.org/stable/c/0509b762bc5e8ea7b8391130730c6d8502fc6e69>
- patch: <https://git.kernel.org/stable/c/a0671125d4f55e1e98d9bde8a0b671941987e208>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23413>

HTML: <https://flawdb.com/CVE-2026-23413> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23413>
