CVE-2024-47666
scsi: pm80xx: Set phy->enable_completion only when we wait for it
Check your servers for CVE-2024-47666
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-2024-47666 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:
scsi: pm80xx: Set phy->enable_completion only when we wait for it
pm8001_phy_control() populates the enable_completion pointer with a stack address, sends a PHY_LINK_RESET / PHY_HARD_RESET, waits 300 ms, and returns. The problem arises when a phy control response comes late. After 300 ms the pm8001_phy_control() function returns and the passed enable_completion stack address is no longer valid. Late phy control response invokes complete() on a dangling enable_completion pointer which leads to a kernel crash.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Oct 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 869ddbdcae3b4fb83b99889abae31544c149b210, before ddc501f4130f4baa787cb6cfa309af697179f475 affected from 869ddbdcae3b4fb83b99889abae31544c149b210, before a5d954802bda1aabcba49633cd94bad91c94113f affected from 869ddbdcae3b4fb83b99889abae31544c149b210, before e23ee0cc5bded07e700553aecc333bb20c768546 affected from 869ddbdcae3b4fb83b99889abae31544c149b210, before 7b1d779647afaea9185fa2f150b1721e7c1aae89 affected from 869ddbdcae3b4fb83b99889abae31544c149b210, before f14d3e1aa613311c744af32d75125e95fc8ffb84 affected from 869ddbdcae3b4fb83b99889abae31544c149b210, before e4f949ef1516c0d74745ee54a0f4882c1f6c7aea
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 5.10.247 up to and including 5.10.* unaffected from 5.15.197 up to and including 5.15.* unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.51 up to and including 6.6.* unaffected from 6.10.10 up to and including 6.10.* unaffected 6.11 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-2024-47666 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-47666
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-2024-47666
trivy image --scanners vuln IMAGE | grep CVE-2024-47666
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/ddc501f4130f4baa787cb6cfa309af697179f475 git.kernel.org
- https://git.kernel.org/stable/c/a5d954802bda1aabcba49633cd94bad91c94113f git.kernel.org
- https://git.kernel.org/stable/c/e23ee0cc5bded07e700553aecc333bb20c768546 git.kernel.org
- https://git.kernel.org/stable/c/7b1d779647afaea9185fa2f150b1721e7c1aae89 git.kernel.org
- https://git.kernel.org/stable/c/f14d3e1aa613311c744af32d75125e95fc8ffb84 git.kernel.org
- https://git.kernel.org/stable/c/e4f949ef1516c0d74745ee54a0f4882c1f6c7aea git.kernel.org
Source: the record CVE-2024-47666 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