HarborGuard / CVE
Back to search
HIGHCVE-2026-43055Published Modified CNA Linux

CVE-2026-43055: scsi: target: file: Use kzalloc_flex for aio_cmd

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.

Metrics

CVSS v3.1
7.5
Severity
HIGH
Fixed in
0
Affected Products
2

Fix available

001f784fc9d0ab2a6dac45ee443620e517cb2a19b4eaff1728d0e69b95933412241bbccf4f797dba86.18.226.19.127.0ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab
Affected packages
  • Linux / Linux
    < ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab (from 732f25a2895a8c1c54fb56544f0b1e23770ef4d7) · < 4eaff1728d0e69b95933412241bbccf4f797dba8 (from 732f25a2895a8c1c54fb56544f0b1e23770ef4d7) · < 01f784fc9d0ab2a6dac45ee443620e517cb2a19b (from 732f25a2895a8c1c54fb56544f0b1e23770ef4d7)
  • Linux / Linux
    6.16
    Fixed in 0, 6.18.22, 6.19.12, 7.0
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H