---
id: CVE-2023-53620
title: 'md: fix soft lockup in status_resync'
summary: |-
  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:

  [============>........…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    b4acb6c3ede88d6b7d33742a09e63cfce5e7fb69
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    23309704e90859af2662bedc44101e6d1d2ece7e
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    6efddf1e32e2a264694766ca485a4f5e04ee82a7
  - Linux 2.6.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:25:44.510528Z'
published: '2025-10-07'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:31:17.729Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53620'
references:
  - url: 'https://git.kernel.org/stable/c/b4acb6c3ede88d6b7d33742a09e63cfce5e7fb69'
  - url: 'https://git.kernel.org/stable/c/23309704e90859af2662bedc44101e6d1d2ece7e'
  - url: 'https://git.kernel.org/stable/c/6efddf1e32e2a264694766ca485a4f5e04ee82a7'
tags:
  - cve.org
epss: 0.00156
epssPercentile: 0.04728
ingestedAt: '2026-11-05T22:38:31.818Z'
---

## Overview

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.

## Affected

- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b4acb6c3ede88d6b7d33742a09e63cfce5e7fb69`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 23309704e90859af2662bedc44101e6d1d2ece7e`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6efddf1e32e2a264694766ca485a4f5e04ee82a7`
- `Linux 2.6.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
