PT-2024-9787 · Linux+10 · Linux Kernel+10

Nigel Croxon

·

Published

2024-05-02

·

Updated

2025-09-29

·

CVE-2024-38598

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.37
Description: A vulnerability in the Linux kernel's md component is related to incorrect locking, which can cause a softlockup when the bitmap size is less than the array size. This issue can be triggered by running lvextend and lvchange --syncaction commands on dm-raid10 configurations, leading to a soft lockup. The root cause is a commit that returns early from md bitmap get counter() without setting returned blocks. The problem is fixed by always setting returned blocks from md bitmap get counter(), as it used to be. However, the case where the bitmap size doesn't match the array size still needs to be fixed.
Recommendations: To resolve this issue, update the Linux kernel to version 6.6.37 or later. As a temporary workaround, consider disabling the md do sync function until a patch is available. Restrict access to the md bitmap start sync function to minimize the risk of exploitation. Avoid using the lvextend and lvchange --syncaction commands on dm-raid10 configurations until the issue is resolved.

Exploit

Fix

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-13979
ALT-PU-2024-14046
ALT-PU-2024-17597
BDU:2024-11550
CESA-2024_5101
CVE-2024-38598
DLA-3840-1
DSA-5730-1
INFSA-2024_5101
INFSA-2024_9315
MGASA-2024-0263
MGASA-2024-0266
OESA-2024-1836
OESA-2024-1839
OESA-2024-1860
OPENSUSE-SU-2024_2947-1
RHSA-2024:5101
RHSA-2024:6993
RHSA-2024:9315
RHSA-2024_5101
RHSA-2024_9315
RHSA-2025:0057
RLSA-2024:5101
RXSA-2024:5101
SUSE-SU-2024:2493-1
SUSE-SU-2024:2561-1
SUSE-SU-2024:2802-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2896-1
SUSE-SU-2024:2901-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6949-1
USN-6949-2
USN-6951-1
USN-6951-2
USN-6951-3
USN-6951-4
USN-6952-1
USN-6952-2
USN-6953-1
USN-6955-1
USN-6979-1
USN-7007-1
USN-7007-2
USN-7007-3
USN-7009-1
USN-7009-2
USN-7019-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu