CVE-2024-50187
drm/vc4: Stop the active perfmon before being destroyed
Reported by linux · Published November 8, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.11.4, 6.6.57, 6.1.113 |
| Linux | Linux | 0b2ad4f6f2bec74a5287d96cb2325a5e11706f22 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 65101d8c9108201118efa7e08f4e2c57f438deb9, 65101d8c9108201118efa7e08f4e2c57f438deb9, 65101d8c9108201118efa7e08f4e2c57f438deb9 |
| Linux | Linux | 4.17, 0, 6.1.113 |
| Linux | Linux | 0, 6.1.113, 6.6.57 |
| linux | linux_kernel | 4.17, 4.17, 4.17 |
Timeline
- Nov 7, 2024 CVE Published
- Nov 8, 2024 Coalition ESS Score (16 in total, the first dated here)
- Nov 9, 2024 EPSS Score (30 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Jan 2, 2026 Security Advisory (159 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (130 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50187
vulnetix vdb fixes CVE-2024-50187
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50187/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart