crypto: sun8i-ce - 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 011556f71d094da61379ae3672692cae2795304e, Kernel 1017f987c5f0841f00408a78f947990c9d84b346, Kernel 19588f78db582ba4c47b4001bb27f39bb19dc432 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.10, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <011556f71d094da61379ae3672692cae2795304e, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <1017f987c5f0841f00408a78f947990c9d84b346, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <19588f78db582ba4c47b4001bb27f39bb19dc432, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <2c8fa2299789282db1aac566a60c2012a5ba8ea8, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <7bb9e6060710eb7b59491d9826169190297adace, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <8e4f9110aba3127024646ef7a8999dcfcc03f516, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <b69af40720cabd13da763575022a3d4430b02dfc, >=5eb7e946888493959b1c393144934afcbcd0cfc1 <ce641e75e0fc912acd4bf661367617561bc7c63f | 011556f71d094da61379ae3672692cae2795304e, 1017f987c5f0841f00408a78f947990c9d84b346, 19588f78db582ba4c47b4001bb27f39bb19dc432, 2c8fa2299789282db1aac566a60c2012a5ba8ea8, 7bb9e6060710eb7b59491d9826169190297adace, 8e4f9110aba3127024646ef7a8999dcfcc03f516, b69af40720cabd13da763575022a3d4430b02dfc, ce641e75e0fc912acd4bf661367617561bc7c63f |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket