{"id":"CVE-2026-143298","state":"PUBLISHED","title":"vhost-scsi: fix page reference leak in misaligned I/O fallback","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost-scsi: fix page reference leak in misaligned I/O fallback\n\niov_iter_get_pages2() returns a byte count that excludes the offset into\nthe first page, but also returns a reference to that page in pages[].\n\nOn the misaligned-I/O fallback, vhost_scsi_revert_map_iov_to_sgl() puts\npages already added to the SG list. The cleanup loop starts at\npages[npages], but accounts for its first page as PAGE_SIZE bytes\nrather than PAGE_SIZE - offset. If the remaining data starts at a\nnon-zero offset, it can finish one page early and leave a page reference\nbehind.\n\nUse PAGE_SIZE - offset for the first remaining page and clear offset for\nlater pages, as in the mapping loop. Without this, each affected request\nleaks one page reference.","publishedAt":"2026-12-03T09:21:31.058Z","updatedAt":"2026-12-03T09:21:31.058Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bca939d5bcd00d6faea99c47eafd60bed573ef03","status":"affected","lessThan":"44ad9732ef903b64caf87e79ce07bd26f49b4dc6","versionType":"git"},{"version":"bca939d5bcd00d6faea99c47eafd60bed573ef03","status":"affected","lessThan":"7738c87c414ed16c8e5daf6d3b96cf2f9e613dbc","versionType":"git"},{"version":"bca939d5bcd00d6faea99c47eafd60bed573ef03","status":"affected","lessThan":"058fc59326af3350c6e830858e56d2aeecabe0a2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vhost/scsi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vhost/scsi.c"]}],"references":["https://git.kernel.org/stable/c/44ad9732ef903b64caf87e79ce07bd26f49b4dc6","https://git.kernel.org/stable/c/7738c87c414ed16c8e5daf6d3b96cf2f9e613dbc","https://git.kernel.org/stable/c/058fc59326af3350c6e830858e56d2aeecabe0a2"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143298.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143298","state":"PUBLISHED","datePublished":"2026-12-03T09:21:31.058Z","dateUpdated":"2026-12-03T09:21:31.058Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.365Z"},"containers":{"cna":{"title":"vhost-scsi: fix page reference leak in misaligned I/O fallback","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost-scsi: fix page reference leak in misaligned I/O fallback\n\niov_iter_get_pages2() returns a byte count that excludes the offset into\nthe first page, but also returns a reference to that page in pages[].\n\nOn the misaligned-I/O fallback, vhost_scsi_revert_map_iov_to_sgl() puts\npages already added to the SG list. The cleanup loop starts at\npages[npages], but accounts for its first page as PAGE_SIZE bytes\nrather than PAGE_SIZE - offset. If the remaining data starts at a\nnon-zero offset, it can finish one page early and leave a page reference\nbehind.\n\nUse PAGE_SIZE - offset for the first remaining page and clear offset for\nlater pages, as in the mapping loop. Without this, each affected request\nleaks one page reference."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bca939d5bcd00d6faea99c47eafd60bed573ef03","status":"affected","lessThan":"44ad9732ef903b64caf87e79ce07bd26f49b4dc6","versionType":"git"},{"version":"bca939d5bcd00d6faea99c47eafd60bed573ef03","status":"affected","lessThan":"7738c87c414ed16c8e5daf6d3b96cf2f9e613dbc","versionType":"git"},{"version":"bca939d5bcd00d6faea99c47eafd60bed573ef03","status":"affected","lessThan":"058fc59326af3350c6e830858e56d2aeecabe0a2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vhost/scsi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vhost/scsi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/44ad9732ef903b64caf87e79ce07bd26f49b4dc6"},{"url":"https://git.kernel.org/stable/c/7738c87c414ed16c8e5daf6d3b96cf2f9e613dbc"},{"url":"https://git.kernel.org/stable/c/058fc59326af3350c6e830858e56d2aeecabe0a2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:31.058Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}