CVE-2024-43820

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-43820
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43820.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-43820
Downstream
Related
Published
2024-08-17T10:15:08Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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(MDRECOVERY_RUNNING, &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.

References

Affected packages