CVE-2024-50269
Last modified
CVE-2024-50269 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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().. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.4.95, < 4.5 | — |
| Linux | Linux Kernel | >= 4.9.59, < 4.10 | — |
| Linux | Linux Kernel | >= 4.13.10, < 4.14 | — |
| Linux | Linux Kernel | >= 4.14, < 4.19.324 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.286 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.230 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.172 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.117 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.61 | — |
| Linux | Linux Kernel | >= 6.7, < 6.11.8 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50269?
How severe is CVE-2024-50269?
How do I fix CVE-2024-50269?
Are you affected by CVE-2024-50269?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
