CVE-2026-99687: vhost-scsi: zero misaligned I/O bounce pages
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
vhost-scsi: zero misaligned I/O bounce pages
The misaligned I/O fallback copies the full bounce scatterlist to the request buffer during completion. If a data-in command transfers less than requested, part of a newly allocated bounce page can remain unwritten.
Allocate bounce pages with __GFP_ZERO so all bytes copied during completion have a defined value. This path is already the slow fallback for misaligned I/O, so the added initialization cost is acceptable.
Found during an LLM-assisted source audit and validated with a QEMU/KVM vhost-scsi target using misaligned data-in commands.
The Linux kernel CVE team has assigned CVE-2026-99687 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.5 with commit 5ced58bfa132c8ba0f9c893eb621595a84cfee12 and fixed in 6.18.64 with commit 400c629c5ea3e36afdda19b83487f6ba2deca7e4 Issue introduced in 6.5 with commit 5ced58bfa132c8ba0f9c893eb621595a84cfee12 and fixed in 7.3.5 with commit e048d90d63d6cdf05b23ba5015de7f7652f11e10 Issue introduced in 6.5 with commit 5ced58bfa132c8ba0f9c893eb621595a84cfee12 and fixed in 7.4-rc2 with commit 01c3a5fa6d641c93c7cef4fb25c5f12938316e18 Issue introduced in 6.4.16 with commit 0993d26ddd8ed4576435099a3c281d024d19806a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99687
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/vhost/scsi.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/400c629c5ea3e36afdda19b83487f6ba2deca7e4 https://git.kernel.org/stable/c/e048d90d63d6cdf05b23ba5015de7f7652f11e10 https://git.kernel.org/stable/c/01c3a5fa6d641c93c7cef4fb25c5f12938316e18