{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b30d5de3d40c3fa642079bac0d91f17091c5f877"
            },
            {
              "fixed": "7f971dfd48983074adc7bbcea3ee95ce7aad47cb"
            },
            {
              "fixed": "3557359ea3df32430ea7c30f7a708ca9a91d7e0e"
            },
            {
              "fixed": "e377182f0266f46f02d01838e6bde67b9dac0d66"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.17"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23421.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/configfs: Free ctx_restore_mid_bb in release\n\nctx_restore_mid_bb memory is allocated in wa_bb_store(), but\nxe_config_device_release() only frees ctx_restore_post_bb.\n\nFree ctx_restore_mid_bb[0].cs as well to avoid leaking the allocation\nwhen the configfs device is removed.\n\n(cherry picked from commit a235e7d0098337c3f2d1e8f3610c719a589e115f)",
  "id": "CVE-2026-23421",
  "modified": "2026-07-08T05:37:10.874095127Z",
  "published": "2026-04-03T13:24:30.548Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3557359ea3df32430ea7c30f7a708ca9a91d7e0e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7f971dfd48983074adc7bbcea3ee95ce7aad47cb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e377182f0266f46f02d01838e6bde67b9dac0d66"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23421.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23421"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "drm/xe/configfs: Free ctx_restore_mid_bb in release"
}