CVE-2024-50269

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < 721ddad945596220c123eb6f7126729fe277ee4faffected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < 4aa77d5ea9944468e16c3eed15e858fd5de44de1affected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < 6e2848d1c8c0139161e69ac0a94133e90e9988e8affected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < 63559ba8077cbadae1c92a65b73ea522bf377dd9affected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < ccd811c304d2ee56189bfbc49302cb3c44361893affected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < 8a30da5aa9609663b3e05bcc91a916537f66a4cdaffected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < b08baa75b989cf779cbfa0969681f8ba2dc46569affected
LinuxLinux6ed05c68cbcae42cd52b8e53b66952bfa9c002ce < 498dbd9aea205db9da674994b74c7bf8e18448bdaffected
LinuxLinux583a4219841d00e96b5de55be160aa7eb7721a4daffected
LinuxLinuxb4ecc15d6f5a13c0bbe2777438e87e321f83faaaaffected
LinuxLinuxa2259ebaa933331c53904caf792b619ec42f0da5affected
LinuxLinux4.4.95 < 4.5affected
LinuxLinux4.9.59 < 4.10affected
LinuxLinux4.13.10 < 4.14affected
LinuxLinux4.14affected
LinuxLinux0 < 4.14unaffected
LinuxLinux4.19.324 <= 4.19.*unaffected
LinuxLinux5.4.286 <= 5.4.*unaffected
LinuxLinux5.10.230 <= 5.10.*unaffected
LinuxLinux5.15.172 <= 5.15.*unaffected
LinuxLinux6.1.117 <= 6.1.*unaffected
LinuxLinux6.6.61 <= 6.6.*unaffected
LinuxLinux6.11.8 <= 6.11.*unaffected
LinuxLinux6.12 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

CVE Program Container

Additional References

References