{"id":"CVE-2026-23421","summary":"drm/xe/configfs: Free ctx_restore_mid_bb in release","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)","modified":"2026-07-08T07:09:45.904598454Z","published":"2026-04-03T13:24:30.548Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23421.json","cna_assigner":"Linux"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b30d5de3d40c3fa642079bac0d91f17091c5f877"},{"fixed":"7f971dfd48983074adc7bbcea3ee95ce7aad47cb"},{"fixed":"3557359ea3df32430ea7c30f7a708ca9a91d7e0e"},{"fixed":"e377182f0266f46f02d01838e6bde67b9dac0d66"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23421.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23421.json"}}],"schema_version":"1.7.5"}