What’s Vulnerable › Vulnerabilities

CVE-2023-52615: hwrng: core - Fix page fault dead lock on mmap-ed hwrng

Description

In the Linux kernel, the following vulnerability has been resolved: hwrng: core - Fix page fault dead lock on mmap-ed hwrng There is a dead-lock in the hwrng device read path. This triggers when the user reads from /dev/hwrng into memory also mmap-ed from /dev/hwrng. The resulting page fault triggers a recursive read which then dead-locks. Fix this by using a stack buffer when calling copy_to_user.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.307, 5.10.210, 5.15.149, 5.4.269. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52615 or the next vulnerability affects your stack