{"id":"CVE-2026-43055","summary":"scsi: target: file: Use kzalloc_flex for aio_cmd","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: file: Use kzalloc_flex for aio_cmd\n\nThe target_core_file doesn't initialize the aio_cmd-\u003eiocb for the\nki_write_stream. When a write command fd_execute_rw_aio() is executed,\nwe may get a bogus ki_write_stream value, causing unintended write\nfailure status when checking iocb-\u003eki_write_stream \u003e max_write_streams\nin the block device.\n\nLet's just use kzalloc_flex when allocating the aio_cmd and let\nki_write_stream=0 to fix this issue.","modified":"2026-07-15T01:48:55.227509254Z","published":"2026-05-01T14:15:48.139Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43055.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01f784fc9d0ab2a6dac45ee443620e517cb2a19b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4eaff1728d0e69b95933412241bbccf4f797dba8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43055.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43055"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"732f25a2895a8c1c54fb56544f0b1e23770ef4d7"},{"fixed":"ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab"},{"fixed":"4eaff1728d0e69b95933412241bbccf4f797dba8"},{"fixed":"01f784fc9d0ab2a6dac45ee443620e517cb2a19b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43055.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43055.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}