{"id":"CVE-2024-50269","summary":"usb: musb: sunxi: Fix accessing an released usb phy","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: musb: sunxi: Fix accessing an released usb phy\n\nCommit 6ed05c68cbca (\"usb: musb: sunxi: Explicitly release USB PHY on\nexit\") will cause that usb phy @glue-\u003exceiv is accessed after released.\n\n1) register platform driver @sunxi_musb_driver\n// get the usb phy @glue-\u003exceiv\nsunxi_musb_probe() -\u003e devm_usb_get_phy().\n\n2) register and unregister platform driver @musb_driver\nmusb_probe() -\u003e sunxi_musb_init()\nuse the phy here\n//the phy is released here\nmusb_remove() -\u003e sunxi_musb_exit() -\u003e devm_usb_put_phy()\n\n3) register @musb_driver again\nmusb_probe() -\u003e sunxi_musb_init()\nuse the phy here but the phy has been released at 2).\n...\n\nFixed by reverting the commit, namely, removing devm_usb_put_phy()\nfrom sunxi_musb_exit().","modified":"2026-03-20T12:39:40.058487Z","published":"2024-11-19T01:30:06.910Z","related":["SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:1293-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50269.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50269.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50269"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce"},{"fixed":"721ddad945596220c123eb6f7126729fe277ee4f"},{"fixed":"4aa77d5ea9944468e16c3eed15e858fd5de44de1"},{"fixed":"6e2848d1c8c0139161e69ac0a94133e90e9988e8"},{"fixed":"63559ba8077cbadae1c92a65b73ea522bf377dd9"},{"fixed":"ccd811c304d2ee56189bfbc49302cb3c44361893"},{"fixed":"8a30da5aa9609663b3e05bcc91a916537f66a4cd"},{"fixed":"b08baa75b989cf779cbfa0969681f8ba2dc46569"},{"fixed":"498dbd9aea205db9da674994b74c7bf8e18448bd"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"583a4219841d00e96b5de55be160aa7eb7721a4d"},{"last_affected":"b4ecc15d6f5a13c0bbe2777438e87e321f83faaa"},{"last_affected":"a2259ebaa933331c53904caf792b619ec42f0da5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50269.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}