freenode

← CVE tracker

CVE-2026-143298

vhost-scsi: fix page reference leak in misaligned I/O fallback

Severity
unscored
Affects
Linux
Published
3 December 2026 by Linux
First seen on our lists
3 December 2026
In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: fix page reference leak in misaligned I/O fallback iov_iter_get_pages2() 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, vhost_scsi_revert_map_iov_to_sgl() puts pages already added to the SG list. The cleanup loop starts at pages[npages], but accounts for its first page as PAGE_SIZE bytes rather than PAGE_SIZE - offset. If the remaining data starts at a non-zero offset, it can finish one page early and leave a page reference behind. Use PAGE_SIZE - 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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists