CVE-2025-68224: scsi: core: Fix a regression triggered by scsi_host_busy()
In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix a regression triggered by scsihostbusy()
Commit 995412e23bb2 ("blk-mq: Replace tags->lock with SRCU for tag iterators") introduced the following regression:
Call trace: srcureadlock+0x30/0x80 (P) blkmqtagsetbusyiter+0x44/0x300 scsihostbusy+0x38/0x70 ufshcdprinthoststate+0x34/0x1bc ufshcdlinkstartup.constprop.0+0xe4/0x2e0 ufshcdinit+0x944/0xf80 ufshcdpltfrminit+0x504/0x820 ufsrockchipprobe+0x2c/0x88 platformprobe+0x5c/0xa4 reallyprobe+0xc0/0x38c driverprobedevice+0x7c/0x150 driverprobedevice+0x40/0x120 driverattach+0xc8/0x1e0 busforeachdev+0x7c/0xdc driverattach+0x24/0x30 busadddriver+0x110/0x230 driverregister+0x68/0x130 platformdriverregister+0x20/0x2c ufsrockchippltforminit+0x1c/0x28 dooneinitcall+0x60/0x1e0 kernelinitfreeable+0x248/0x2c4 kernelinit+0x20/0x140 retfromfork+0x10/0x20
Fix this regression by making scsihostbusy() check whether the SCSI host tag set has already been initialized. tagset->ops is set by scsimqsetuptags() just before blkmqalloctagset() is called. This fix is based on the assumption that scsihostbusy() and scsimqsetuptags() calls are serialized. This is the case in the UFS driver.
Other sources
Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.247 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.197 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.159 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.60 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.17.10
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68224?
CVE-2025-68224 is classified with a lower severity level due to being a regression issue rather than a critical vulnerability.
How do I fix CVE-2025-68224?
To fix CVE-2025-68224, ensure that you update your Linux kernel to a patched version that resolves the regression.
Which versions of the Linux kernel are affected by CVE-2025-68224?
CVE-2025-68224 affects certain versions of the Linux kernel that have the introduced regression from the commit 995412e23bb2.
What are the potential impacts of CVE-2025-68224?
The potential impacts of CVE-2025-68224 may include system instability or unexpected behavior in SCSI operations.
Is CVE-2025-68224 a remote vulnerability?
CVE-2025-68224 is not categorized as a remote vulnerability, but rather involves local system operations affecting the SCSI core.