Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < eafd83b92f6c044007a3591cbd476bcf90455990affected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < 5030d4c798863ccb266563201b341a099e8cdd48affected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < c6a8111aacbfe7a8a70f46cc0de8eed00561693caffected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < 26cc6d7006f922df6cc4389248032d955750b2a0affected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < aa8aa16ed9adf1df05bb339d588cf485a011839eaffected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < ecabe8cd456d3bf81e92c53b074732f3140f170daffected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < 6822a14271786150e178869f1495cc03e74c5029affected
  • 9996508b3353063f2d6c48c1a28a84543d72d70b to < 78aafb3884f6bc6636efcc1760c891c8500b9922affected

Linux Linux

Default version status: affected

  • 2.6.33affected
  • 0 to < 2.6.33unaffected
  • 4.19.307 to ≤ 4.19.*unaffected
  • 5.4.269 to ≤ 5.4.*unaffected
  • 5.10.210 to ≤ 5.10.*unaffected
  • 5.15.149 to ≤ 5.15.*unaffected
  • 6.1.76 to ≤ 6.1.*unaffected
  • 6.6.15 to ≤ 6.6.*unaffected
  • 6.7.3 to ≤ 6.7.*unaffected
  • 6.8 to ≤ *unaffected

References