CVE-2026-23413
clsact: Fix use-after-free in init/destroy rollback asymmetry
Check your servers for CVE-2026-23413
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23413 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.41% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 230bb13650b0f186f540500fd5f5f7096a822a2a, before a73d95b57bf9faebdfed591bcb7ed9292062a84c affected from 1cb6f0bae50441f4b4b32a28315853b279c7404e, before 37bef86e5428d59f70a4da82b80f9a8f252fecbe affected from 1cb6f0bae50441f4b4b32a28315853b279c7404e, before 4c9af67f99aa3e51b522c54968ab3ac8272be41c affected from 1cb6f0bae50441f4b4b32a28315853b279c7404e, before 0509b762bc5e8ea7b8391130730c6d8502fc6e69 affected from 1cb6f0bae50441f4b4b32a28315853b279c7404e, before a0671125d4f55e1e98d9bde8a0b671941987e208 affected f61ecf1bd5b562ebfd7d430ccb31619857e80857 affected from 6.6.41, before 6.6.130 affected from 6.9.10, before 6.10
Other versions: unaffected
|
| Linux |
affected 6.10 unaffected before 6.10 unaffected from 6.6.130 up to and including 6.6.* unaffected from 6.12.78 up to and including 6.12.* unaffected from 6.18.20 up to and including 6.18.* unaffected from 6.19.10 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23413 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23413
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-23413
trivy image --scanners vuln IMAGE | grep CVE-2026-23413
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a73d95b57bf9faebdfed591bcb7ed9292062a84c git.kernel.org
- https://git.kernel.org/stable/c/37bef86e5428d59f70a4da82b80f9a8f252fecbe git.kernel.org
- https://git.kernel.org/stable/c/4c9af67f99aa3e51b522c54968ab3ac8272be41c git.kernel.org
- https://git.kernel.org/stable/c/0509b762bc5e8ea7b8391130730c6d8502fc6e69 git.kernel.org
- https://git.kernel.org/stable/c/a0671125d4f55e1e98d9bde8a0b671941987e208 git.kernel.org
Source: the record CVE-2026-23413 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse