# CVE-2024-50269: usb: musb: sunxi: Fix accessing an released usb phy

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-11-19T01:30:06.910Z
- Modified: 2026-06-17T08:04:03.750Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before 721ddad945596220c123eb6f7126729fe277ee4f; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before 4aa77d5ea9944468e16c3eed15e858fd5de44de1; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before 6e2848d1c8c0139161e69ac0a94133e90e9988e8; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before 63559ba8077cbadae1c92a65b73ea522bf377dd9; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before ccd811c304d2ee56189bfbc49302cb3c44361893; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before 8a30da5aa9609663b3e05bcc91a916537f66a4cd; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before b08baa75b989cf779cbfa0969681f8ba2dc46569; from 6ed05c68cbcae42cd52b8e53b66952bfa9c002ce before 498dbd9aea205db9da674994b74c7bf8e18448bd; 583a4219841d00e96b5de55be160aa7eb7721a4d; b4ecc15d6f5a13c0bbe2777438e87e321f83faaa; a2259ebaa933331c53904caf792b619ec42f0da5; from 4.4.95 before 4.5; and 3 more (not affected: before 4.14; from 4.19.324 up to 4.19.*; from 5.4.286 up to 5.4.*; from 5.10.230 up to 5.10.*; from 5.15.172 up to 5.15.*; from 6.1.117 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 4.4.95 before 4.5; from 4.9.59 before 4.10; from 4.13.10 before 4.14; from 4.14 before 4.19.324; from 4.20 before 5.4.286; from 5.5 before 5.10.230; from 5.11 before 5.15.172; from 5.16 before 6.1.117; from 6.2 before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f> (patch)
- <https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1> (patch)
- <https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8> (patch)
- <https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9> (patch)
- <https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893> (patch)
- <https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd> (patch)
- <https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569> (patch)
- <https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-50269](https://www.cve.org/CVERecord?id=CVE-2024-50269), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-50269](https://nvd.nist.gov/vuln/detail/CVE-2024-50269), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50269 · Whole record: https://cve.day/CVE-2024-50269.json · Rebuilt by cve.day 2026-11-25T22:58:48.404Z
