PT-2024-36962 · Linux+3 · Linux Kernel+3
Lucas De Marchi
·
Published
2024-12-12
·
Updated
2025-09-29
·
CVE-2024-56652
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability in the Linux kernel has been resolved. The issue is related to the drm/xe/reg sr register pool implementation, which does not work correctly. If the krealloc function moves the memory and returns a different address, the entries in the xarray become invalid, leading to a use-after-free error later. This error can occur in the xe reg sr apply mmio function. The vulnerability was identified by the KASAN (Kernel Address Sanitizer) tool.
Recommendations
To resolve the issue, simplify the code to fix the bug. A better pooling strategy may be added back later if needed.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Linux Kernel
Ubuntu