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 8982943B6FD for ; Sun, 18 Oct 2026 15:21:03 +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=1792336864; cv=none; b=lRJ+WWiEue4wblOn5H2UstA0n/NV04fNMkooFZGipFR80Dc0TWa92wtEdc6qM2TtX2gtqq+y4rkqj0TX2kVACexv3DF/P2JqwQVk4Y4WRfUy1ElATZONhId0AWfnGetNmWrSe2dm8ljmuFYqdNiElQFKmdYZLSMIOAKNwfXP1xQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336864; c=relaxed/simple; bh=jA3l8wrXZJAqQQf3zzDaLXzhY64dkWh0OSLvLJEmjY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CFBIYzw1ftzLfotJhkWPBJpM1AV8TzyaBXVre8YGPgK1lQYaXHrKAJCHlkmsk1jBod/0xLqmbFyh6aLpL51RAzwLTZABK1d/Wu+6/F3uLImx0gbFQmn68aM1wgC+VVL+xUMDTczNrE6bX3EUNGDt8aEwqs2StYqnAxx/oeDTOOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Wp7R8I1o; 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="Wp7R8I1o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B83B1F000C4; Sun, 18 Oct 2026 15:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336863; bh=qENiNaqIHgIMW2ERkc9bHVGGJ4iQvYMernzP4TVYFPU=; h=From:To:Cc:Subject:Date:Reply-To; b=Wp7R8I1obYgjyaEscuryQrZ/2hfIZiQWNUMiFhSFPbIoQdkZDhhFQgxZlSbazVNWk +pPZ8cxg7AGii4ekb4uzCiK5TQ0f2/GW5hqZtahe0fySF4v5ZKEnxzUo1ACReeqdqX hB2dKX2qt4tIMy/rHFKbP67C7Ug7Obl4ze5zsmVc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98478: scsi: ufs: core: Keep internal commands dispatchable during error handling Date: Sun, 18 Oct 2026 17:15:42 +0200 Message-ID: <2026101814-CVE-2026-98478-4d55@gregkh> X-Mailer: git-send-email 2.56.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=2819; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4V5vEQqF7SqUA1ZMxxxTQ1o5QLRQDdVoLOawU4veds4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHjWxVcYxXv//OE7bS6axqknv8ddHsV8rf4Ta86dXl NRmBzzpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIl0nmKYX8ommzphqrAj05OP PEm/biqcOmwrwrBgyl43MwEO166nohk3Mp/my7Y8u3seAA== 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: Keep internal commands dispatchable during error handling Commit 08b12cda6c44 ("scsi: ufs: core: Switch to scsi_get_internal_cmd()") switched UFS internal commands to allocate requests on hba->host->pseudo_sdev->request_queue, which shares the host tagset with regular LUNs. During error recovery, ufshcd_err_handling_prepare() calls blk_mq_quiesce_tagset(&hba->host->tag_set), marking all queues in the tagset as quiesced, including pseudo_sdev->request_queue. When ufshcd_verify_dev_init() subsequently issues internal commands (e.g. NOP OUT UPIU) via blk_execute_rq(), blk_mq_run_hw_queue() skips running the quiesced queue, resulting in an unrecoverable circular wait deadlock. Keep quiescing the tagset and unquiesce the pseudo SCSI device on top of that, so internal commands stay dispatchable while the logical units remain quiesced. Re-quiesce the pseudo device before unquiescing the tagset so that quiesce_depth stays balanced. Clock scaling and ufshcd_pause_command_processing() are unaffected: they keep quiescing the whole tagset, internal commands included. The Linux kernel CVE team has assigned CVE-2026-98478 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 and fixed in 7.2.9 with commit 9f6f4840def931814c106fc800f57a2d26befee6 Issue introduced in 6.19 with commit 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 and fixed in 7.3-rc5 with commit b52d695d062095327b944acf7daabbc816ab319b 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-98478 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/9f6f4840def931814c106fc800f57a2d26befee6 https://git.kernel.org/stable/c/b52d695d062095327b944acf7daabbc816ab319b