PT-2024-32248 · Linux+2 · Linux Kernel+2
Tobias Jakobi
·
Published
2024-09-10
·
Updated
2025-01-09
·
CVE-2024-46850
CVSS v3.1
4.7
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A race condition has been identified between
dcn35 set drr() and dc state destruct() in the Linux kernel's AMD display module. The issue arises when dc state destruct() nulls the resource context of the DC state, and the pipe context passed to dcn35 set drr() is a member of this resource context. If dc state destruct() is called in parallel with IRQ processing, which calls dcn35 set drr(), it can result in using already nulled function callback fields of struct stream resource. The logic in dcn35 set drr() attempts to avoid this by checking tg against NULL, but a race can still occur if the nulling happens after the NULL check and before the next access. To resolve this, the code now copies tg to a local variable and uses this variable for all operations.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu