What happened
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 versions
Linux: 5eb7e946888493959b1c393144934afcbcd0cfc1 through before 7bb9e6060710eb7b59491d9826169190297adace (git); 5eb7e946888493959b1c393144934afcbcd0cfc1 through before 8e4f9110aba3127024646ef7a8999dcfcc03f516 (git); 5eb7e946888493959b1c393144934afcbcd0cfc1 through before 1017f987c5f0841f00408a78f947990c9d84b346 (git); 5eb7e946888493959b1c393144934afcbcd0cfc1 through before 011556f71d094da61379ae3672692cae2795304e (git); 5.10 Fixed: See vendor advisory.
Why it matters
Review the vendor advisory and exposure of the affected product to determine operational impact.
Detection & mitigation
- Apply vendor-provided updates or mitigations.
- Review affected product exposure and access logs.
Public PoC references
No public PoC reference has passed the current publication threshold.