CVE-2026-64311·Kernel vulnerability
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/20260529193648.18172-1-ebiggers@kernel.org and https://lore.kernel.org/r/20260529220430.34135-1-ebiggers@kernel.org 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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64311 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to remove the vulnerable loongson-rng driver, which contained a use-after-free bug and lacked forward security guarantees. The loongson-rng component has been completely removed from the kernel as it provided no practical in-kernel functionality and posed security risks. Prioritize this update for systems running kernel versions 6.19 through 7.1.3 on Loongson-based architectures.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r (should be 7.1.4 or later)
- Verify loongson-rng module status: lsmod | grep loongson_rng (should return no results on patched systems)
- Review kernel compile configuration for loongson RNG: grep -i loongson /boot/config-$(uname -r) (should show no loongson_rng entries)
- Confirm successful patching: grep -i loongson /var/log/apt/history.log or dnf history (verify kernel update timestamp)
FAQ
What is CVE-2026-64311?
CVE-2026-64311 is a vulnerability in the Linux kernel's loongson-rng (Loongson random number generator) driver that suffers from a use-after-free flaw and lacks forward security. The vulnerable driver was completely removed from the kernel in version 7.1.4 as it served no essential in-kernel purpose.
Is CVE-2026-64311 being actively exploited?
No, CVE-2026-64311 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the vulnerability should still be patched promptly due to its local privilege escalation potential.
What versions of Kernel are affected by CVE-2026-64311?
Linux kernel versions 6.19 through 7.1.3 are affected by this vulnerability. Systems running kernel 7.1.4 or later are patched and no longer vulnerable.
How do I check if my server is vulnerable to CVE-2026-64311?
Run uname -r to check your kernel version; if it shows 6.19 to 7.1.3, you are vulnerable. Additionally, check if loongson-rng is loaded: lsmod | grep loongson_rng will confirm the vulnerable module's presence.
Does Defensia detect CVE-2026-64311?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64311 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64311. Free for 1 server.
Get started free