VDB

CVE-2026-23413

CVE-2026-23413 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.79-101.147.amzn2023
kernel-livepatch-6.12.79-101.147Amazon Linux1:1.0-0.amzn2023
kernel6.18-libbpf-develAmazon Linux1:6.18.20-20.229.amzn2023
kernel6.12Amazon Linux1:6.12.79-101.147.amzn2023
kernel6.12-develAmazon Linux1:6.12.79-101.147.amzn2023
kernel-livepatch-6.18.20-20.229Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.79-101.147.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.79-101.147.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.20-20.229.amzn2023
LinuxLinuxa73d95b57bf9faebdfed591bcb7ed9292062a84c, 6.10, 0509b762bc5e8ea7b8391130730c6d8502fc6e69

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux230bb13650b0f186f540500fd5f5f7096a822a2a, 1cb6f0bae50441f4b4b32a28315853b279c7404e, 1cb6f0bae50441f4b4b32a28315853b279c7404e
LinuxLinux6.10, 0, 6.6.130
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.12.79-101.1470
amazon:2023kernel6.18-libbpf-devel0
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.18.20-20.2290
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel6.9.10, 6.10, 6.10
amazon:2023bpftool6.120
LinuxLinux6.9.10, 230bb13650b0f186f540500fd5f5f7096a822a2a, 1cb6f0bae50441f4b4b32a28315853b279c7404e
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.18-libbpf-static0
amazon:2023python3-perf6.180
amazon:2023perf6.120
amazon:2023python3-perf6.120

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›