CVE-2024-36960
JSON

7.1high

drm/vmwgfx: Fix invalid reads in fence signaled events

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 8b7de6aa84682a3396544fd88cd457f95484573a before 2f527e3efd37c7c5e85e8aa86308856b619fa59f, from 8b7de6aa84682a3396544fd88cd457f95484573a before cef0962f2d3e5fd0660c8efb72321083a1b531a9, from 8b7de6aa84682a3396544fd88cd457f95484573a before 3cd682357c6167f636aec8ac0efaa8ba61144d36, from 8b7de6aa84682a3396544fd88cd457f95484573a before b7bab33c4623c66e3398d5253870d4e88c52dfc0, from 8b7de6aa84682a3396544fd88cd457f95484573a before 0dbfc73670b357456196130551e586345ca48e1b, from 8b7de6aa84682a3396544fd88cd457f95484573a before 7b5fd3af4a250dd0a2a558e07b43478748eb5d22, from 8b7de6aa84682a3396544fd88cd457f95484573a before deab66596dfad14f1c54eeefdb72428340d72a77, from 8b7de6aa84682a3396544fd88cd457f95484573a before a37ef7613c00f2d72c8fc08bd83fb6cc76926c8c and 1 more
Not affected: before 3.4, from 4.19.314 up to 4.19.*, from 5.4.276 up to 5.4.*, from 5.10.217 up to 5.10.*, from 5.15.159 up to 5.15.*, from 6.1.91 up to 6.1.*
CVE List
linux linux_kernelfrom 3.4 before 4.19.314, from 4.20 before 5.4.276, from 5.5 before 5.10.217, from 5.11 before 5.15.159, from 5.16 before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9NVD
debian debian_linux10.0NVD

All scores

Linux7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/vmwgfx: corrige lecturas no válidas en eventos señalizados de valla establezca correctamente la longitud de drm_event al tamaño de la estructura que realmente se utiliza. La longitud de drm_event se configuró en la estructura principal en lugar de en drm_vmw_event_fence que se supone debe leerse. drm_read usa el parámetro de longitud para copiar el evento al espacio del usuario, lo que resulta en lecturas oob.

References

https://git.kernel.org/stable/c/2f527e3efd37c7c5e85e8aa86308856b619fa59fpatch
https://git.kernel.org/stable/c/cef0962f2d3e5fd0660c8efb72321083a1b531a9patch
https://git.kernel.org/stable/c/3cd682357c6167f636aec8ac0efaa8ba61144d36patch
https://git.kernel.org/stable/c/b7bab33c4623c66e3398d5253870d4e88c52dfc0patch
https://git.kernel.org/stable/c/0dbfc73670b357456196130551e586345ca48e1bpatch
https://git.kernel.org/stable/c/7b5fd3af4a250dd0a2a558e07b43478748eb5d22patch
https://git.kernel.org/stable/c/deab66596dfad14f1c54eeefdb72428340d72a77patch
https://git.kernel.org/stable/c/a37ef7613c00f2d72c8fc08bd83fb6cc76926c8cpatch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00019.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-36960 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-36960 changed 2026-08-04Public domain