CVE-2023-52615
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.3NVD

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: hwrng: core: soluciona el bloqueo de falla de página en mmap-ed hwrng Hay un bloqueo en la ruta de lectura del dispositivo hwrng. Esto se activa cuando el usuario lee desde /dev/hwrng en la memoria y también realiza mmap-ed desde /dev/hwrng. El error de página resultante desencadena una lectura recursiva que luego se bloquea. Solucione este problema utilizando un búfer de pila al llamar a copy_to_user.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52615 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52615 changed 2026-06-17Public domain