CVE-2026-74438

crypto: sun4i-ss - Remove insecure and unused rng_alg

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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

crypto: sun4i-ss - Remove insecure and unused rng_alg

Remove sun4i_ss_rng, as it is insecure and unused:

- It has multiple vulnerabilities. sun4i_ss_prng_seed() is missing locking and has a buffer overflow. sun4i_ss_prng_generate() fails to fill the entire buffer with cryptographic random bytes, because it rounds the destination length down and also doesn't actually wait for the hardware to be ready before pulling bytes from it.

- No user of this code is known. It's usable only theoretically via the "rng" algorithm type of AF_ALG. But userspace actually just uses the actual Linux RNG (/dev/random etc) instead. And rng_algs don't contribute entropy to the actual Linux RNG either. (This may have been confused with hwrng, which does contribute entropy.)

The sun4i_ss_prng_seed() buffer overflow was reported by Tianchu Chen and discovered by Atuin - Automated Vulnerability Discovery Engine

There's no point in fixing all these vulnerabilities individually when this is unused code, so let's just remove it.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before 2eafecaba1b46bb9774eaf3556619fd5b6a17c1cAffected
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before ee2458f8188732aa53a5d42f56e87bfad288b44eAffected
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before 306ded31bfa00a69d25823a60d7c797170bfb4f8Affected
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before e4b7b9819811c4c51064c3d3d3c02f0be7491707Affected
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before c401492e01c7bfd38cf14c94d85c7efafe7d1a25Affected
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before 9c8086d9511189c34dfa3f9e3a03f2bee12f56a5Affected
  • b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 to before b2c41fa9dd8fc740c489e060b199165771f268d1Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.