In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: core: Fix another deadlock during RTC update
If ufshcdrtcwork calls ufshcdrpmputsync() and the pm's usagecount is 0, we will enter the runtime suspend callback. However, the runtime suspend callback will wait to flush ufshcdrtcwork, causing a deadlock.
Replace ufshcdrpmputsync() with ufshcdrpm_put() to avoid the deadlock.