CVE-2026-43055
JSON

7.5high

scsi: target: file: Use kzalloc_flex for aio_cmd

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.37% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: file: Use kzalloc_flex for aio_cmd The target_core_file doesn't initialize the aio_cmd->iocb for the ki_write_stream. When a write command fd_execute_rw_aio() is executed, we may get a bogus ki_write_stream value, causing unintended write failure status when checking iocb->ki_write_stream > max_write_streams in the block device. Let's just use kzalloc_flex when allocating the aio_cmd and let ki_write_stream=0 to fix this issue.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 before ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab, from 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 before 4eaff1728d0e69b95933412241bbccf4f797dba8, from 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 before 01f784fc9d0ab2a6dac45ee443620e517cb2a19b, 6.16
Not affected: before 6.16, from 6.18.22 up to 6.18.*, from 6.19.12 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.16 before 6.18.22, from 6.19 before 6.19.12, 7.0NVD

Classification

CWE-457

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: scsi: target: file: Use kzalloc_flex for aio_cmd The target_core_file doesn't initialize the aio_cmd->iocb for the ki_write_stream. When a write command fd_execute_rw_aio() is executed, we may get a bogus ki_write_stream value, causing unintended write failure status when checking iocb->ki_write_stream > max_write_streams in the block device. Let's just use kzalloc_flex when allocating the aio_cmd and let ki_write_stream=0 to fix this issue.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: scsi: target: file: Usar kzalloc_flex para aio_cmd El target_core_file no inicializa el aio_cmd -> iocb para el ki_write_stream. Cuando un comando de escritura fd_execute_rw_aio() es ejecutado, podemos obtener un valor errĂ³neo de ki_write_stream, causando un estado de fallo de escritura no intencionado al verificar iocb -> ki_write_stream > max_write_streams en el dispositivo de bloques. Simplemente usemos kzalloc_flex al asignar el aio_cmd y dejemos ki_write_stream=0 para solucionar este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43055 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-43055 changed 2026-11-11Public domain