{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99936","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.447Z","datePublished":"2026-11-30T13:18:26.206Z","dateUpdated":"2026-11-30T13:18:26.206Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:18:26.206Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ufs/core/ufshcd.c"],"versions":[{"version":"08b12cda6c44dc015bcc152613c35ee0ae8f37b9","lessThan":"c378d4fdb6c7244c3458af886e2bab61f8f56d13","status":"affected","versionType":"git"},{"version":"08b12cda6c44dc015bcc152613c35ee0ae8f37b9","lessThan":"2327df6d2a290af62a6da21b2ad301848bb86002","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ufs/core/ufshcd.c"],"versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/c378d4fdb6c7244c3458af886e2bab61f8f56d13"},{"url":"https://git.kernel.org/stable/c/2327df6d2a290af62a6da21b2ad301848bb86002"}],"title":"scsi: ufs: core: Fix a deadlock between clock scaling and device commands","x_generator":{"engine":"bippy-1.2.0"}}}}