CVE-2023-52615

medium

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.

References

https://git.kernel.org/stable/c/ecabe8cd456d3bf81e92c53b074732f3140f170d

https://git.kernel.org/stable/c/eafd83b92f6c044007a3591cbd476bcf90455990

https://git.kernel.org/stable/c/c6a8111aacbfe7a8a70f46cc0de8eed00561693c

https://git.kernel.org/stable/c/aa8aa16ed9adf1df05bb339d588cf485a011839e

https://git.kernel.org/stable/c/78aafb3884f6bc6636efcc1760c891c8500b9922

https://git.kernel.org/stable/c/6822a14271786150e178869f1495cc03e74c5029

https://git.kernel.org/stable/c/5030d4c798863ccb266563201b341a099e8cdd48

https://git.kernel.org/stable/c/26cc6d7006f922df6cc4389248032d955750b2a0

Details

Source: Mitre, NVD

Published: 2024-03-18

Updated: 2024-11-04

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:L/AC:L/Au:M/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 4.4

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Severity: Medium