CVE-2024-35808

Source
https://cve.org/CVERecord?id=CVE-2024-35808
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35808.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35808
Downstream
Related
Published
2024-05-17T13:23:15.515Z
Modified
2026-03-14T12:34:02.508045Z
Summary
md/dm-raid: don't call md_reap_sync_thread() directly
Details

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

md/dm-raid: don't call mdreapsync_thread() directly

Currently mdreapsyncthread() is called from raidmessage() directly without holding 'reconfigmutex', this is definitely unsafe because mdreapsyncthread() can change many fields that is protected by 'reconfig_mutex'.

However, hold 'reconfigmutex' here is still problematic because this will cause deadlock, for example, commit 130443d60b1b ("md: refactor idle/frozensync_thread() to fix deadlock").

Fix this problem by using stopsyncthread() to unregister sync_thread, like md/raid did.

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

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
be83651f0050ca8621d58d35dad558e9c45cb18f
Fixed
347dcdc15a1706f61aa545ae498ededdf31aeebc
Fixed
9e59b8d76ff511505eb0dd1478329f09e0f04669
Fixed
cd32b27a66db8776d8b8e82ec7d7dde97a8693b0

Database specific

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