Vulnerabilities · 2024 · Linux
CVE-2024-47666
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/7b1d779647afaea9185fa2f150b1721e7c1aae89 · Patch
- git.kernel.org/stable/c/e4f949ef1516c0d74745ee54a0f4882c1f6c7aea · Patch
- git.kernel.org/stable/c/f14d3e1aa613311c744af32d75125e95fc8ffb84 · Patch
- git.kernel.org/stable/c/a5d954802bda1aabcba49633cd94bad91c94113f
- git.kernel.org/stable/c/ddc501f4130f4baa787cb6cfa309af697179f475
- git.kernel.org/stable/c/e23ee0cc5bded07e700553aecc333bb20c768546
- nvd.nist.gov/vuln/detail/CVE-2024-47666
- cve.org/CVERecord?id=CVE-2024-47666
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.