CVE-2024-43820

Source
https://cve.org/CVERecord?id=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-17T09:21:41.674Z
Modified
2026-05-15T11:53:21.229670864Z
Summary
dm-raid: Fix WARN_ON_ONCE check for sync_thread in raid_resume
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43820.json"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.10.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43820.json"