CVE-2026-23413
clsact: Fix use-after-free in init/destroy rollback asymmetry
Reported by linux · Published April 2, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-headers | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel-livepatch-6.12.79-101.147 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.18-libbpf-devel | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel-livepatch-6.18.20-20.229 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| Linux | Linux | a73d95b57bf9faebdfed591bcb7ed9292062a84c, 6.10, 0509b762bc5e8ea7b8391130730c6d8502fc6e69 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 230bb13650b0f186f540500fd5f5f7096a822a2a, 1cb6f0bae50441f4b4b32a28315853b279c7404e, 1cb6f0bae50441f4b4b32a28315853b279c7404e |
| Linux | Linux | 6.10, 0, 6.6.130 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.79-101.147 | 0 |
| amazon:2023 | kernel6.18-libbpf-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.20-20.229 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.9.10, 6.10, 6.10 |
| amazon:2023 | bpftool6.12 | 0 |
| Linux | Linux | 6.9.10, 230bb13650b0f186f540500fd5f5f7096a822a2a, 1cb6f0bae50441f4b4b32a28315853b279c7404e |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
…and 12 more
Timeline
- Apr 2, 2026 CVE Published
- Apr 2, 2026 PoC Published
- Apr 2, 2026 Security Advisory (100 in total, the first dated here)
- May 18, 2026 EPSS Score (23 in total, the first dated here)
- Jun 11, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (93 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-23413
vulnetix vdb fixes CVE-2026-23413
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23413/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart