{
  "id": "CVE-2026-23413",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-23413",
  "published_at": "2026-04-02T11:40:54.384Z",
  "title": "clsact: Fix use-after-free in init/destroy rollback asymmetry",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 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-\u003eingress_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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.10:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 230bb13650b0f186f540500fd5f5f7096a822a2a, \u003c a73d95b57bf9faebdfed591bcb7ed9292062a84c",
          "\u003e= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \u003c 37bef86e5428d59f70a4da82b80f9a8f252fecbe",
          "\u003e= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \u003c 4c9af67f99aa3e51b522c54968ab3ac8272be41c",
          "\u003e= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \u003c 0509b762bc5e8ea7b8391130730c6d8502fc6e69",
          "\u003e= 1cb6f0bae50441f4b4b32a28315853b279c7404e, \u003c a0671125d4f55e1e98d9bde8a0b671941987e208",
          "f61ecf1bd5b562ebfd7d430ccb31619857e80857",
          "\u003e= 6.6.41, \u003c 6.6.130",
          "\u003e= 6.9.10, \u003c 6.10"
        ],
        "fixed_in": [
          "a73d95b57bf9faebdfed591bcb7ed9292062a84c",
          "37bef86e5428d59f70a4da82b80f9a8f252fecbe",
          "4c9af67f99aa3e51b522c54968ab3ac8272be41c",
          "0509b762bc5e8ea7b8391130730c6d8502fc6e69",
          "a0671125d4f55e1e98d9bde8a0b671941987e208",
          "6.6.130",
          "6.10"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.10"
        ],
        "fixed_in": [
          "0",
          "6.6.130",
          "6.12.78",
          "6.18.20",
          "6.19.10",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a73d95b57bf9faebdfed591bcb7ed9292062a84c or 37bef86e5428d59f70a4da82b80f9a8f252fecbe or 4c9af67f99aa3e51b522c54968ab3ac8272be41c or 0509b762bc5e8ea7b8391130730c6d8502fc6e69 or a0671125d4f55e1e98d9bde8a0b671941987e208 or 6.6.130 or 6.10 or later.",
      "Upgrade Linux to 0 or 6.6.130 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
