CVE-2024-47666

medium

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.

References

https://git.kernel.org/stable/c/f14d3e1aa613311c744af32d75125e95fc8ffb84

https://git.kernel.org/stable/c/e4f949ef1516c0d74745ee54a0f4882c1f6c7aea

https://git.kernel.org/stable/c/7b1d779647afaea9185fa2f150b1721e7c1aae89

Details

Source: Mitre, NVD

Published: 2024-10-09

Updated: 2024-10-23

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium