VDB

CVE-2024-47666

CVE-2024-47666 PUBLISHED

scsi: pm80xx: Set phy->enable_completion only when we wait for it

Reported by linux · Published October 9, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxf14d3e1aa613311c744af32d75125e95fc8ffb84, e23ee0cc5bded07e700553aecc333bb20c768546, ddc501f4130f4baa787cb6cfa309af697179f475, a5d954802bda1aabcba49633cd94bad91c94113f, 7b1d779647afaea9185fa2f150b1721e7c1aae89

Affected products

VendorProductVersions
LinuxLinux869ddbdcae3b4fb83b99889abae31544c149b210, 869ddbdcae3b4fb83b99889abae31544c149b210, 869ddbdcae3b4fb83b99889abae31544c149b210
LinuxLinux4.15, 0, 5.10.247
LinuxLinux869ddbdcae3b4fb83b99889abae31544c149b210, 5.15.197, 6.1.159
linuxlinux_kernel4.15, 4.15, 4.15

Timeline

  • Oct 9, 2024 CVE Published
  • Oct 10, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 14, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 3, 2026 Security Advisory (143 in total, the first dated here)
  • Jan 3, 2026 CVE Updated
  • Mar 29, 2026 Distribution Patch (129 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-47666
vulnetix vdb fixes CVE-2024-47666

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47666/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›