CVE-2026-143298: vhost-scsi: fix page reference leak in misaligned I/O fallback
In the Linux kernel, the following vulnerability has been resolved:
vhost-scsi: fix page reference leak in misaligned I/O fallback
iovitergetpages2() returns a byte count that excludes the offset into the first page, but also returns a reference to that page in pages[].
On the misaligned-I/O fallback, vhostscsirevertmapiovtosgl() puts pages already added to the SG list. The cleanup loop starts at pages[npages], but accounts for its first page as PAGESIZE bytes rather than PAGESIZE - offset. If the remaining data starts at a non-zero offset, it can finish one page early and leave a page reference behind.
Use PAGESIZE - offset for the first remaining page and clear offset for later pages, as in the mapping loop. Without this, each affected request leaks one page reference.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for the page-reference leak to occur?
The issue occurs in the vhost-scsi misaligned-I/O fallback when remaining data begins at a non-zero offset within a page. Under those conditions, cleanup can stop one page too early and retain a page reference for the affected request.
What is the impact of repeated affected requests?
Each affected request leaks one page reference. Repeated requests meeting the misaligned-I/O fallback conditions can therefore accumulate unreleased page references.
How can I determine whether systems may be exposed?
Systems using the Linux kernel vhost-scsi path may be relevant. The provided data does not identify affected kernel versions or a configuration-level detection method; review the referenced stable kernel fixes to determine whether they are present in the deployed kernel.