Description
In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ce - 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-ce support which is one of the only remaining ones. Note that the sun8i-ce support for hwrng remains in place. That is the interface that actually matters. 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. There's no point in fixing this 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
5eb7e946888493959b1c393144934afcbcd0cfc1 to < 19588f78db582ba4c47b4001bb27f39bb19dc432affected5eb7e946888493959b1c393144934afcbcd0cfc1 to < ce641e75e0fc912acd4bf661367617561bc7c63faffected5eb7e946888493959b1c393144934afcbcd0cfc1 to < b69af40720cabd13da763575022a3d4430b02dfcaffected5eb7e946888493959b1c393144934afcbcd0cfc1 to < 2c8fa2299789282db1aac566a60c2012a5ba8ea8affected5eb7e946888493959b1c393144934afcbcd0cfc1 to < 7bb9e6060710eb7b59491d9826169190297adaceaffected5eb7e946888493959b1c393144934afcbcd0cfc1 to < 8e4f9110aba3127024646ef7a8999dcfcc03f516affected5eb7e946888493959b1c393144934afcbcd0cfc1 to < 1017f987c5f0841f00408a78f947990c9d84b346affected5eb7e946888493959b1c393144934afcbcd0cfc1 to < 011556f71d094da61379ae3672692cae2795304eaffected
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/19588f78db582ba4c47b4001bb27f39bb19dc432 ↗
- https://git.kernel.org/stable/c/ce641e75e0fc912acd4bf661367617561bc7c63f ↗
- https://git.kernel.org/stable/c/b69af40720cabd13da763575022a3d4430b02dfc ↗
- https://git.kernel.org/stable/c/2c8fa2299789282db1aac566a60c2012a5ba8ea8 ↗
- https://git.kernel.org/stable/c/7bb9e6060710eb7b59491d9826169190297adace ↗
- https://git.kernel.org/stable/c/8e4f9110aba3127024646ef7a8999dcfcc03f516 ↗
- https://git.kernel.org/stable/c/1017f987c5f0841f00408a78f947990c9d84b346 ↗
- https://git.kernel.org/stable/c/011556f71d094da61379ae3672692cae2795304e ↗