CVE-2024-35808

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35808
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35808.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35808
Downstream
Related
Published
2024-05-17T13:23:15.515Z
Modified
2025-11-27T02:32:45.367757Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/35xxx/CVE-2024-35808.json"
}
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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
be83651f0050ca8621d58d35dad558e9c45cb18f
Fixed
9e59b8d76ff511505eb0dd1478329f09e0f04669
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
be83651f0050ca8621d58d35dad558e9c45cb18f
Fixed
cd32b27a66db8776d8b8e82ec7d7dde97a8693b0

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.0
Fixed
6.7.12
Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.8.3