CVE-2024-43820: dm-raid: Fix WARN_ON_ONCE check for sync_thread in raid_resume

Published Aug 17, 2024
·
Updated

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

dm-raid: Fix WARNONONCE check for syncthread in raidresume

rm-raid devices will occasionally trigger the following warning when being resumed after a table load because DMRECOVERYRUNNING is set:

WARNING: CPU: 7 PID: 5660 at drivers/md/dm-raid.c:4105 raidresume+0xee/0x100 [dmraid]

The failing check is: WARNONONCE(testbit(MDRECOVERYRUNNING, &mddev->recovery));

This check is designed to make sure that the sync thread isn't registered, but mdcheckrecovery can set MDRECOVERYRUNNING without the syncthread ever getting registered. Instead of checking if MDRECOVERYRUNNING is set, check if syncthread is non-NULL.

Affected Software

3 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
Linux Linux kernel>=6.7.12<6.8
Linux Linux kernel>=6.8.3<6.10.3

Event History

Aug 17, 2024
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via NVD·10:15 AM
Description
Data Sourced
via NVD·10:15 AM
RemedySeverityAffected Software
Jan 9, 2025
Data Sourced
via Ubuntu·06:28 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-43820?

CVE-2024-43820 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-43820?

To fix CVE-2024-43820, update the Linux kernel to version 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, or 6.12.11-1.

3

What systems are affected by CVE-2024-43820?

CVE-2024-43820 affects systems running specific versions of the Linux kernel, notably Debian and Ubuntu-based distributions.

4

What is the impact of CVE-2024-43820?

The impact of CVE-2024-43820 may include incorrect warning messages when dm-raid devices are resumed after a table load.

5

Is CVE-2024-43820 actively exploited?

There is currently no public information indicating that CVE-2024-43820 is being actively exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203