← CVE Intelligence

CVE-2023-52615

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 9996508b3353063f2d6c48c1a28a84543d72d70b before eafd83b92f6c044007a3591cbd476bcf90455990; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before 5030d4c798863ccb266563201b341a099e8cdd48; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before c6a8111aacbfe7a8a70f46cc0de8eed00561693c; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before 26cc6d7006f922df6cc4389248032d955750b2a0; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before aa8aa16ed9adf1df05bb339d588cf485a011839e; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before ecabe8cd456d3bf81e92c53b074732f3140f170d; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before 6822a14271786150e178869f1495cc03e74c5029; affected 9996508b3353063f2d6c48c1a28a84543d72d70b before 78aafb3884f6bc6636efcc1760c891c8500b9922
Linux / Linuxaffected 2.6.33; unaffected 0 before 2.6.33; unaffected 4.19.307 through 4.19.*; unaffected 5.4.269 through 5.4.*; unaffected 5.10.210 through 5.10.*; unaffected 5.15.149 through 5.15.*; unaffected 6.1.76 through 6.1.*; unaffected 6.6.15 through 6.6.*; unaffected 6.7.3 through 6.7.*; unaffected 6.8 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.