crypto: sun8i-ss - Remove crypto_rng interface
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6117968fe2cdcde28ac3aa6ec814485320af4049, Kernel 64f3406ad082c00fb7a80240a24943ccb6d9a538, Kernel 7c257a295e05ceb8f78aa3efecc4e9ce19c3313f and 5 more.
In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ss - Remove crypto_rng interface Since the crypto_rng interface for hardware PRNGs is unused and is redundant with hwrng and the actual Linux RNG, it's being phased out. Most drivers for it were already removed. Go ahead and remove the sun8i-ss support which is one of the only remaining ones. As usual for crypto_rng, this driver was also buggy: its ->generate() function had a use-after-free vulnerability due to using wait_for_completion_interruptible_timeout() without handling shutting down the DMA operation if a signal is sent. Also, it had a buffer overread bug in the line 'memcpy(ctx->seed, d + dlen, ctx->slen);'. There's no point in fixing these bugs separately only to remove the code anyway, so this commit is marked with Fixes and Cc stable.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.10, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <6117968fe2cdcde28ac3aa6ec814485320af4049, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <64f3406ad082c00fb7a80240a24943ccb6d9a538, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <7c257a295e05ceb8f78aa3efecc4e9ce19c3313f, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <8ab58786b4c63b8f1b6c522f33bb67a3c8c2791f, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <9127d2a88c1795ddc4ba7687fea01cab1908fae1, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <a41e4ba94ad4571aa2e566baa395e6e871e0fd4f, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <a78446ee6fae86ac8733f120e3ffce2e5d9384f5, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <d29ccf9eeb67d775221e49a079caa1af83427afa | 6117968fe2cdcde28ac3aa6ec814485320af4049, 64f3406ad082c00fb7a80240a24943ccb6d9a538, 7c257a295e05ceb8f78aa3efecc4e9ce19c3313f, 8ab58786b4c63b8f1b6c522f33bb67a3c8c2791f, 9127d2a88c1795ddc4ba7687fea01cab1908fae1, a41e4ba94ad4571aa2e566baa395e6e871e0fd4f, a78446ee6fae86ac8733f120e3ffce2e5d9384f5, d29ccf9eeb67d775221e49a079caa1af83427afa |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket