PT-2024-5431 · Linux+6 · Linux Kernel+6

·

CVE-2024-39486

·

Published

2024-06-28

·

Updated

2026-08-04

CVSS v3.1

7.8

High

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-13979
BDU:2024-06080
CVE-2024-39486
INFSA-2024_9315
MGASA-2024-0263
MGASA-2024-0266
OESA-2024-1960
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu