PT-2024-33989 · Linux+6 · Linux Kernel+6
Published
2024-11-07
·
Updated
2025-10-03
·
CVE-2024-50156
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel versions prior to 6.6.61
Description:
A vulnerability in the Linux kernel has been resolved, specifically in the drm/msm section. The issue was a NULL dereference in the
msm disp state print regs() function. If the allocation in msm disp state dump regs() failed, then block->state can be NULL. The function has code to handle this, but it is ineffective due to the initialization of dump addr to NULL. To solve this, the function now prints "Registers not stored" when it encounters a NULL. Additionally, the msm disp state print regs() function has been fixed to not pointlessly take a double-pointer and to properly mark the pointer as const.Recommendations:
For Linux kernel versions prior to 6.6.61, update to version 6.6.61 or later to resolve the issue. As a temporary workaround, consider modifying the
msm disp state print regs() function to handle NULL values correctly, or restrict access to the vulnerable function until a patch is available.Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu