CVE-2024-50269

usb: musb: sunxi: Fix accessing an released usb phy

HIGH
7.8
CVSS Score
Published: November 19, 2024 at 01:30 AM UTC
Updated: June 17, 2026 at 08:04 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.13.10v ≥ 4.4.95v ≥ 4.9.594.13.10 ≤ v < 4.144.14 ≤ v < 4.19.3244.14 ≤ v < 5.10.2304.14 ≤ v < 5.15.1724.14 ≤ v < 5.4.2864.14 ≤ v < 6.1.1174.14 ≤ v < 6.11.84.14 ≤ v < 6.124.14 ≤ v < 6.6.614.20 ≤ v < 5.4.2864.4.95 ≤ v < 4.54.9.59 ≤ v < 4.105.11 ≤ v < 5.15.1725.16 ≤ v < 6.1.1175.5 ≤ v < 5.10.2306.2 ≤ v < 6.6.616.7 ≤ v < 6.11.84.13.104.4.954.9.59583a4219841d00e96b5de55be160aa7eb7721a4d6.12 rc16.12 rc26.12 rc36.12 rc46.12 rc56.12 rc66ed05c68cbcae42cd52b8e53b66952bfa9c002cea2259ebaa933331c53904caf792b619ec42f0da5b4ecc15d6f5a13c0bbe2777438e87e321f83faaa
Vendor states this is fixed in 498dbd9aea205db9da674994b74c7bf8e18448bd (fixed)
Vendor states this is fixed in 4aa77d5ea9944468e16c3eed15e858fd5de44de1 (fixed)
Vendor states this is fixed in 63559ba8077cbadae1c92a65b73ea522bf377dd9 (fixed)
Vendor states this is fixed in 6e2848d1c8c0139161e69ac0a94133e90e9988e8 (fixed)
Vendor states this is fixed in 721ddad945596220c123eb6f7126729fe277ee4f (fixed)
Vendor states this is fixed in 8a30da5aa9609663b3e05bcc91a916537f66a4cd (fixed)
Vendor states this is fixed in b08baa75b989cf779cbfa0969681f8ba2dc46569 (fixed)
Vendor states this is fixed in ccd811c304d2ee56189bfbc49302cb3c44361893 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 4.19.324 (unaffected)
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.230 (unaffected)
Vendor states this is fixed in 5.15.172 (unaffected)
Vendor states this is fixed in 5.4.286 (unaffected)
Vendor states this is fixed in 6.1.117 (unaffected)
Vendor states this is fixed in 6.11.8 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.61 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card