CVE-2023-52615

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

MEDIUM
5.5
CVSS Score
Published: March 18, 2024 at 10:14 AM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.33 ≤ v < 4.19.3072.6.33 ≤ v < 5.10.2102.6.33 ≤ v < 5.15.1492.6.33 ≤ v < 5.4.2692.6.33 ≤ v < 6.1.762.6.33 ≤ v < 6.6.152.6.33 ≤ v < 6.7.32.6.33 ≤ v < 6.84.20 ≤ v < 5.4.2695.11 ≤ v < 5.15.1495.16 ≤ v < 6.1.765.5 ≤ v < 5.10.2106.2 ≤ v < 6.6.156.7 ≤ v < 6.7.32.6.339996508b3353063f2d6c48c1a28a84543d72d70b
Vendor states this is fixed in 26cc6d7006f922df6cc4389248032d955750b2a0 (fixed)
Vendor states this is fixed in 5030d4c798863ccb266563201b341a099e8cdd48 (fixed)
Vendor states this is fixed in 6822a14271786150e178869f1495cc03e74c5029 (fixed)
Vendor states this is fixed in 78aafb3884f6bc6636efcc1760c891c8500b9922 (fixed)
Vendor states this is fixed in aa8aa16ed9adf1df05bb339d588cf485a011839e (fixed)
Vendor states this is fixed in c6a8111aacbfe7a8a70f46cc0de8eed00561693c (fixed)
Vendor states this is fixed in eafd83b92f6c044007a3591cbd476bcf90455990 (fixed)
Vendor states this is fixed in ecabe8cd456d3bf81e92c53b074732f3140f170d (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 4.19.307 (unaffected)
Vendor states this is fixed in 5.10.210 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 5.4.269 (unaffected)
Vendor states this is fixed in 6.1.76 (unaffected)
Vendor states this is fixed in 6.6.15 (unaffected)
Vendor states this is fixed in 6.7.3 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26cc6d7006f922df6cc4389248032d955750b2a0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5030d4c798863ccb266563201b341a099e8cdd48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6822a14271786150e178869f1495cc03e74c5029
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/78aafb3884f6bc6636efcc1760c891c8500b9922
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa8aa16ed9adf1df05bb339d588cf485a011839e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6a8111aacbfe7a8a70f46cc0de8eed00561693c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eafd83b92f6c044007a3591cbd476bcf90455990
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecabe8cd456d3bf81e92c53b074732f3140f170d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card