# CVE-2024-26755: md: Don't suspend the array for interrupted reshape

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-04-03T17:00:39.888Z
- Modified: 2026-06-17T07:18:15.770Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

md: Don't suspend the array for interrupted reshape

md_start_sync() will suspend the array if there are spares that can be
added or removed from conf, however, if reshape is still in progress,
this won't happen at all or data will be corrupted(remove_and_add_spares
won't be called from md_choose_sync_action for reshape), hence there is
no need to suspend the array if reshape is not done yet.

Meanwhile, there is a potential deadlock for raid456:

1) reshape is interrupted;

2) set one of the disk WantReplacement, and add a new disk to the array,
   however, recovery won't start until the reshape is finished;

3) then issue an IO across reshpae position, this IO will wait for
   reshape to make progress;

4) continue to reshape, then md_start_sync() found there is a spare disk
   that can be added to conf, mddev_suspend() is called;

Step 4 and step 3 is waiting for each other, deadlock triggered. Noted
this problem is found by code review, and it's not reporduced yet.

Fix this porblem by don't suspend the array for interrupted reshape,
this is safe because conf won't be changed until reshape is done.

(As written by CVE List.)

## Affected

- Linux Linux: from bc08041b32abe6c9824f78735bac22018eabfc06 before 60d6130d0ac1d883ed93c2a1e10aadb60967fd48; from bc08041b32abe6c9824f78735bac22018eabfc06 before 9e46c70e829bddc24e04f963471e9983a11598b7; 6.7 (not affected: before 6.7; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.7 before 6.7.7; 6.8

## References

- <https://git.kernel.org/stable/c/60d6130d0ac1d883ed93c2a1e10aadb60967fd48> (patch)
- <https://git.kernel.org/stable/c/9e46c70e829bddc24e04f963471e9983a11598b7> (patch)

## Sources

- CVE List: [CVE-2024-26755](https://www.cve.org/CVERecord?id=CVE-2024-26755), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26755](https://nvd.nist.gov/vuln/detail/CVE-2024-26755), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26755 · Whole record: https://cve.day/CVE-2024-26755.json · Rebuilt by cve.day 2026-11-25T22:58:38.685Z
