CVE-2026-64311

Source
https://cve.org/CVERecord?id=CVE-2026-64311
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64311.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64311
Downstream
Published
2026-07-25T08:49:43.318Z
Modified
2026-07-28T04:03:03.531808735Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
crypto: loongson - Remove broken and unused loongson-rng
Details

In the Linux kernel, the following vulnerability has been resolved:

crypto: loongson - Remove broken and unused loongson-rng

The loongson-rng rngalg has several vulnerabilities, including not providing forward security, and a use-after-free bug due to the use of waitforcompletioninterruptible().

Meanwhile, the rngalg 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 rngalgs 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64311.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
766b2d724c8df071031412eea902b566a0049c31
Fixed
037ec8353711c79353b12d5634e0c9ff363a9efa
Fixed
43de8b9f01b7dd2f6ca5360c6bf2f203c02288dc
Fixed
af3d1bb9a09daf928fc3f173689fb7904d6a6d4f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64311.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64311.json"