CVE-2024-50269

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

7.8 high EPSS 0.27%

Published 19 Nov 2024 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2024-50269

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50269 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Severity (CVSS)

7.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 1 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before 721ddad945596220c123eb6f7126729fe277ee4f
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before 4aa77d5ea9944468e16c3eed15e858fd5de44de1
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before 6e2848d1c8c0139161e69ac0a94133e90e9988e8
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before 63559ba8077cbadae1c92a65b73ea522bf377dd9
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before ccd811c304d2ee56189bfbc49302cb3c44361893
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before 8a30da5aa9609663b3e05bcc91a916537f66a4cd
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before b08baa75b989cf779cbfa0969681f8ba2dc46569
affected from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce, before 498dbd9aea205db9da674994b74c7bf8e18448bd
affected 583a4219841d00e96b5de55be160aa7eb7721a4d
affected b4ecc15d6f5a13c0bbe2777438e87e321f83faaa
affected a2259ebaa933331c53904caf792b619ec42f0da5
affected from 4.4.95, before 4.5
affected from 4.9.59, before 4.10
affected from 4.13.10, before 4.14
Other versions: unaffected
Linux
affected 4.14
unaffected before 4.14
unaffected from 4.19.324 up to and including 4.19.*
unaffected from 5.4.286 up to and including 5.4.*
unaffected from 5.10.230 up to and including 5.10.*
unaffected from 5.15.172 up to and including 5.15.*
unaffected from 6.1.117 up to and including 6.1.*
unaffected from 6.6.61 up to and including 6.6.*
unaffected from 6.11.8 up to and including 6.11.*
unaffected 6.12 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50269 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50269

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-50269
trivy image --scanners vuln IMAGE | grep CVE-2024-50269

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-50269 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.