CVE-2024-43820: dm-raid: Fix WARN_ON_ONCE check for sync_thread in raid_resume
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
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-43820?
CVE-2024-43820 is classified as a medium severity vulnerability in the Linux kernel.
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.
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.
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.
Is CVE-2024-43820 actively exploited?
There is currently no public information indicating that CVE-2024-43820 is being actively exploited.