CVE 7.5 HIGH

scsi: target: file: Use kzalloc_flex for aio_cmd_CVE-2026-43055

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2026-43055
Source Linux
Published May 1, 2026 at 14:15
Modified May 3, 2026 at 05:46

Affected Product

Vendor Linux
Product Linux
Version 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Affected Versions Linux Linux 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Linux Linux 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Linux Linux 732f25a2895a8c1c54fb56544f0b1e23770ef4d7
Linux Linux 6.16

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.