PT-2024-5431 · Linux+6 · Linux Kernel+6
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 race condition exists in the
drm file update pid() function within the drivers/gpu/drm/drm file.c module of the Linux kernel video driver. The issue occurs because the function increments the reference count of a struct pid only after storing a pointer to it in filp->pid and releasing the dev->filelist mutex. This sequence allows a use-after-free (UAF) scenario where a struct pid is freed while another process attempts to access it via get pid(). This condition is specifically associated with CONFIG PREEMPT RCU=y, as it requires Read-Copy-Update (RCU)—a synchronization mechanism used to protect shared data from simultaneous access—to detect a quiescent state in code not explicitly calling the scheduler. Exploitation of this issue could impact the confidentiality, integrity, and availability of protected information.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Race Condition
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu