# CVE-2026-23421: drm/xe/configfs: Free ctx_restore_mid_bb in release

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-04-03T13:24:30.548Z
- Modified: 2026-11-05T22:18:25.647Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/configfs: Free ctx_restore_mid_bb in release

ctx_restore_mid_bb memory is allocated in wa_bb_store(), but
xe_config_device_release() only frees ctx_restore_post_bb.

Free ctx_restore_mid_bb[0].cs as well to avoid leaking the allocation
when the configfs device is removed.

(cherry picked from commit a235e7d0098337c3f2d1e8f3610c719a589e115f)

(As written by CVE List.)

## Affected

- Linux Linux: from b30d5de3d40c3fa642079bac0d91f17091c5f877 before 7f971dfd48983074adc7bbcea3ee95ce7aad47cb; from b30d5de3d40c3fa642079bac0d91f17091c5f877 before 3557359ea3df32430ea7c30f7a708ca9a91d7e0e; from b30d5de3d40c3fa642079bac0d91f17091c5f877 before e377182f0266f46f02d01838e6bde67b9dac0d66; 6.18 (not affected: before 6.18; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18.1 before 6.18.17; from 6.19 before 6.19.7; 6.18; 7.0

## References

- <https://git.kernel.org/stable/c/7f971dfd48983074adc7bbcea3ee95ce7aad47cb> (patch)
- <https://git.kernel.org/stable/c/3557359ea3df32430ea7c30f7a708ca9a91d7e0e> (patch)
- <https://git.kernel.org/stable/c/e377182f0266f46f02d01838e6bde67b9dac0d66> (patch)

## Sources

- CVE List: [CVE-2026-23421](https://www.cve.org/CVERecord?id=CVE-2026-23421), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23421](https://nvd.nist.gov/vuln/detail/CVE-2026-23421), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23421 · Whole record: https://cve.day/CVE-2026-23421.json · Rebuilt by cve.day 2026-11-25T22:59:17.865Z
