Linux
vhost-scsi: Validate T10 PI scatterlist counts
In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: Validate T10 PI scatterlist counts When T10 PI is negotiated, vhost-scsi splits protection bytes from the data iterator before mapping the request scatterlists. A malformed request can claim protection bytes that cover or exceed the full payload length. The former leaves no data bytes to map, while the latter underflows exp_data_len before advancing the iterator. Both cases can let a zero data SGL count reach sg_alloc_table_chained(), which triggers BUG_ON(!nents). Reject protection lengths that cover or exceed the payload before subtracting prot_bytes and advancing the iterator. Also propagate negative errors from the protection SGL calculation before calling the allocator, matching the data SGL path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bca939d5bcd00d6faea99c47eafd60bed573ef03, < 2417a498cf3fe64d06faf87e236eda98dd4f04e0
- >= bca939d5bcd00d6faea99c47eafd60bed573ef03, < f8fe3f8d342da750dd10361bf66009fd3072926b
- >= bca939d5bcd00d6faea99c47eafd60bed573ef03, < d876c493fc4b811941bfeb4c80beb2dfc4bf025e
Fixed in 2417a498cf3fe64d06faf87e236eda98dd4f04e0, f8fe3f8d342da750dd10361bf66009fd3072926b, d876c493fc4b811941bfeb4c80beb2dfc4bf025e
- 6.15
Fixed in 0, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to 2417a498cf3fe64d06faf87e236eda98dd4f04e0 or f8fe3f8d342da750dd10361bf66009fd3072926b or d876c493fc4b811941bfeb4c80beb2dfc4bf025e or later.
Upgrade Linux to 0 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.