[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100709-CVE-2023-53620-3924@gregkh>
Date: Tue, 7 Oct 2025 17:19:25 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53620: md: fix soft lockup in status_resync
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
md: fix soft lockup in status_resync
status_resync() will calculate 'curr_resync - recovery_active' to show
user a progress bar like following:
[============>........] resync = 61.4%
'curr_resync' and 'recovery_active' is updated in md_do_sync(), and
status_resync() can read them concurrently, hence it's possible that
'curr_resync - recovery_active' can overflow to a huge number. In this
case status_resync() 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 MD_RESYNC_ACTIVE in this case,
this way resync in progress will be reported to user.
The Linux kernel CVE team has assigned CVE-2023-53620 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.30 with commit b4acb6c3ede88d6b7d33742a09e63cfce5e7fb69
Fixed in 6.3.4 with commit 23309704e90859af2662bedc44101e6d1d2ece7e
Fixed in 6.4 with commit 6efddf1e32e2a264694766ca485a4f5e04ee82a7
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-2023-53620
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/md/md.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/b4acb6c3ede88d6b7d33742a09e63cfce5e7fb69
https://git.kernel.org/stable/c/23309704e90859af2662bedc44101e6d1d2ece7e
https://git.kernel.org/stable/c/6efddf1e32e2a264694766ca485a4f5e04ee82a7
Powered by blists - more mailing lists