VDB

CVE-2024-50187

CVE-2024-50187 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
linux_kernellinux6.11.4, 6.6.57, 6.1.113
LinuxLinux0b2ad4f6f2bec74a5287d96cb2325a5e11706f22

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux65101d8c9108201118efa7e08f4e2c57f438deb9, 65101d8c9108201118efa7e08f4e2c57f438deb9, 65101d8c9108201118efa7e08f4e2c57f438deb9
LinuxLinux4.17, 0, 6.1.113
LinuxLinux0, 6.1.113, 6.6.57
linuxlinux_kernel4.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›