PT-2026-43816 · Linux · Linux Kernel
CVE-2026-45949
·
Published
2026-05-27
·
Updated
2026-07-18
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A race condition exists in the hardware random number generator (hwrng) core. The
hwrng fill pointer is not cleared until the hwrng fillfn() thread exits. Because hwrng unregister() reads hwrng fill without the rng mutex lock, concurrent calls to hwrng unregister() can trigger kthread stop() multiple times on the same task. Furthermore, if hwrng unregister() is called immediately after hwrng register(), the thread may not have executed, leaving hwrng fill dirty. This leads to subsequent hwrng register() calls failing to start new threads and hwrng unregister() calling kthread stop() on a freed task, resulting in a use-after-free scenario. The issue involves the following functions: hwrng unregister(), hwrng register(), kthread stop(), kthread run(), get current rng(), and drop current rng().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel