[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024111927-CVE-2024-53053-57bf@gregkh>
Date: Tue, 19 Nov 2024 18:19:35 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-53053: scsi: ufs: core: Fix another deadlock during RTC update
Description
===========
In 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.
The Linux kernel CVE team has assigned CVE-2024-53053 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit 6bf999e0eb41 and fixed in 6.11.7 with commit a128cfec4470
Issue introduced in 6.8 with commit 6bf999e0eb41 and fixed in 6.12 with commit cb7e509c4e01
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-53053
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/ufs/core/ufshcd.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/a128cfec44709ab1bd1f01d158569bcb2386f54f
https://git.kernel.org/stable/c/cb7e509c4e0197f63717fee54fb41c4990ba8d3a
Powered by blists - more mailing lists