Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ac2614d721dea2ff273af19c6c5d508d58a2bb3e to < 9127d2a88c1795ddc4ba7687fea01cab1908fae1affectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < 64f3406ad082c00fb7a80240a24943ccb6d9a538affectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < 6117968fe2cdcde28ac3aa6ec814485320af4049affectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < a41e4ba94ad4571aa2e566baa395e6e871e0fd4faffectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < d29ccf9eeb67d775221e49a079caa1af83427afaaffectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < 7c257a295e05ceb8f78aa3efecc4e9ce19c3313faffectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < 8ab58786b4c63b8f1b6c522f33bb67a3c8c2791faffectedac2614d721dea2ff273af19c6c5d508d58a2bb3e to < a78446ee6fae86ac8733f120e3ffce2e5d9384f5affected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.3 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9127d2a88c1795ddc4ba7687fea01cab1908fae1 ↗
- https://git.kernel.org/stable/c/64f3406ad082c00fb7a80240a24943ccb6d9a538 ↗
- https://git.kernel.org/stable/c/6117968fe2cdcde28ac3aa6ec814485320af4049 ↗
- https://git.kernel.org/stable/c/a41e4ba94ad4571aa2e566baa395e6e871e0fd4f ↗
- https://git.kernel.org/stable/c/d29ccf9eeb67d775221e49a079caa1af83427afa ↗
- https://git.kernel.org/stable/c/7c257a295e05ceb8f78aa3efecc4e9ce19c3313f ↗
- https://git.kernel.org/stable/c/8ab58786b4c63b8f1b6c522f33bb67a3c8c2791f ↗
- https://git.kernel.org/stable/c/a78446ee6fae86ac8733f120e3ffce2e5d9384f5 ↗