CVE-2026-99936
not scored yetscsi: ufs: core: Fix a deadlock between clock scaling and device commands
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.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 08b12cda6c44dc015bcc152613c35ee0ae8f37b9, < c378d4fdb6c7244c3458af886e2bab61f8f56d13; >= 08b12cda6c44dc015bcc152613c35ee0ae8f37b9, < 2327df6d2a290af62a6da21b2ad301848bb86002 | c378d4fdb6c7244c3458af886e2bab61f8f56d13, 2327df6d2a290af62a6da21b2ad301848bb86002 |
| CVE List | Linux | Linux | = 6.19 |
References
- https://git.kernel.org/stable/c/2327df6d2a290af62a6da21b2ad301848bb86002
- https://git.kernel.org/stable/c/c378d4fdb6c7244c3458af886e2bab61f8f56d13
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)