{"id":"CVE-2025-40277","summary":"drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE\n\nThis data originates from userspace and is used in buffer offset\ncalculations which could potentially overflow causing an out-of-bounds\naccess.","modified":"2026-04-02T12:48:21.035309Z","published":"2025-12-06T21:51:00.437Z","related":["ALSA-2026:0453","ALSA-2026:0793","ALSA-2026:1142","ALSA-2026:1148","MGASA-2026-0017","MGASA-2026-0018","SUSE-SU-2026:0263-1","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40277.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54d458b244893e47bda52ec3943fdfbc8d7d068b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3abb54c27b2c393c44362399777ad2f6e1ff17e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5df9e06eed3df6a4f5c6f8453013b0cabb927b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e58559845021c3bad5e094219378b869157fad53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40277.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40277"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f"},{"fixed":"e58559845021c3bad5e094219378b869157fad53"},{"fixed":"54d458b244893e47bda52ec3943fdfbc8d7d068b"},{"fixed":"709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173"},{"fixed":"a3abb54c27b2c393c44362399777ad2f6e1ff17e"},{"fixed":"b5df9e06eed3df6a4f5c6f8453013b0cabb927b4"},{"fixed":"5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc"},{"fixed":"f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0"},{"fixed":"32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40277.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"5.4.302"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.247"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.59"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40277.json"}}],"schema_version":"1.7.5"}