CVE-2024-50269
Apache Linux USB MUSB Double Free Vulnerability
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().
INFO
Published Date :
Nov. 19, 2024, 2:16 a.m.
Last Modified :
Nov. 26, 2024, 10:30 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50269
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50269
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50269
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 26, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.4.95 up to (excluding) 4.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9.59 up to (excluding) 4.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.13.10 up to (excluding) 4.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14 up to (excluding) 4.19.324 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.286 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.230 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.172 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.117 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.61 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.8 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd No Types Assigned https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd Patch Changed Reference Type https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1 No Types Assigned https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1 Patch Changed Reference Type https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9 No Types Assigned https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9 Patch Changed Reference Type https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8 No Types Assigned https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8 Patch Changed Reference Type https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f No Types Assigned https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f Patch Changed Reference Type https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd No Types Assigned https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd Patch Changed Reference Type https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569 No Types Assigned https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569 Patch Changed Reference Type https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893 No Types Assigned https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893 Patch -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 19, 2024
Action Type Old Value New Value Added 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(). Added Reference kernel.org https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ccd811c304d2ee56189bfbc49302cb3c44361893 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8a30da5aa9609663b3e05bcc91a916537f66a4cd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b08baa75b989cf779cbfa0969681f8ba2dc46569 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50269
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50269
weaknesses.