PT-2026-167160

CVE-2026-143302

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
vhost-scsi: do not count PI bytes in the data length
vhost scsi handle vq() moves pi bytesout or pi bytesin into the protection sgl and subtracts those bytes from exp data len. The length passed to TCM is still exp data len + prot bytes.
prot bytes comes from virtio scsi cmd req pi. With VIRTIO SCSI F T10 PI negotiated, vhost reads that header and does not check that the CDB is a READ or WRITE. sbc check prot() replaces data length from the CDB only when the protect field is non-zero. target cmd size check() leaves a write's data length unchanged when the CDB size is smaller, so a command that does not get that replacement keeps a data length larger than the data sgl.
The KASAN report is a MODE SELECT whose header had pi bytesout set. The data sgl held only the parameter list. spc emulate modeselect() walked data length and read the next physical page.
Pass the data sgl length. Protected READ and WRITE still take their length from the CDB in sbc check prot().
KASAN reports:
BUG: KASAN: use-after-free in spc emulate modeselect+0x145/0x380 [target core mod] Read of size 1
spc emulate modeselect target execute cmd target execute cmd vhost scsi write pending transport generic new cmd target submit target queued submit work process one work worker thread kthread ret from fork ret from fork asm
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾