CyberRota Analysis
AI-GeneratedThe vulnerability affects the sun8i-ss driver in the Linux kernel, which is associated with the crypto_rng interface for hardware pseudo-random number generators (PRNGs). The impact includes a use-after-free vulnerability and a buffer overread issue, both of which could lead to potential data exposure or system instability. Organizations using affected Linux kernel versions, particularly those relying on the sun8i-ss driver for cryptographic functions, should prioritize this update to mitigate associated risks.
Original NVD 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.