{"id":"CVE-2026-80700","revision":"d2049077801d46b6abe8c39e6a68ce0a","records":[{"revision":"d2049077801d46b6abe8c39e6a68ce0a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-80700","aliases":[],"title":"drm/vmwgfx: validate external BO copy bounds for both stride paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: validate external BO copy bounds for both stride paths\n\nvmw_external_bo_copy() trusts caller-supplied offsets, strides, and\nheights and operates on imported dma-buf vmaps:\n\n  - The equal-stride memcpy() bound was clamped after subtracting the\n    offsets from dst_size and src_size; an offset larger than the BO\n    size wraps the unsigned subtraction to a huge value and the\n    resulting memcpy() runs off the end of the vmap.  dst_stride *\n    height is also a u32 multiplication that can overflow.\n  - The non-equal-stride row-by-row path had no bound at all.  The\n    loop touches bytes through offset + (height - 1) * stride +\n    width_in_bytes, with only a WARN_ON(dst_stride < width_in_bytes),\n    and could likewise step past the end of either mapping.\n\nThe offsets and strides are derived from STDU/SOU plane state, so a\nconfigured CRTC submitting a crafted atomic commit on an imported\nframebuffer can reach this path.\n\nValidate the exact row-copy endpoint against each BO's size up front\nusing check_mul_overflow() and check_add_overflow().  Use the bulk\nmemcpy() path only when width_in_bytes covers the whole stride;\notherwise copy one row at a time so partial-row updates near the bottom\nof a framebuffer remain valid.  Also reject zero strides and stride <\nwidth_in_bytes, both of which the row-by-row path cannot represent\nsafely.","state":0,"publishedAt":"2026-08-28T06:53:04.05+00:00","modifiedAt":"2026-10-16T19:26:33.894+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/vmwgfx/vmwgfx_blit.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4\",\n                            \"lessThan\": \"4e0f669e2951b742239c6fe847fcc406fe78748d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"50f1199250912568606b3778dc56646c10cb7b04\",\n                            \"lessThan\": \"e7b25a6011781ebfdbc458552cae6d4156732771\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"50f1199250912568606b3778dc56646c10cb7b04\",\n                            \"lessThan\": \"042ca38779554687fc32b66a28328e0d9a36c58f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"50f1199250912568606b3778dc56646c10cb7b04\",\n                            \"lessThan\": \"5e4a2d15637a906cbd9bc98e0bf969f5f713e344\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"50f1199250912568606b3778dc56646c10cb7b04\",\n                            \"lessThan\": \"706c93c5813caabbb0d0a576c017d15aeec2c113\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6.6.49\",\n                            \"lessThan\": \"6.6.151\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.10.8\",\n                            \"lessThan\": \"6.11\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/vmwgfx/vmwgfx_blit.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.11\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.11\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.151\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.103\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.44\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.8\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/4e0f669e2951b742239c6fe847fcc406fe78748d","https://git.kernel.org/stable/c/e7b25a6011781ebfdbc458552cae6d4156732771","https://git.kernel.org/stable/c/042ca38779554687fc32b66a28328e0d9a36c58f","https://git.kernel.org/stable/c/5e4a2d15637a906cbd9bc98e0bf969f5f713e344","https://git.kernel.org/stable/c/706c93c5813caabbb0d0a576c017d15aeec2c113"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80700","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-80700","identifiers":["CVE-2026-80700"]},"retained":false,"historicalAffected":[]}],"coverage":[]}