Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB3A23A4528 for ; Fri, 1 May 2026 14:21:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645300; cv=none; b=CZx0eo6H7zTL1SvrPnVc2v6XSh04+o9c+27Hh1yYS3lxbAefPUdSVh5wBgkodhvKzWFq/eLAVIXdRVWDF3aMOTYQ+aIsrWmEO1U6FMxe17cQ7fpJug0r5dMyq+LUAE6NXh8fy0HnvY5Tl2flsZdeEBcUD3zj6jX+1mnSOWhV4eo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645300; c=relaxed/simple; bh=HhXBaYZRAa1q7/gDn1l+fWuOt12q3ZYlstH/Mftfg6A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WTOYgsJbYjwUypSdNWyc8z/nRnaGahrJ7tHPu5GOveCRsmLRHO1aKsZSvoBWI9jK6nniawcMGWOH5rIZehrIqnKfGMj0m1X3PXRfr5HEfJ04dkei9bHGWYZLoJHkSl9pLhKdpQN4MF1hjTNCBHdbbcyen/Unbi2ujJTGhxL4S60= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ImrLmroj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ImrLmroj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4800AC2BCB4; Fri, 1 May 2026 14:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645299; bh=HhXBaYZRAa1q7/gDn1l+fWuOt12q3ZYlstH/Mftfg6A=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ImrLmrojBga/R1cZpyZDQViDiS19NpOzxd6Cpc+UPUmI6oxVWRt02KroE7v/a0nMi prvORKRpacz/X0rUsyNZ6bLry+fGJwohqlV3ukwVxfHpvbNM/YDN9EcnxmWI95yGhB eXWnCWNUcnWyQFNt9UzXG9b/N+Eynho3YyCuvJqk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43055: scsi: target: file: Use kzalloc_flex for aio_cmd Date: Fri, 1 May 2026 16:16:28 +0200 Message-ID: <2026050108-CVE-2026-43055-5bb1@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2398; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gsK+QScNMz/wD9vUcXSRIBvOobGob3IP4ypkQN3CEBw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftuZsCjz+mKXg+o5/K47Pbm+72hZn31bLM8fhrv0N8 xbLh3JbO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiT98zzOE5IzLLqO/QdwfT Wf2TcyL/dZgcm8gwz+j9g+//hF78PWv0SPvOS3Wv7hWvVgEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-43055 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 and fixed in 6.18.22 with commit ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab Issue introduced in 6.16 with commit 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 and fixed in 6.19.12 with commit 4eaff1728d0e69b95933412241bbccf4f797dba8 Issue introduced in 6.16 with commit 732f25a2895a8c1c54fb56544f0b1e23770ef4d7 and fixed in 7.0 with commit 01f784fc9d0ab2a6dac45ee443620e517cb2a19b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-43055 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/target/target_core_file.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/ce54802fe6bb78eb0feffc66fed6a45d41ffc3ab https://git.kernel.org/stable/c/4eaff1728d0e69b95933412241bbccf4f797dba8 https://git.kernel.org/stable/c/01f784fc9d0ab2a6dac45ee443620e517cb2a19b