CVE-2024-47666
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.30% (higher than 15% of CVEs)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 869ddbdcae3b4fb83b99889abae31544c149b210 before ddc501f4130f4baa787cb6cfa309af697179f475, from 869ddbdcae3b4fb83b99889abae31544c149b210 before a5d954802bda1aabcba49633cd94bad91c94113f, from 869ddbdcae3b4fb83b99889abae31544c149b210 before e23ee0cc5bded07e700553aecc333bb20c768546, from 869ddbdcae3b4fb83b99889abae31544c149b210 before 7b1d779647afaea9185fa2f150b1721e7c1aae89, from 869ddbdcae3b4fb83b99889abae31544c149b210 before f14d3e1aa613311c744af32d75125e95fc8ffb84, from 869ddbdcae3b4fb83b99889abae31544c149b210 before e4f949ef1516c0d74745ee54a0f4882c1f6c7aea, 4.15
Not affected: before 4.15, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.51 up to 6.6.*, from 6.10.10 up to 6.10.*
CVE List
linux linux_kernelbefore 6.6.51, from 6.7 before 6.10.10NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: pm80xx: Establecer phy->enable_completion solo cuando lo esperamos pm8001_phy_control() rellena el puntero enable_completion con una dirección de pila, envía un PHY_LINK_RESET / PHY_HARD_RESET, espera 300 ms y regresa. El problema surge cuando una respuesta de control phy llega tarde. Después de 300 ms, la función pm8001_phy_control() regresa y la dirección de pila enable_completion pasada ya no es válida. La respuesta de control phy tardía invoca complete() en un puntero enable_completion colgante que conduce a un bloqueo del kernel.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47666 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-47666 changed 2026-06-17Public domain