CVE-2024-26755

MEDIUM

Linux Kernel 6.7-6.7.6 - Deadlock via Interrupted Reshape and Spare Disk Addition

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.3
EPSS 0.0065
EPSS Percentile 46.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-129
Status published
Products (9)
linux/Kernel 6.7.0 - 6.7.7linux
Linux/Linux < 6.7
Linux/Linux 6.7
Linux/Linux 6.7.7 - 6.7.*
Linux/Linux 6.8
Linux/Linux bc08041b32abe6c9824f78735bac22018eabfc06 - 60d6130d0ac1d883ed93c2a1e10aadb60967fd48
Linux/Linux bc08041b32abe6c9824f78735bac22018eabfc06 - 9e46c70e829bddc24e04f963471e9983a11598b7
linux/linux_kernel 6.8 rc1 (5 CPE variants)
linux/linux_kernel 6.7 - 6.7.7
Published Apr 03, 2024
Tracked Since Feb 18, 2026