What’s Vulnerable › Vulnerabilities
CVE-2026-43055: scsi: target: file: Use kzalloc_flex for aio_cmd
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-01 · updated 2026-10-19
- Weakness: CWE-457
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 products
- Linux kernel: from 6.16 before 6.18.22; from 6.19 before 6.19.12; 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 — fixed in 6.18.22, 6.19.12
How to fix
Upgrade to a fixed version: Linux kernel 6.18.22, 6.19.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/01f784fc9d0ab2a6dac45ee443620e517cb2a19b
- https://git.kernel.org/stable/c/4eaff1728d0e69b95933412241bbccf4f797dba8
- https://git.kernel.org/stable/c/ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab
Get alerted when CVE-2026-43055 or the next vulnerability affects your stack