HighFix available
drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.247, 5.15.197, 5.4.302, 6.1.159, 6.12.59, 6.17.9, 6.6.117
- CVEs
- CVE-2025-40277
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:40 UTC · Revision 1
Source evidence
drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE
core-osv · Original sourcePublished 6 Dec 2025, 21:51 UTC
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.
osv:CVE-2025-40277
Kernel
Fixed versions: 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.59, 6.17.9
Complete source record
{
"id": "f228d405b8960f9086e2ee7c95f806ea42917ec6a02f3048c7b2ccabc123106d",
"url": "https://osv.dev/vulnerability/CVE-2025-40277",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE",
"summary": "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.",
"evidence": "osv:CVE-2025-40277",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.302",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.247",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.197",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.159",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.117",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.59",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-40277",
"aliases": [
"CVE-2025-40277"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40277.json"
}
}
],
"modified": "2026-10-28T02:30:30.287471460Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af",
"https://git.kernel.org/stable/c/54d458b244893e47bda52ec3943fdfbc8d7d068b",
"https://git.kernel.org/stable/c/5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc",
"https://git.kernel.org/stable/c/709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173",
"https://git.kernel.org/stable/c/a3abb54c27b2c393c44362399777ad2f6e1ff17e",
"https://git.kernel.org/stable/c/b5df9e06eed3df6a4f5c6f8453013b0cabb927b4",
"https://git.kernel.org/stable/c/e58559845021c3bad5e094219378b869157fad53",
"https://git.kernel.org/stable/c/f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40277.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40277",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40277.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40277",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496915,
"published_at": "2025-12-06T21:51:00.437+00:00"
}