CVE-2024-38561

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38561
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38561.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38561
Downstream
Related
Published
2024-06-19T13:35:30.227Z
Modified
2025-11-28T02:34:51.754641Z
Summary
kunit: Fix kthread reference
Details

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

kunit: Fix kthread reference

There is a race condition when a kthread finishes after the deadline and before the call to kthread_stop(), which may lead to use after free.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38561.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
adf505457032c11b79b5a7c277c62ff5d61b17c2
Fixed
1f2ebd3758e1cef6a1f998a1f7ea73310dcb1699
Fixed
1ec7ccb4cd4b6f72c2998b07880fa7aaf8dfe1d4
Fixed
8f5c841a559ccb700c8d27a3ca645b7a5f59b4f5
Fixed
b0b755cb5a5e0d7168c3ab1b3814b0d3cad9f017
Fixed
f8aa1b98ce40184521ed95ec26cc115a255183b2

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.1.93
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.33
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.12
Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.3