CVE-2026-23413
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2026-23413 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.6.41,
6.9.10,
6.10
and later are affected. Fixed in
6.6.130,
6.12.78,
6.18.20,
6.19.10,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-23413 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0509b762bc5e8ea7b8391130730c6d8502fc6e69
-
PatchKernel patch commithttps://git.kernel.org/stable/c/37bef86e5428d59f70a4da82b80f9a8f252fecbe
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4c9af67f99aa3e51b522c54968ab3ac8272be41c
Frequently asked questions
-
What is CVE-2026-23413?
CVE-2026-23413 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 6.6.41 onward and has been patched in 6.6.130, 6.12.78, 6.18.20 and others. CVE-2026-23413 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-23413?
CVE-2026-23413 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2026-23413?
Yes — CVE-2026-23413 has been patched. Fixed versions include 6.6.130, 6.12.78, 6.18.20 and others. If you are running Linux kernel 6.6.41 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-23413 actively exploited?
No — CVE-2026-23413 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →