Bug 2521398 (CVE-2026-74703) - CVE-2026-74703 kernel: vhost-scsi: Validate T10 PI scatterlist counts
Summary: CVE-2026-74703 kernel: vhost-scsi: Validate T10 PI scatterlist counts
Keywords:
Status: NEW
Alias: CVE-2026-74703
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-22 15:43 UTC by OSIDB Bzimport
Modified: 2026-08-24 11:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-22 15:43:35 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-24 10:57:32 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026082236-CVE-2026-74703-dcf0@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.