Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2023-52615
HistoryMar 18, 2024 - 10:14 a.m.

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

2024-03-1810:14:45
Linux
github.com
linux kernel
vulnerability
hwrng device
page fault
dead lock
mmap
copy_to_user

AI Score

7.1

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

AI Score

7.1

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial