CVE-2024-36960

drm/vmwgfx: Fix invalid reads in fence signaled events

State
Published
Severity
7.1 High
Published
Jun 3, 2024
Updated
Aug 5, 2026
Reserved
May 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before 2f527e3efd37c7c5e85e8aa86308856b619fa59fAffected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before cef0962f2d3e5fd0660c8efb72321083a1b531a9Affected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before 3cd682357c6167f636aec8ac0efaa8ba61144d36Affected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before b7bab33c4623c66e3398d5253870d4e88c52dfc0Affected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before 0dbfc73670b357456196130551e586345ca48e1bAffected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before 7b5fd3af4a250dd0a2a558e07b43478748eb5d22Affected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before deab66596dfad14f1c54eeefdb72428340d72a77Affected
  • 8b7de6aa84682a3396544fd88cd457f95484573a to before a37ef7613c00f2d72c8fc08bd83fb6cc76926c8cAffected
LinuxLinux
  • 3.4Affected
  • before 3.4Not affected
  • 4.19.314 through 4.19.*Not affected
  • 5.4.276 through 5.4.*Not affected
  • 5.10.217 through 5.10.*Not affected
  • 5.15.159 through 5.15.*Not affected
  • 6.1.91 through 6.1.*Not affected
  • 6.6.31 through 6.6.*Not affected
  • 6.8.10 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.