CVE-2026-64311
Received Received - Intake

Unused loongson-rng Driver Removal in Linux Kernel

Vulnerability report for CVE-2026-64311, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-25

Last updated on: 2026-07-25

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: loongson - Remove broken and unused loongson-rng The loongson-rng rng_alg has several vulnerabilities, including not providing forward security, and a use-after-free bug due to the use of wait_for_completion_interruptible(). Meanwhile, the rng_alg framework doesn't really have any purpose in the first place other than to access the software algorithms crypto/drbg.c and crypto/jitterentropy.c. Hardware-specific rng_algs have no in-kernel user, and unlike hwrng there's no feed into the actual Linux RNG. As such, there's really no point to this code. There are of course other rng_alg drivers that are similarly unused, but they're similarly in the process of being phased out, e.g. https://lore.kernel.org/r/[email protected] and https://lore.kernel.org/r/[email protected] Given that, there's no point in fixing forward these vulnerabilities, and it makes much more sense to simply roll back the addition of this driver. If this platform provides TRNG (not PRNG) functionality, it could make sense to add a hwrng driver, but it would be quite different.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-07-25
Generated
2026-07-25
AI Q&A
2026-07-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the loongson-rng driver in the Linux kernel, which was found to have security flaws including lack of forward security and a use-after-free bug due to improper use of wait_for_completion_interruptible(). The driver was deemed unnecessary as it did not serve a real purpose and was not used in the kernel.

Detection Guidance

This vulnerability is specific to the Linux kernel's loongson-rng driver. Detection involves checking if the vulnerable driver is loaded on your system. Use the command 'lsmod | grep loongson_rng' to see if the module is loaded. If it is, the system is affected.

Impact Analysis

The vulnerability could lead to security risks such as data exposure or system instability due to the use-after-free bug. However, since the driver was unused and is being removed, the practical impact is likely minimal for most users.

Mitigation Strategies

The recommended mitigation is to remove the loongson-rng driver from the kernel. Unload the module using 'sudo rmmod loongson_rng' if loaded. If the module is built into the kernel, update to a patched kernel version that removes this driver entirely.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64311. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart