{"api_version":"1","generated_at":"2026-08-15T08:45:46+00:00","cve":"CVE-2026-74438","urls":{"html":"https://cve.report/CVE-2026-74438","api":"https://cve.report/api/cve/CVE-2026-74438.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74438","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74438"},"summary":{"title":"crypto: sun4i-ss - Remove insecure and unused rng_alg","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: sun4i-ss - Remove insecure and unused rng_alg\n\nRemove sun4i_ss_rng, as it is insecure and unused:\n\n- It has multiple vulnerabilities.  sun4i_ss_prng_seed() is missing\n  locking and has a buffer overflow.  sun4i_ss_prng_generate() fails to\n  fill the entire buffer with cryptographic random bytes, because it\n  rounds the destination length down and also doesn't actually wait for\n  the hardware to be ready before pulling bytes from it.\n\n- No user of this code is known.  It's usable only theoretically via the\n  \"rng\" algorithm type of AF_ALG.  But userspace actually just uses the\n  actual Linux RNG (/dev/random etc) instead.  And rng_algs don't\n  contribute entropy to the actual Linux RNG either.  (This may have\n  been confused with hwrng, which does contribute entropy.)\n\nThe sun4i_ss_prng_seed() buffer overflow was reported by Tianchu Chen\nand discovered by Atuin - Automated Vulnerability Discovery Engine\n\nThere's no point in fixing all these vulnerabilities individually when\nthis is unused code, so let's just remove it.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:45","updated_at":"2026-08-15 06:22:45"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b2c41fa9dd8fc740c489e060b199165771f268d1","name":"https://git.kernel.org/stable/c/b2c41fa9dd8fc740c489e060b199165771f268d1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2eafecaba1b46bb9774eaf3556619fd5b6a17c1c","name":"https://git.kernel.org/stable/c/2eafecaba1b46bb9774eaf3556619fd5b6a17c1c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c401492e01c7bfd38cf14c94d85c7efafe7d1a25","name":"https://git.kernel.org/stable/c/c401492e01c7bfd38cf14c94d85c7efafe7d1a25","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9c8086d9511189c34dfa3f9e3a03f2bee12f56a5","name":"https://git.kernel.org/stable/c/9c8086d9511189c34dfa3f9e3a03f2bee12f56a5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ee2458f8188732aa53a5d42f56e87bfad288b44e","name":"https://git.kernel.org/stable/c/ee2458f8188732aa53a5d42f56e87bfad288b44e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e4b7b9819811c4c51064c3d3d3c02f0be7491707","name":"https://git.kernel.org/stable/c/e4b7b9819811c4c51064c3d3d3c02f0be7491707","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/306ded31bfa00a69d25823a60d7c797170bfb4f8","name":"https://git.kernel.org/stable/c/306ded31bfa00a69d25823a60d7c797170bfb4f8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74438","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74438","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 2eafecaba1b46bb9774eaf3556619fd5b6a17c1c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 ee2458f8188732aa53a5d42f56e87bfad288b44e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 306ded31bfa00a69d25823a60d7c797170bfb4f8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 e4b7b9819811c4c51064c3d3d3c02f0be7491707 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 c401492e01c7bfd38cf14c94d85c7efafe7d1a25 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 9c8086d9511189c34dfa3f9e3a03f2bee12f56a5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 b2c41fa9dd8fc740c489e060b199165771f268d1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/arm/configs/sunxi_defconfig","drivers/crypto/allwinner/Kconfig","drivers/crypto/allwinner/sun4i-ss/Makefile","drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c","drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c","drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2eafecaba1b46bb9774eaf3556619fd5b6a17c1c","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"},{"lessThan":"ee2458f8188732aa53a5d42f56e87bfad288b44e","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"},{"lessThan":"306ded31bfa00a69d25823a60d7c797170bfb4f8","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"},{"lessThan":"e4b7b9819811c4c51064c3d3d3c02f0be7491707","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"},{"lessThan":"c401492e01c7bfd38cf14c94d85c7efafe7d1a25","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"},{"lessThan":"9c8086d9511189c34dfa3f9e3a03f2bee12f56a5","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"},{"lessThan":"b2c41fa9dd8fc740c489e060b199165771f268d1","status":"affected","version":"b8ae5c7387ad075ee61e8c8774ce2bca46bc9236","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/arm/configs/sunxi_defconfig","drivers/crypto/allwinner/Kconfig","drivers/crypto/allwinner/sun4i-ss/Makefile","drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c","drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c","drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.14"},{"lessThan":"4.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.212","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.178","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.212","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.178","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"4.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: sun4i-ss - Remove insecure and unused rng_alg\n\nRemove sun4i_ss_rng, as it is insecure and unused:\n\n- It has multiple vulnerabilities.  sun4i_ss_prng_seed() is missing\n  locking and has a buffer overflow.  sun4i_ss_prng_generate() fails to\n  fill the entire buffer with cryptographic random bytes, because it\n  rounds the destination length down and also doesn't actually wait for\n  the hardware to be ready before pulling bytes from it.\n\n- No user of this code is known.  It's usable only theoretically via the\n  \"rng\" algorithm type of AF_ALG.  But userspace actually just uses the\n  actual Linux RNG (/dev/random etc) instead.  And rng_algs don't\n  contribute entropy to the actual Linux RNG either.  (This may have\n  been confused with hwrng, which does contribute entropy.)\n\nThe sun4i_ss_prng_seed() buffer overflow was reported by Tianchu Chen\nand discovered by Atuin - Automated Vulnerability Discovery Engine\n\nThere's no point in fixing all these vulnerabilities individually when\nthis is unused code, so let's just remove it."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:59:36.044Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2eafecaba1b46bb9774eaf3556619fd5b6a17c1c"},{"url":"https://git.kernel.org/stable/c/ee2458f8188732aa53a5d42f56e87bfad288b44e"},{"url":"https://git.kernel.org/stable/c/306ded31bfa00a69d25823a60d7c797170bfb4f8"},{"url":"https://git.kernel.org/stable/c/e4b7b9819811c4c51064c3d3d3c02f0be7491707"},{"url":"https://git.kernel.org/stable/c/c401492e01c7bfd38cf14c94d85c7efafe7d1a25"},{"url":"https://git.kernel.org/stable/c/9c8086d9511189c34dfa3f9e3a03f2bee12f56a5"},{"url":"https://git.kernel.org/stable/c/b2c41fa9dd8fc740c489e060b199165771f268d1"}],"title":"crypto: sun4i-ss - Remove insecure and unused rng_alg","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74438","datePublished":"2026-08-15T05:59:36.044Z","dateReserved":"2026-08-15T05:44:03.897Z","dateUpdated":"2026-08-15T05:59:36.044Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:45","lastModifiedDate":"2026-08-15 06:22:45","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74438","Ordinal":"1","Title":"crypto: sun4i-ss - Remove insecure and unused rng_alg","CVE":"CVE-2026-74438","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74438","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: sun4i-ss - Remove insecure and unused rng_alg\n\nRemove sun4i_ss_rng, as it is insecure and unused:\n\n- It has multiple vulnerabilities.  sun4i_ss_prng_seed() is missing\n  locking and has a buffer overflow.  sun4i_ss_prng_generate() fails to\n  fill the entire buffer with cryptographic random bytes, because it\n  rounds the destination length down and also doesn't actually wait for\n  the hardware to be ready before pulling bytes from it.\n\n- No user of this code is known.  It's usable only theoretically via the\n  \"rng\" algorithm type of AF_ALG.  But userspace actually just uses the\n  actual Linux RNG (/dev/random etc) instead.  And rng_algs don't\n  contribute entropy to the actual Linux RNG either.  (This may have\n  been confused with hwrng, which does contribute entropy.)\n\nThe sun4i_ss_prng_seed() buffer overflow was reported by Tianchu Chen\nand discovered by Atuin - Automated Vulnerability Discovery Engine\n\nThere's no point in fixing all these vulnerabilities individually when\nthis is unused code, so let's just remove it.","Type":"Description","Title":"crypto: sun4i-ss - Remove insecure and unused rng_alg"}]}}}