CVE-2023-52615
hwrng: core - Fix page fault dead lock on mmap-ed hwrng
Check your servers for CVE-2023-52615
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52615 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.61% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before eafd83b92f6c044007a3591cbd476bcf90455990 affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before 5030d4c798863ccb266563201b341a099e8cdd48 affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before c6a8111aacbfe7a8a70f46cc0de8eed00561693c affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before 26cc6d7006f922df6cc4389248032d955750b2a0 affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before aa8aa16ed9adf1df05bb339d588cf485a011839e affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before ecabe8cd456d3bf81e92c53b074732f3140f170d affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before 6822a14271786150e178869f1495cc03e74c5029 affected from 9996508b3353063f2d6c48c1a28a84543d72d70b, before 78aafb3884f6bc6636efcc1760c891c8500b9922
Other versions: unaffected
|
| Linux |
affected 2.6.33 unaffected before 2.6.33 unaffected from 4.19.307 up to and including 4.19.* unaffected from 5.4.269 up to and including 5.4.* unaffected from 5.10.210 up to and including 5.10.* unaffected from 5.15.149 up to and including 5.15.* unaffected from 6.1.76 up to and including 6.1.* unaffected from 6.6.15 up to and including 6.6.* unaffected from 6.7.3 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52615 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52615
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52615
trivy image --scanners vuln IMAGE | grep CVE-2023-52615
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/eafd83b92f6c044007a3591cbd476bcf90455990 git.kernel.org
- https://git.kernel.org/stable/c/5030d4c798863ccb266563201b341a099e8cdd48 git.kernel.org
- https://git.kernel.org/stable/c/c6a8111aacbfe7a8a70f46cc0de8eed00561693c git.kernel.org
- https://git.kernel.org/stable/c/26cc6d7006f922df6cc4389248032d955750b2a0 git.kernel.org
- https://git.kernel.org/stable/c/aa8aa16ed9adf1df05bb339d588cf485a011839e git.kernel.org
- https://git.kernel.org/stable/c/ecabe8cd456d3bf81e92c53b074732f3140f170d git.kernel.org
- https://git.kernel.org/stable/c/6822a14271786150e178869f1495cc03e74c5029 git.kernel.org
- https://git.kernel.org/stable/c/78aafb3884f6bc6636efcc1760c891c8500b9922 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2023-52615 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse