CVE-2023-53998
kernel: hwrng: virtio - Fix race on data_avail and actual data
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 24, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's virtio hardware random number generator driver. A race condition exists between the writer updating entropy data and a reader accessing it, due to missing memory barriers. This could potentially result in a reader accessing stale or partially written entropy data.
Statement
This race condition affects the virtio-rng driver used in virtualized environments. While the bug could theoretically impact the quality of random data returned, the practical security impact is limited since the entropy pool has other sources of randomness. The issue does not cause crashes and primarily affects data consistency.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-820 · Missing Synchronization