CVE-2024-50269·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.8
- Published
- 2024-11-19
Affected versions
From: 6.7
Until: 6.11.8
Fixed in: 6.11.8
How to fix this CVE
Update your Linux kernel to version 6.11.8 or later to resolve a use-after-free vulnerability in the Sunxi USB PHY driver. This flaw occurs when the USB PHY is accessed after being prematurely released during driver re-initialization, potentially causing system instability or crashes. Apply the kernel update immediately and reboot your system to ensure the patch is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r | awk -F. '{print $1"."$2"."$3}' and compare against 6.11.8
- Verify if Sunxi USB PHY support is compiled: grep -i sunxi /boot/config-$(uname -r) or lsmod | grep -i sunxi
- Check kernel logs for PHY-related errors: journalctl -k | grep -i 'phy\|musb\|usb' | tail -50
- Confirm patch application by checking: cat /proc/version and verify kernel build is >= 6.11.8
FAQ
What is CVE-2024-50269?
CVE-2024-50269 is a use-after-free vulnerability in the Linux kernel's Sunxi USB PHY driver where the PHY object is incorrectly released and then accessed again during driver re-initialization cycles, potentially causing kernel panic or data corruption.
Is CVE-2024-50269 being actively exploited?
No, CVE-2024-50269 is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, the high CVSS score (7.8) warrants timely patching.
What versions of Kernel are affected by CVE-2024-50269?
Kernel versions 6.7 through 6.11.7 are affected. The vulnerability is resolved in kernel 6.11.8 and later.
How do I check if my server is vulnerable to CVE-2024-50269?
Run 'uname -r' and check if the version is between 6.7 and 6.11.7. If yes, your system is vulnerable. Also verify Sunxi USB support is enabled with 'grep CONFIG_USB_MUSB_SUNXI /boot/config-$(uname -r)'.
Does Defensia detect CVE-2024-50269?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2024-50269 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/498dbd9aea205db9da674994b74c7bf8e18448bd
- https://git.kernel.org/stable/c/4aa77d5ea9944468e16c3eed15e858fd5de44de1
- https://git.kernel.org/stable/c/63559ba8077cbadae1c92a65b73ea522bf377dd9
- https://git.kernel.org/stable/c/6e2848d1c8c0139161e69ac0a94133e90e9988e8
- https://git.kernel.org/stable/c/721ddad945596220c123eb6f7126729fe277ee4f
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50269. Free for 1 server.
Get started free