CVE-2025-40277
JSON

7.8high

drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 9% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE This data originates from userspace and is used in buffer offset calculations which could potentially overflow causing an out-of-bounds access.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before e58559845021c3bad5e094219378b869157fad53, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 54d458b244893e47bda52ec3943fdfbc8d7d068b, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before a3abb54c27b2c393c44362399777ad2f6e1ff17e, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before b5df9e06eed3df6a4f5c6f8453013b0cabb927b4, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0, from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af and 1 more
Not affected: before 4.3, from 5.4.302 up to 5.4.*, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.*
CVE List

Classification

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: Validate command header size against SVGA_CMD_MAX_DATASIZE This data originates from userspace and is used in buffer offset calculations which could potentially overflow causing an out-of-bounds access.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/vmwgfx: Validar el tamaño del encabezado del comando contra SVGA_CMD_MAX_DATASIZE Estos datos se originan del espacio de usuario y se utilizan en cálculos de desplazamiento de búfer que podrían desbordarse potencialmente, causando un acceso fuera de límites.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40277 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-40277 changed 2026-10-15Public domain