CVE-2026-23421
Received Received - Intake
Memory Leak in Linux Kernel drm/xe Configfs Component Fixed

Publication date: 2026-04-03

Last updated on: 2026-04-24

Assigner: kernel.org

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)
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-03
Last Modified
2026-04-24
Generated
2026-05-07
AI Q&A
2026-04-04
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 10 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.18
linux linux_kernel From 6.18.1 (inc) to 6.18.17 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.7 (exc)
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the drm/xe/configfs memory leak issue. This fix ensures that the ctx_restore_mid_bb memory is properly freed when the configfs device is removed, preventing memory leaks.

If updating immediately is not possible, avoid removing the configfs device related to drm/xe until a patch is applied, as the vulnerability occurs during device release.


Can you explain this vulnerability to me?

This vulnerability is related to the Linux kernel's drm/xe/configfs component. Specifically, it involves improper memory management where a certain allocated memory (ctx_restore_mid_bb) is not freed properly when the configfs device is removed. The function wa_bb_store() allocates this memory, but the release function xe_config_device_release() only frees a different memory allocation (ctx_restore_post_bb), leading to a memory leak.


How can this vulnerability impact me? :

The impact of this vulnerability is a memory leak in the Linux kernel's drm/xe/configfs subsystem. Over time, this could lead to increased memory usage and potentially degrade system performance or stability, especially on systems that frequently add and remove configfs devices.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart