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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-03-18T10:14:45.503Z
- Modified: 2026-06-17T06:43:10.067Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9996508b3353063f2d6c48c1a28a84543d72d70b before eafd83b92f6c044007a3591cbd476bcf90455990; from 9996508b3353063f2d6c48c1a28a84543d72d70b before 5030d4c798863ccb266563201b341a099e8cdd48; from 9996508b3353063f2d6c48c1a28a84543d72d70b before c6a8111aacbfe7a8a70f46cc0de8eed00561693c; from 9996508b3353063f2d6c48c1a28a84543d72d70b before 26cc6d7006f922df6cc4389248032d955750b2a0; from 9996508b3353063f2d6c48c1a28a84543d72d70b before aa8aa16ed9adf1df05bb339d588cf485a011839e; from 9996508b3353063f2d6c48c1a28a84543d72d70b before ecabe8cd456d3bf81e92c53b074732f3140f170d; from 9996508b3353063f2d6c48c1a28a84543d72d70b before 6822a14271786150e178869f1495cc03e74c5029; from 9996508b3353063f2d6c48c1a28a84543d72d70b before 78aafb3884f6bc6636efcc1760c891c8500b9922; 2.6.33 (not affected: before 2.6.33; from 4.19.307 up to 4.19.*; from 5.4.269 up to 5.4.*; from 5.10.210 up to 5.10.*; from 5.15.149 up to 5.15.*; from 6.1.76 up to 6.1.*; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 2.6.33 before 4.19.307; from 4.20 before 5.4.269; from 5.5 before 5.10.210; from 5.11 before 5.15.149; from 5.16 before 6.1.76; from 6.2 before 6.6.15; from 6.7 before 6.7.3

## References

- <https://git.kernel.org/stable/c/eafd83b92f6c044007a3591cbd476bcf90455990> (patch)
- <https://git.kernel.org/stable/c/5030d4c798863ccb266563201b341a099e8cdd48> (patch)
- <https://git.kernel.org/stable/c/c6a8111aacbfe7a8a70f46cc0de8eed00561693c> (patch)
- <https://git.kernel.org/stable/c/26cc6d7006f922df6cc4389248032d955750b2a0> (patch)
- <https://git.kernel.org/stable/c/aa8aa16ed9adf1df05bb339d588cf485a011839e> (patch)
- <https://git.kernel.org/stable/c/ecabe8cd456d3bf81e92c53b074732f3140f170d> (patch)
- <https://git.kernel.org/stable/c/6822a14271786150e178869f1495cc03e74c5029> (patch)
- <https://git.kernel.org/stable/c/78aafb3884f6bc6636efcc1760c891c8500b9922> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (patch)

## Sources

- CVE List: [CVE-2023-52615](https://www.cve.org/CVERecord?id=CVE-2023-52615), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52615](https://nvd.nist.gov/vuln/detail/CVE-2023-52615), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52615 · Whole record: https://cve.day/CVE-2023-52615.json · Rebuilt by cve.day 2026-11-25T22:58:33.358Z
