CVE-2024-38561 Details
Description
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.
A use-after-free vulnerability has been introduced in the Linux kernel's Kunit testing framework. This issue arises from a race condition in the management of kernel threads (kthreads). Specifically, the vulnerability occurs when a kthread completes its execution after a specified deadline but before it is properly terminated using 'kthread_stop()'. This timing discrepancy can lead to a use-after-free scenario, where memory that is no longer valid is accessed, potentially causing instability or security issues.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit that addresses this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 20, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.18, < 6.1.93 >= 6.2, < 6.6.33 >= 6.7, < 6.8.12 >= 6.9, < 6.9.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 30, 2024 | Initial Analysis | [email protected] |
| Jun 19, 2024 | New CVE Received | kernel.org |