{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23413","id":"CVE-2026-23413","title":"clsact: Fix use-after-free in init/destroy rollback asymmetry","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nclsact: Fix use-after-free in init/destroy rollback asymmetry\n\nFix a use-after-free in the clsact qdisc upon init/destroy rollback asymmetry.\nThe latter is achieved by first fully initializing a clsact instance, and\nthen in a second step having a replacement failure for the new clsact qdisc\ninstance. clsact_init() initializes ing","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nclsact: Fix use-after-free in init/destroy rollback asymmetry\n\nFix a use-after-free in the clsact qdisc upon init/destroy rollback asymmetry.\nThe latter is achieved by first fully initializing a clsact instance, and\nthen in a second step having a replacement failure for the new clsact qdisc\ninstance. clsact_init() initializes ingress first and then takes care of the\negress part. This can fail midway, for example, via tcf_block_get_ext(). Upon\nfailure, the kernel will trigger the clsact_destroy() callback.\n\nCommit 1cb6f0bae504 (\"bpf: Fix too early release of tcx_entry\") details the\nway how the transition is happening. If tcf_block_get_ext on the q->ingress_block\nends up failing, we took the tcx_miniq_inc reference count on the ingress\nside, but not yet on the egress side. clsact_destroy() tests whether the\n{ingress,egress}_entry was non-NULL. However, even in midway failure on the\nreplacement, both are in fact non-NULL with a valid egress_entry from the\nprevious clsact instance.\n\nWhat we really need to test for is whether the qdisc instance-specific ingress\nor egress side previously got initialized. This adds a small helper for checking\nthe miniq initialization called mini_qdisc_pair_inited, and utilizes that upon\nclsact_destroy() in order to fix the use-after-free scenario. Convert the\ningress_destroy() side as well so both are consistent to each other.","published":"2026-04-02T11:40:54.384Z","updated":"2026-11-17T07:01:00.183415654Z","reserved":"2026-01-13T15:37:46.014Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"230bb13650b0f186f540500fd5f5f7096a822a2a","lessThan":"a73d95b57bf9faebdfed591bcb7ed9292062a84c","status":"affected","versionType":"git"},{"version":"1cb6f0bae50441f4b4b32a28315853b279c7404e","lessThan":"37bef86e5428d59f70a4da82b80f9a8f252fecbe","status":"affected","versionType":"git"},{"version":"1cb6f0bae50441f4b4b32a28315853b279c7404e","lessThan":"4c9af67f99aa3e51b522c54968ab3ac8272be41c","status":"affected","versionType":"git"},{"version":"1cb6f0bae50441f4b4b32a28315853b279c7404e","lessThan":"0509b762bc5e8ea7b8391130730c6d8502fc6e69","status":"affected","versionType":"git"},{"version":"1cb6f0bae50441f4b4b32a28315853b279c7404e","lessThan":"a0671125d4f55e1e98d9bde8a0b671941987e208","status":"affected","versionType":"git"},{"version":"f61ecf1bd5b562ebfd7d430ccb31619857e80857","status":"affected","versionType":"git"},{"version":"6.6.41","lessThan":"6.6.130","status":"affected","versionType":"semver"},{"version":"6.9.10","lessThan":"6.10","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.6.130","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.78","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.20","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.10","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a73d95b57bf9faebdfed591bcb7ed9292062a84c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/37bef86e5428d59f70a4da82b80f9a8f252fecbe","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4c9af67f99aa3e51b522c54968ab3ac8272be41c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0509b762bc5e8ea7b8391130730c6d8502fc6e69","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a0671125d4f55e1e98d9bde8a0b671941987e208","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23413.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23413","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00164,"epssPercentile":0.05743,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23413","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23413","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23413","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-23413","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}