CVE-2026-43055

scsi: target: file: Use kzalloc_flex for aio_cmd

State
Published
Severity
7.5 High
Published
May 1, 2026
Updated
Oct 19, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

  • CWE-457 Use of Uninitialized Variable

Affected Products

ProductVersions
LinuxLinux
  • 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 to before ce54802fe6bb78eb0feffc66fed6a45d41ffc3abAffected
  • 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 to before 4eaff1728d0e69b95933412241bbccf4f797dba8Affected
  • 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 to before 01f784fc9d0ab2a6dac45ee443620e517cb2a19bAffected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.