{"id":"CVE-2024-50269","aliases":["CVE-2024-50269"],"related":[],"kind":"vulnerability","state":"published","title":"usb: musb: sunxi: Fix accessing an released usb phy","summary":"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->xceiv is accessed after released.\n\n1) register platform driver @sunxi_musb_driver\n// get the usb phy @glue->xceiv\nsunxi_musb_probe() -> devm_usb_get_phy().\n\n2) register and unregister platform driver @musb_driver\nmusb_probe() -> sunxi_musb_init()\nuse the phy here\n//the phy is released here\nmusb_remove() -> sunxi_musb_exit() -> devm_usb_put_phy()\n\n3) register @musb_driver again\nmusb_probe() -> 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->xceiv is accessed after released.\n\n1) register platform driver @sunxi_musb_driver\n// get the usb phy @glue->xceiv\nsunxi_musb_probe() -> devm_usb_get_phy().\n\n2) register and unregister platform driver @musb_driver\nmusb_probe() -> sunxi_musb_init()\nuse the phy here\n//the phy is released here\nmusb_remove() -> sunxi_musb_exit() -> devm_usb_put_phy()\n\n3) register @musb_driver again\nmusb_probe() -> 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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: musb: sunxi: Se solucionó el acceso a un usb phy liberado. Commit 6ed05c68cbca (\"usb: musb: sunxi: Liberar explícitamente USB PHY al salir\") provocará que se acceda al usb phy @glue-&gt;xceiv después de su liberación. 1) registrar el controlador de la plataforma @sunxi_musb_driver // obtener el usb phy @glue-&gt;xceiv sunxi_musb_probe() -&gt; devm_usb_get_phy(). 2) registrar y anular el registro del controlador de la plataforma @musb_driver musb_probe() -&gt; sunxi_musb_init() usa el phy aquí //el phy se publica aquí musb_remove() -&gt; sunxi_musb_exit() -&gt; devm_usb_put_phy() 3) registrar @musb_driver nuevamente musb_probe() -&gt; sunxi_musb_init() usa el phy aquí pero el phy se ha publicado en 2). ... Se solucionó revirtiendo el commit, es decir, eliminando devm_usb_put_phy() de sunxi_musb_exit().","source":"nvd"}],"published":"2024-11-19T01:30:06.910Z","modified":"2026-06-17T08:04:03.750Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"721ddad945596220c123eb6f7126729fe277ee4f","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"4aa77d5ea9944468e16c3eed15e858fd5de44de1","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"6e2848d1c8c0139161e69ac0a94133e90e9988e8","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"63559ba8077cbadae1c92a65b73ea522bf377dd9","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"ccd811c304d2ee56189bfbc49302cb3c44361893","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"8a30da5aa9609663b3e05bcc91a916537f66a4cd","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"b08baa75b989cf779cbfa0969681f8ba2dc46569","status":"affected"},{"type":"git","introduced":"6ed05c68cbcae42cd52b8e53b66952bfa9c002ce","fixed":"498dbd9aea205db9da674994b74c7bf8e18448bd","status":"affected"},{"type":"git","version":"583a4219841d00e96b5de55be160aa7eb7721a4d","status":"affected"},{"type":"git","version":"b4ecc15d6f5a13c0bbe2777438e87e321f83faaa","status":"affected"},{"type":"git","version":"a2259ebaa933331c53904caf792b619ec42f0da5","status":"affected"},{"type":"semver","introduced":"4.4.95","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.9.59","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.13.10","fixed":"4.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"4.19.324","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.286","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.230","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.172","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.117","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.61","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.8","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.4.95","fixed":"4.5"},{"status":"affected","introduced":"4.9.59","fixed":"4.10"},{"status":"affected","introduced":"4.13.10","fixed":"4.14"},{"status":"affected","introduced":"4.14","fixed":"4.19.324"},{"status":"affected","introduced":"4.20","fixed":"5.4.286"},{"status":"affected","introduced":"5.5","fixed":"5.10.230"},{"status":"affected","introduced":"5.11","fixed":"5.15.172"},{"status":"affected","introduced":"5.16","fixed":"6.1.117"},{"status":"affected","introduced":"6.2","fixed":"6.6.61"},{"status":"affected","introduced":"6.7","fixed":"6.11.8"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T20:15:10.216Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50269","url":"https://www.cve.org/CVERecord?id=CVE-2024-50269","licence":"CVE Terms of Use","modified":"2026-05-23T15:54:54.443Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50269","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50269","licence":"Public domain","modified":"2026-06-17T08:04:03.750Z"}],"updatedAt":"2026-11-25T22:58:48.404Z","epss":{"score":0.0027,"percentile":0.20582,"date":"2026-12-01T12:00:22.000Z"}}