Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5160B4EC642 for ; Wed, 16 Sep 2026 10:43:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555435; cv=none; b=QjB3J5JyB7/jKCrskzoRe8SK2xTVlQlzvJgIXwDJ7/cw/e1vCSI6ACyyNstOv5mwqjV6SIhPB2MDfRB63NT/b4FUBp5ajLAJE26LZvztcKYBsxtyfAcOhh5jEI1pYl4vuVsUTz+8c+z+Njtx+2Q8WB4jF1efmcQIB+lORUKJp6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555435; c=relaxed/simple; bh=hzPQ+rV6DTNmxrUxIdzekbaNS6/3ycn8y8fgsv6uZ3k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WvKCQTVMV5GD2uB4neP7MaqS3F07F5B847FvaXKVN6aI1L051v5AEnrsx/VJFIlmd+qoaDHNj1G4B2Ry1hMnSNTJ7HUifnRCd/SUVYP32xF7ojvvbPHOGbITTkdt9rzhlWUVzML41e4RxuEwwz5FC13d6RoySLV+5miD1cKiMgs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qx0X7aJq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Qx0X7aJq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1493A1F008A0; Wed, 16 Sep 2026 10:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555419; bh=/JO9ALVr2NX/HzUsXvJBVQPm2QH6w9EFwkNGt/3PDOQ=; h=From:To:Cc:Subject:Date:Reply-To; b=Qx0X7aJqYS69hKABEaiqNASnBDDJZKnmO0bJumlgIYioh8tUo34IQvMh6q9o+fBL+ zoISfAugm08kuYQCB35/W6Ze62q8EPWthxOgcY5sn0Wx469fqSa+E6ox3VI5fzo2My 5w+8yuQRtbRH4/DNR4uw+WOuXiHVVRggx4sZxJGY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90009: scsi: bsg: Fix TOCTOU in io_uring passthrough command setup Date: Wed, 16 Sep 2026 11:32:19 +0100 Message-ID: <2026091601-CVE-2026-90009-6c3b@gregkh> X-Mailer: git-send-email 2.55.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=2110; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uNFhTN2lnCu5p0tabqyWgYt7aDHWkqKpRQJK2AFwAXs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8le2rU9xXBNziuuFmk10wpIffY9Fb766HKcteLZ49 fk6qZsmHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRkASGudI+scvlZh0uef9i 5su7vgJqhWqBTxjmO2z5FlW9hKmH5fP8bsa1FXMVbJ1rAA== 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: bsg: Fix TOCTOU in io_uring passthrough command setup scsi_bsg_uring_cmd() reads bsg_uring_cmd from the shared mmap'd SQE. Userspace can change a field after we check it and before we use it. request_len is the sharp case: it can grow past sizeof(scmd->cmnd) after the bound check and overflow scmd->cmnd in copy_from_user(). READ_ONCE() the SQE fields we check or use into locals before use. The Linux kernel CVE team has assigned CVE-2026-90009 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 7b6d3255e7f8c6df2d21504c47808e3ce84649ac and fixed in 7.2.5 with commit f033530105aa73d82c121d54b57f358e4865d2f4 Issue introduced in 7.1 with commit 7b6d3255e7f8c6df2d21504c47808e3ce84649ac and fixed in 7.3-rc2 with commit 4b3c5965fca99f62d31c963294bd5b23cc488e97 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-90009 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/scsi/scsi_bsg.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/f033530105aa73d82c121d54b57f358e4865d2f4 https://git.kernel.org/stable/c/4b3c5965fca99f62d31c963294bd5b23cc488e97