CVE-2026-99936
publishedscsi: ufs: core: Fix a deadlock between clock scaling and device commands
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux08b12cda6c44dc015bcc152613c35ee0ae8f37b9 to < c378d4fdb6c7244c3458af886e2bab61f8f56d13 · 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 to < 2327df6d2a290af62a6da21b2ad301848bb86002 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix a deadlock between clock scaling and device commands Since commit 08b12cda6c44 ("scsi: ufs: core: Switch to scsi_get_internal_cmd()"), device management commands go through blk_execute_rq() on the pseudo SCSI device, which shares the tagset with the logical units, while ufshcd_dev_man_lock() holds clk_scaling_lock for reading. ufshcd_clock_scaling_prepare() and ufshcd_pause_command_processing() quiesce the tagset before taking clk_scaling_lock for writing. A device management command holding the lock for reading at that point is never dispatched and never times out, so the writer waits forever with all logical units quiesced. On a Lenovo Legion Tab Y700 Gen 5 this ended in a hung task panic. Take clk_scaling_lock before quiescing the tagset, and in ufshcd_clock_scaling_prepare() also wb_mutex, which is always taken before clk_scaling_lock. Release them in the reverse order. Commit b52d695d0620 ("scsi: ufs: core: Keep internal commands dispatchable during error handling") fixed the same problem in the error handler.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 to < c378d4fdb6c7244c3458af886e2bab61f8f56d13 (affected · git)08b12cda6c44dc015bcc152613c35ee0ae8f37b9 to < 2327df6d2a290af62a6da21b2ad301848bb86002 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
scsi: ufs: core: Fix a deadlock between clock scaling and device commands
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f2133505d4015155759a03ab023116679b82f575cba67de0f4bb523d1062bce0
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record