PT-2024-34020 · Linux+7 · Linux Kernel+7

Published

2024-10-04

·

Updated

2026-05-26

·

CVE-2024-50187

CVSS v3.1

5.5

Medium

VectorAV: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 (affected versions not specified)
Description: A vulnerability in the Linux kernel's drm/vc4 code has been resolved. The issue occurred when a file descriptor was closed, and the active performance monitor was not stopped. Although all performance monitors were destroyed in vc4 perfmon close file(), the active performance monitor's pointer (vc4->active perfmon) was still retained. If a new file descriptor was opened and jobs with performance monitors were submitted, the driver would attempt to stop the active performance monitor using the stale pointer in vc4->active perfmon. However, this pointer was no longer valid because the previous process had already terminated, and all performance monitors associated with it had been destroyed and freed.
Recommendations: To fix this issue, when the active performance monitor belongs to a given process, explicitly stop it before destroying and freeing it. As a temporary workaround, consider disabling the vc4 perfmon close file() function until a patch is available. Restrict access to the vulnerable drm/vc4 module to minimize the risk of exploitation. Avoid using the vc4->active perfmon pointer in the affected code until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-17211
ALT-PU-2025-12647
AZL-53723
BDU:2025-07911
CVE-2024-50187
DLA-4008-1
OESA-2024-2522
OESA-2024-2533
OESA-2024-2534
OESA-2024-2536
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4315-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2024_4376-1
OPENSUSE-SU-2025:14705-1
SUSE-SU-2024:4314-1
SUSE-SU-2024:4315-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4367-1
SUSE-SU-2024:4376-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:0035-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7383-1
USN-7383-2
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1
USN-7451-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu