crypto: sun8i-ce - Remove crypto_rng interface
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.109, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in 19588f78db582ba4c47b4001bb27f39bb19dc432; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in ce641e75e0fc912acd4bf661367617561bc7c63f; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in b69af40720cabd13da763575022a3d4430b02dfc; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in 2c8fa2299789282db1aac566a60c2012a5ba8ea8; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in 7bb9e6060710eb7b59491d9826169190297adace; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in 8e4f9110aba3127024646ef7a8999dcfcc03f516; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in 1017f987c5f0841f00408a78f947990c9d84b346; From 5eb7e946888493959b1c393144934afcbcd0cfc1 · fixed in 011556f71d094da61379ae3672692cae2795304e
- Linux Linux
5.10
- KernelLinux
From 5.10.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.3
References 8
git.kernel.org
- stable/c/19588f78db582ba4c47b4001bb27f39bb19dc432
- stable/c/ce641e75e0fc912acd4bf661367617561bc7c63f
- stable/c/b69af40720cabd13da763575022a3d4430b02dfc
- stable/c/2c8fa2299789282db1aac566a60c2012a5ba8ea8
- stable/c/7bb9e6060710eb7b59491d9826169190297adace
- stable/c/8e4f9110aba3127024646ef7a8999dcfcc03f516
- stable/c/1017f987c5f0841f00408a78f947990c9d84b346
- stable/c/011556f71d094da61379ae3672692cae2795304e