CVE-2024-50269
HighIn 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().
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2024-50269 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.4.95,
4.9.59,
4.13.10,
4.14
and later are affected. Fixed in
4.19.324,
5.4.286,
5.10.230,
5.15.172,
6.1.117,
6.6.61,
6.11.8,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50269 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1
-
PatchKernel patch commithttps://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9
Frequently asked questions
-
What is CVE-2024-50269?
CVE-2024-50269 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 4.4.95 onward and has been patched in 4.19.324, 5.4.286, 5.10.230 and others. CVE-2024-50269 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50269?
CVE-2024-50269 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-50269?
Yes — CVE-2024-50269 has been patched. Fixed versions include 4.19.324, 5.4.286, 5.10.230 and others. If you are running Linux kernel 4.4.95 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50269 actively exploited?
No — CVE-2024-50269 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →