CVE-2023-53620: md: fix soft lockup in status_resync
In the Linux kernel, the following vulnerability has been resolved:
md: fix soft lockup in statusresync
statusresync() will calculate 'currresync - recoveryactive' to show user a progress bar like following:
[============>........] resync = 61.4%
'currresync' and 'recoveryactive' is updated in mddosync(), and statusresync() can read them concurrently, hence it's possible that 'currresync - recoveryactive' can overflow to a huge number. In this case statusresync() will be stuck in the loop to print a large amount of '=', which will end up soft lockup.
Fix the problem by setting 'resync' to MDRESYNCACTIVE in this case, this way resync in progress will be reported to user.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.37-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.3.7-1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.30 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.15-1 - Configuration
Set resync to MD_RESYNC_ACTIVE when curr_resync - recovery_active can overflow, so resync in progress is reported to the user.
Linux kernel status_resync() resync = MD_RESYNC_ACTIVE
Event History
Frequently Asked Questions
What is the severity of CVE-2023-53620?
CVE-2023-53620 has a medium severity rating which indicates potential performance issues in the Linux kernel.
How do I fix CVE-2023-53620?
To fix CVE-2023-53620, update your Linux kernel to the latest version available that addresses this vulnerability.
What system versions are affected by CVE-2023-53620?
CVE-2023-53620 affects Linux kernel versions between 2.6.12 and 6.3.4, as well as specific release candidates.
What type of vulnerability is CVE-2023-53620?
CVE-2023-53620 is identified as a performance-related vulnerability that can cause soft lockup in the Linux kernel.
What are the potential impacts of CVE-2023-53620?
The potential impacts of CVE-2023-53620 include reduced system responsiveness due to soft lockups during status resynchronization.