{"id":"CVE-2026-80700","aliases":["CVE-2026-80700"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vmwgfx: validate external BO copy bounds for both stride paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-28T06:53:04.050Z","modified":"2026-10-16T20:18:07.023Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4","fixed":"4e0f669e2951b742239c6fe847fcc406fe78748d","status":"affected"},{"type":"git","introduced":"50f1199250912568606b3778dc56646c10cb7b04","fixed":"e7b25a6011781ebfdbc458552cae6d4156732771","status":"affected"},{"type":"git","introduced":"50f1199250912568606b3778dc56646c10cb7b04","fixed":"042ca38779554687fc32b66a28328e0d9a36c58f","status":"affected"},{"type":"git","introduced":"50f1199250912568606b3778dc56646c10cb7b04","fixed":"5e4a2d15637a906cbd9bc98e0bf969f5f713e344","status":"affected"},{"type":"git","introduced":"50f1199250912568606b3778dc56646c10cb7b04","fixed":"706c93c5813caabbb0d0a576c017d15aeec2c113","status":"affected"},{"type":"git","version":"5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854","status":"affected"},{"type":"semver","introduced":"6.6.49","fixed":"6.6.151","status":"affected"},{"type":"semver","introduced":"6.10.8","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4e0f669e2951b742239c6fe847fcc406fe78748d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7b25a6011781ebfdbc458552cae6d4156732771","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/042ca38779554687fc32b66a28328e0d9a36c58f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e4a2d15637a906cbd9bc98e0bf969f5f713e344","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/706c93c5813caabbb0d0a576c017d15aeec2c113","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:20:14.904Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80700","url":"https://www.cve.org/CVERecord?id=CVE-2026-80700","licence":"CVE Terms of Use","modified":"2026-10-16T19:26:33.894Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80700","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80700","licence":"Public domain","modified":"2026-10-16T20:18:07.023Z"}],"updatedAt":"2026-11-25T22:59:35.619Z","epss":{"score":0.00129,"percentile":0.0276,"date":"2026-12-01T12:00:22.000Z"}}