From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045672; b=weOjSP4IAD3IpX6BpyqfqsKUwt3RIyUmfXJHLIQSgCaB2qu+X4CAJX6CzFQoV/URB3nE pP5a7mO1nx9OHz1BQb3JkU+0+TZAzoxQOuwugnluizhnz9p7S1rAug7po2E1Gzt8ZGWDZ GRtON8+5h5xO+F6QuhCZyzobt61dBoQT9NvldAAeP1OBqs1KmA7rwuMTtGv6h8UTJzFd0 nC2vRz2oa4smHzXAYDtt/4AXMIpdRJvc5B335hfeCq9UV5nK8+e6ds60J9rB5VVldMm/T r3acAfcKL3nJFtnK8bmgPD7DIHi8Fv9bOM27H3k7mzE8V0A3H99D47mKnkZDEib/3kQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045672; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=fGsnYHus6kIJGHiuaCe5DzND3nZ8N/nqb9Tchwg+5X4=; b=0eJJK6x57SrNB9s6BX+JNNEwvovmhDSN7hwBj/10rdpagRk//Lxh3KhiYV5UgOOJElb9 QQVhJ+v7jeKe2RF73CtCBGQuADqh8UYTl21QnxKl/y7fdX0sK7u/LvP8G464CCfQv7f3K Lmey9fo1wN58HC4YBM0wRTop/DIQAzjlFnyBd+ZuVPAbV4S5M/vnDQ2zPSP+pGB1dGLMd xAJ9NTzwCnMzdbSKLV464ZFrr6dauz7rZ8C7HI04iravFy/MbijgeVYW4eGrYdeHodrbG 6zOfRsm7gYu2a8fperrIq/pik/ozP+nMuB5R3eoCOzZDUaesZR4GH2SyI3vLv9aA2zw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=u3u6JnqV; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CDB6606A31C for ; Mon, 30 Nov 2026 13:34:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=u3u6JnqV Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA8531F000C1; Mon, 30 Nov 2026 13:34:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796045672; bh=fGsnYHus6kIJGHiuaCe5DzND3nZ8N/nqb9Tchwg+5X4=; h=From:To:Cc:Subject:Date:Reply-To; b=u3u6JnqVCbwX//N06DvYOPextsXskBxThOeJSEUhsHWMy+tYoVmEUtCzBdk4XihoX zREXZNJS4OfUXy0qoKG+y4n0j9k25nojoSeKTAvaujWjZgcAE2pkmXEbR5Lx4h0feM bMzlW2L/m6bLFpvTzMzR4ZDZyDPKax3K8YLz9Zs0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99932: scsi: ufs: core: Remove completed-without-interrupt path in ufshcd_abort() Date: Mon, 30 Nov 2026 14:19:22 +0100 Message-ID: <2026113053-CVE-2026-99932-e3ae@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3303; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7ohoRkxcLYqyvIcCfNvPQ/OSxym1ZcRub8Br1guaNHI=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm85Y0yivnLriYv/bgibN/kblaGav0feiX3H+x53+Gn9 rPaZ7ZmRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExktS3D/MDIiVK3bSRbDeqU /y+y0rH/qzUhl2FBq6Cyw0aD4lvfHGUY/GRr3n4TNJkCAA== 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: ufs: core: Remove completed-without-interrupt path in ufshcd_abort() In SDB mode, a command that times out right as the controller finishes it can be completed twice: 1. The command times out and scsi_timeout() schedules ufshcd_abort(). 2. The controller finishes the command and clears its doorbell bit in REG_UTP_TRANSFER_REQ_DOOR_BELL, while the completion handler has not yet cleared BIT(tag) in hba->outstanding_reqs. 3. ufshcd_abort() sees the doorbell bit clear and calls __ufshcd_transfer_req_compl() without clearing BIT(tag) in hba->outstanding_reqs. 4. The normal completion handler or the logical unit reset that follows sees BIT(tag) still set in hba->outstanding_reqs and completes the same command a second time. This branch only exists for a rare corner case, a completion interrupt that is lost or arrives late. Remove it to simplify the abort path and leave such a command to the SCSI error handler, like any other command that cannot be aborted. The cost is a slower recovery in this corner case, which is acceptable since it only happens after a timeout. The Linux kernel CVE team has assigned CVE-2026-99932 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 169f5eb28869098ac02d7e03abea36e8ac599bcc and fixed in 6.12.117 with commit 7ac52a09bf8902b2a18998c652454227c3d3a9b9 Issue introduced in 5.15 with commit 169f5eb28869098ac02d7e03abea36e8ac599bcc and fixed in 6.18.63 with commit 5e208e3883fd79e841bd98d99ae9f3cfef5ad191 Issue introduced in 5.15 with commit 169f5eb28869098ac02d7e03abea36e8ac599bcc and fixed in 7.3.4 with commit 2edb62384a06a9efcafc2c47135d4cdb948b2085 Issue introduced in 5.15 with commit 169f5eb28869098ac02d7e03abea36e8ac599bcc and fixed in 7.4-rc1 with commit 7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1 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-99932 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/ufs/core/ufshcd.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/7ac52a09bf8902b2a18998c652454227c3d3a9b9 https://git.kernel.org/stable/c/5e208e3883fd79e841bd98d99ae9f3cfef5ad191 https://git.kernel.org/stable/c/2edb62384a06a9efcafc2c47135d4cdb948b2085 https://git.kernel.org/stable/c/7cfdfdd6557906fd09cf0a9a564a07012e7fb0c1