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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-05-01T14:15:48.139Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-457
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.16 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab> (patch)
- <https://git.kernel.org/stable/c/4eaff1728d0e69b95933412241bbccf4f797dba8> (patch)
- <https://git.kernel.org/stable/c/01f784fc9d0ab2a6dac45ee443620e517cb2a19b> (patch)

## Sources

- CVE List: [CVE-2026-43055](https://www.cve.org/CVERecord?id=CVE-2026-43055), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-43055](https://nvd.nist.gov/vuln/detail/CVE-2026-43055), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43055 · Whole record: https://cve.day/CVE-2026-43055.json · Rebuilt by cve.day 2026-11-25T22:59:20.417Z
