CVE-2024-50269

HIGH

Linux Kernel 4.4.95-4.5 - Use-After-Free in USB PHY Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: usb: musb: sunxi: Fix accessing an released usb phy Commit 6ed05c68cbca ("usb: musb: sunxi: Explicitly release USB PHY on exit") will cause that usb phy @glue->xceiv is accessed after released. 1) register platform driver @sunxi_musb_driver // get the usb phy @glue->xceiv sunxi_musb_probe() -> devm_usb_get_phy(). 2) register and unregister platform driver @musb_driver musb_probe() -> sunxi_musb_init() use the phy here //the phy is released here musb_remove() -> sunxi_musb_exit() -> devm_usb_put_phy() 3) register @musb_driver again musb_probe() -> sunxi_musb_init() use the phy here but the phy has been released at 2). ... Fixed by reverting the commit, namely, removing devm_usb_put_phy() from sunxi_musb_exit().

Scores

CVSS v3 7.8
EPSS 0.0027
EPSS Percentile 18.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (26)
Linux/Linux < 4.14
Linux/Linux 4.13.10 - 4.14
Linux/Linux 4.14
Linux/Linux 4.19.324 - 4.19.*
Linux/Linux 4.4.95 - 4.5
Linux/Linux 4.9.59 - 4.10
Linux/Linux 5.10.230 - 5.10.*
Linux/Linux 5.15.172 - 5.15.*
Linux/Linux 5.4.286 - 5.4.*
Linux/Linux 583a4219841d00e96b5de55be160aa7eb7721a4d
... and 16 more
Published Nov 19, 2024
Tracked Since Feb 18, 2026