CVE-2026-64311CWE-416

CVE-2026-64311

High · published July 25, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
5.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.9th percentile
Weakness
CWE-416 · Use After Free
Published
2026-07-25T14:17Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 6.18, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
References (3)
EPSS history
Timeline
  • 25 JUL 08:49Z
    crypto: loongson - Remove broken and unused loongson-rng
    cvelistv5