Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-50187

HIGH 7.8EPSS 17%

drm/vc4: Stop the active perfmon before being destroyed

Mitigation

  • Upgrade Linux to 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22 or later.

Who should check

  • Anyone running Linux >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 75452da51e2403e14be007df80d133e1443fc967; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 937943c042503dc6087438bf3557f9057a588ba0; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < c9adba739d5f7cdc47a7754df4a17b47b1ecf513; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22
  • Anyone running Linux 4.17

Vulnerability facts

Affected
Linux >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 75452da51e2403e14be007df80d133e1443fc967; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 937943c042503dc6087438bf3557f9057a588ba0; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < c9adba739d5f7cdc47a7754df4a17b47b1ecf513; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22; Linux 4.17
Fixed in
Linux 75452da51e2403e14be007df80d133e1443fc967, Linux 937943c042503dc6087438bf3557f9057a588ba0, Linux 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 75452da51e2403e14be007df80d133e1443fc967; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 937943c042503dc6087438bf3557f9057a588ba0; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < c9adba739d5f7cdc47a7754df4a17b47b1ecf513; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22—cvelist
Linux4.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-50187. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50187.md
Affected: Linux >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 75452da51e2403e14be007df80d133e1443fc967; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 937943c042503dc6087438bf3557f9057a588ba0; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < c9adba739d5f7cdc47a7754df4a17b47b1ecf513; >= 65101d8c9108201118efa7e…
Fixed in: Linux 75452da51e2403e14be007df80d133e1443fc967, Linux 937943c042503dc6087438bf3557f9057a588ba0, Linux 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-50187 being exploited?

There is no confirmed exploitation: CVE-2024-50187 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-50187?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-50187?

Linux >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 75452da51e2403e14be007df80d133e1443fc967; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 937943c042503dc6087438bf3557f9057a588ba0; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < c9adba739d5f7cdc47a7754df4a17b47b1ecf513; >= 65101d8c9108201118efa7e08f4e2c57f438deb9, < 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22; Linux 4.17.

Is there a fix for CVE-2024-50187?

Yes. Fixed in Linux 75452da51e2403e14be007df80d133e1443fc967, Linux 937943c042503dc6087438bf3557f9057a588ba0, Linux 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22. Upgrade Linux to 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22 or later.

How do I check if I'm affected by CVE-2024-50187?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors