All reports
Medium

kernel: kunit: Fix kthread reference

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-38561

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-22

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 flaw was found in the Linux kernel's KUnit (Kernel Unit Testing) framework. A timing issue, known as a race condition, occurs when an internal background thread finishes after its deadline but before it is stopped, resulting in memory being accessed after it has been freed. A local attacker could exploit this flaw to crash the operating system, causing a denial of service (DoS), or potentially execute code to gain elevated privileges.