scsi: ufs: core: Fix another deadlock during RTC update
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.11.76.12In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: core: Fix another deadlock during RTC update
If ufshcd_rtc_work calls ufshcd_rpm_put_sync() and the pm's usage_count is 0, we will enter the runtime suspend callback. However, the runtime suspend callback will wait to flush ufshcd_rtc_work, causing a deadlock.
Replace ufshcd_rpm_put_sync() with ufshcd_rpm_put() to avoid the deadlock.
From the CVE record · Linux
The Linux kernel’s SCSI UFS core can deadlock during an RTC update if the RTC work calls ufshcd_rpm_put_sync() when the power-management usage count is zero. The description does not identify an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the affected SCSI UFS core should check their versions against the vendor advisory; affected versions are not specified.