CVE-2024-50269 usb: musb: sunxi: Fix accessing an released usb phy
설명
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().
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.4.95 이상 4.5 미만
- 4.9.59 이상 4.10 미만
- 4.13.10 이상 4.14 미만
- 4.14
해결 버전
- 4.5 이상
- 4.10 이상
- 4.14 이상
- 4.14 미만
- 4.19.324 이상
- 5.4.286 이상
- 5.10.230 이상
- 5.15.172 이상
외 3개 구간 펼치기
- 6.1.117 이상
- 6.6.61 이상
- 6.11.8 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893 (새 창)