{"id":"CVE-2026-99936","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:30.463","lastModified":"2026-11-30T14:20:30.463","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Fix a deadlock between clock scaling and device commands\n\nSince commit 08b12cda6c44 (\"scsi: ufs: core: Switch to\nscsi_get_internal_cmd()\"), device management commands go through\nblk_execute_rq() on the pseudo SCSI device, which shares the tagset with\nthe logical units, while ufshcd_dev_man_lock() holds clk_scaling_lock for\nreading.\n\nufshcd_clock_scaling_prepare() and ufshcd_pause_command_processing()\nquiesce the tagset before taking clk_scaling_lock for writing. A device\nmanagement command holding the lock for reading at that point is never\ndispatched and never times out, so the writer waits forever with all\nlogical units quiesced. On a Lenovo Legion Tab Y700 Gen 5 this ended in a\nhung task panic.\n\nTake clk_scaling_lock before quiescing the tagset, and in\nufshcd_clock_scaling_prepare() also wb_mutex, which is always taken before\nclk_scaling_lock. Release them in the reverse order. Commit b52d695d0620\n(\"scsi: ufs: core: Keep internal commands dispatchable during error\nhandling\") fixed the same problem in the error handler."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/ufs/core/ufshcd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"08b12cda6c44dc015bcc152613c35ee0ae8f37b9","lessThan":"c378d4fdb6c7244c3458af886e2bab61f8f56d13","versionType":"git","status":"affected"},{"version":"08b12cda6c44dc015bcc152613c35ee0ae8f37b9","lessThan":"2327df6d2a290af62a6da21b2ad301848bb86002","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/ufs/core/ufshcd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2327df6d2a290af62a6da21b2ad301848bb86002","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c378d4fdb6c7244c3458af886e2bab61f8f56d13","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}