CVE-2026-64311
published high CVSS 3.1 · 7.8crypto: loongson - Remove broken and unused loongson-rng
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux766b2d724c8df071031412eea902b566a0049c31 to < 037ec8353711c79353b12d5634e0c9ff363a9efa · 766b2d724c8df071031412eea902b566a0049c31 to < 43de8b9f01b7dd2f6ca5360c6bf2f203c02288dc · 766b2d724c8df071031412eea902b566a0049c31 to < af3d1bb9a09daf928fc3f173689fb7904d6a6d4f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.1.7-1.1 | OPENSUSE-SU-2026:11476-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - An attacker reaches the vulnerable driver through local AF_ALG socket operations selecting the "rng" type and "loongson_stdrng" algorithm. No network or physical-device input path invokes it. AC:L - The attacker can repeatedly issue RNG requests and interrupt the waiting thread with signals, causing the asynchronous operation to outlive the interrupted call. Both request initiation and interruption are attacker-controlled. PR:L - AF_ALG RNG creation, binding, acceptance, and generation require only an unprivileged local account and contain no capability check. The CAP_SYS_ADMIN check applies only to the separate CAVP entropy-testing operation. UI:N - The attacker can open and operate the AF_ALG sockets and deliver the signal without any action by another user. S:U - Exploitation compromises the host kernel within the same security authority; this is ordinary local privilege escalation rather than a VM, IOMMU, or other scope-boundary escape. C:H - The documented use-after-free can permit attacker-controlled memory reuse and disclosure of arbitrary kernel or process-sensitive memory. I:H - The use-after-free and outstanding asynchronous engine operation constitute exploitable memory corruption that can potentially provide arbitrary writes or kernel control-flow hijacking. A:H - Use-after-free access or corruption during asynchronous completion can cause a kernel oops, panic, or complete system crash.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 766b2d724c8df071031412eea902b566a0049c31 to < 037ec8353711c79353b12d5634e0c9ff363a9efa (affected · git)766b2d724c8df071031412eea902b566a0049c31 to < 43de8b9f01b7dd2f6ca5360c6bf2f203c02288dc (affected · git)766b2d724c8df071031412eea902b566a0049c31 to < af3d1bb9a09daf928fc3f173689fb7904d6a6d4f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
crypto: loongson - Remove broken and unused loongson-rng
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18fc188f0ef6441de07f92223de3e00c0226ddff8ce50b2c1d9ca01ae6cc33a4
- Ingested
- 23 Sep 2026, 09:25:47 UTC
- Source record
- Official CVE record