Vulnerability in Linux
CVE-2024-50187
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Stop the active perfmon before being destroyed Upon closing the file descriptor, the active performance monitor is not stopped. Although all perfmons are destroyed in `vc4_perfmon_close_file()`, the active performance monitor's pointer (`vc4->active_perfmon`) is still retained. If we open a new file descriptor and submit a few jobs with performance monitors, the driver will attempt to stop the active performance monitor using the stale pointer in `vc4->active_perfmon`. However, this pointer is no longer valid because the previous process has already terminated, and all performance monitors associated with it have been destroyed and freed. To fix this, when the active performance monitor belongs to a given process, explicitly stop it before destroying and freeing it.
EPSS: 0.002 (14.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 65101d8c9108201118efa7e08f4e2c57f438deb9, 4.17, 0
- Linux Linux_kernel — versions 6.12
References
Frequently asked questions
- What is CVE-2024-50187?
- CVE-2024-50187 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2024-11-08.
- How severe is CVE-2024-50187?
- High severity. CVSS v3 base score is 7.8 out of 10.