Bug 2317608 (CVE-2024-47666) - CVE-2024-47666 kernel: scsi: pm80xx: Set phy->enable_completion only when we wait for it
Summary: CVE-2024-47666 kernel: scsi: pm80xx: Set phy->enable_completion only when ...
Keywords:
Status: NEW
Alias: CVE-2024-47666
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2318109
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-09 15:04 UTC by OSIDB Bzimport
Modified: 2024-11-21 12:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-09 15:04:19 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-10-11 16:20:30 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024100905-CVE-2024-47666-0015@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.