CVE-2026-43275: scsi: ufs: core: Flush exception handling work when RPM level is zero
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: core: Flush exception handling work when RPM level is zero
Ensure that the exception event handling work is explicitly flushed during suspend when the runtime power management level is set to UFS_PM_LVL_0.
When the RPM level is zero, the device power mode and link state both remain active. Previously, the UFS core driver bypassed flushing exception event handling jobs in this configuration. This created a race condition where the driver could attempt to access the host controller to handle an exception after the system had already entered a deep power-down state, resulting in a system crash.
Explicitly flush this work and disable auto BKOPs before the suspend callback proceeds. This guarantees that pending exception tasks complete and prevents illegal hardware access during the power-down sequence.
The Linux kernel CVE team has assigned CVE-2026-43275 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 5.15.202 with commit d5c3a1a13f97355c397f9439d79cb04b182958a3 Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 6.1.165 with commit 5d186731bc335cc049d4e57ab9f563cfab95593e Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 6.6.128 with commit aa8d68d97c7f0ef966e51afc17fdbdc372700edf Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 6.12.75 with commit aac2fee7513dd25042a616f86a1469b4858d2c5c Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 6.18.16 with commit 78d8e2d6352e8317686ee3a44811ac14c415a57d Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 6.19.6 with commit ab71c146c135f9af1614ef0fc29a0a3b84f1a373 Issue introduced in 3.18 with commit 57d104c153d3d6d7bea60089e80f37501851ed2c and fixed in 7.0 with commit f8ef441811ec413717f188f63d99182f30f0f08e
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-43275
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/d5c3a1a13f97355c397f9439d79cb04b182958a3 https://git.kernel.org/stable/c/5d186731bc335cc049d4e57ab9f563cfab95593e https://git.kernel.org/stable/c/aa8d68d97c7f0ef966e51afc17fdbdc372700edf https://git.kernel.org/stable/c/aac2fee7513dd25042a616f86a1469b4858d2c5c https://git.kernel.org/stable/c/78d8e2d6352e8317686ee3a44811ac14c415a57d https://git.kernel.org/stable/c/ab71c146c135f9af1614ef0fc29a0a3b84f1a373 https://git.kernel.org/stable/c/f8ef441811ec413717f188f63d99182f30f0f08e