CVE-2024-36960

drm/vmwgfx: Fix invalid reads in fence signaled events

7.1 high EPSS 0.29%

Published 3 Jun 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-36960

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-36960 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: Fix invalid reads in fence signaled events

Correctly set the length of the drm_event to the size of the structure that's actually used.

The length of the drm_event was set to the parent structure instead of to the drm_vmw_event_fence which is supposed to be read. drm_read uses the length parameter to copy the event to the user space thus resuling in oob reads.

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 3 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before 2f527e3efd37c7c5e85e8aa86308856b619fa59f
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before cef0962f2d3e5fd0660c8efb72321083a1b531a9
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before 3cd682357c6167f636aec8ac0efaa8ba61144d36
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before b7bab33c4623c66e3398d5253870d4e88c52dfc0
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before 0dbfc73670b357456196130551e586345ca48e1b
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before 7b5fd3af4a250dd0a2a558e07b43478748eb5d22
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before deab66596dfad14f1c54eeefdb72428340d72a77
affected from 8b7de6aa84682a3396544fd88cd457f95484573a, before a37ef7613c00f2d72c8fc08bd83fb6cc76926c8c
Other versions: unaffected
Linux
affected 3.4
unaffected before 3.4
unaffected from 4.19.314 up to and including 4.19.*
unaffected from 5.4.276 up to and including 5.4.*
unaffected from 5.10.217 up to and including 5.10.*
unaffected from 5.15.159 up to and including 5.15.*
unaffected from 6.1.91 up to and including 6.1.*
unaffected from 6.6.31 up to and including 6.6.*
unaffected from 6.8.10 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-36960 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36960

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-36960
trivy image --scanners vuln IMAGE | grep CVE-2024-36960

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-36960 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.