CVE
CVE-2024-50269
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.12-rc6This version only
- 6.12-rc5This version only
- 6.12-rc4This version only
- 6.12-rc3This version only
- 6.12-rc2This version only
- 6.12-rc1This version only
- ≥ 6.7, < 6.11.8Fixed in 6.11.8
- ≥ 6.2, < 6.6.61Fixed in 6.6.61
- ≥ 5.16, < 6.1.117Fixed in 6.1.117
- ≥ 5.11, < 5.15.172Fixed in 5.15.172
- ≥ 5.5, < 5.10.230Fixed in 5.10.230
- ≥ 4.20, < 5.4.286Fixed in 5.4.286
- ≥ 4.14, < 4.19.324Fixed in 4.19.324
- ≥ 4.13.10, < 4.14Fixed in 4.14
- ≥ 4.9.59, < 4.10Fixed in 4.10
- ≥ 4.4.95, < 4.5Fixed in 4.5
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd · Patch
- git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1 · Patch
- git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9 · Patch
- git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8 · Patch
- git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f · Patch
- git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd · Patch
- git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569 · Patch
- git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.