Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Use after free.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
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().
Weakness: CWE-416 – Use after free
| Vendor | Product | Versions |
|---|---|---|
| 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 |