7.1high
vhost-scsi: Validate T10 PI scatterlist counts
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 5% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bca939d5bcd00d6faea99c47eafd60bed573ef03 before 2417a498cf3fe64d06faf87e236eda98dd4f04e0, from bca939d5bcd00d6faea99c47eafd60bed573ef03 before f8fe3f8d342da750dd10361bf66009fd3072926b, from bca939d5bcd00d6faea99c47eafd60bed573ef03 before d876c493fc4b811941bfeb4c80beb2dfc4bf025e, 6.15 Not affected: before 6.15, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*, from 7.2 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: vhost-scsi: Validar los recuentos de scatterlist de T10 PI Cuando se negocia T10 PI, vhost-scsi divide los bytes de protección del iterador de datos antes de mapear las scatterlists de la solicitud. Una solicitud malformada puede reclamar bytes de protección que cubren o exceden la longitud total de la carga útil. El primero no deja bytes de datos para mapear, mientras que el segundo provoca un desbordamiento negativo en exp_data_len antes de avanzar el iterador. Ambos casos pueden permitir que un recuento SGL de datos cero llegue a sg_alloc_table_chained(), lo que activa BUG_ON(!nents). Rechazar longitudes de protección que cubren o exceden la carga útil antes de restar prot_bytes y avanzar el iterador. También propagar errores negativos del cálculo SGL de protección antes de llamar al asignador, coincidiendo con la ruta SGL de datos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74703 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-74703 changed 2026-10-14 | Public domain |