Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend Commit 413db06c05e7 ("phy: qcom-qmp-usb: clean up probe initialisation") removed most users of the platform device driver data from the qcom-qmp-usb driver, but mistakenly also removed the initialisation despite the data still being used in the runtime PM callbacks. This bug was later reproduced when the driver was copied to create the qmp-usbc driver. Restore the driver data initialisation at probe to avoid a NULL-pointer dereference on runtime suspend. Apparently no one uses runtime PM, which currently needs to be enabled manually through sysfs, with these drivers.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.8.2, < 6.9 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/34c21f94fa1e147a19b54b6adf0c93a623b70dd8Patch
- https://git.kernel.org/stable/c/c7086dc0539b1b2b61c8c735186698bca4858246Patch
FAQ
What is CVE-2024-50238?
CVE-2024-50238 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend Commit 413db06c05e7 ("phy: qcom-qmp-usb: clean up probe initialisation") re...
How severe is CVE-2024-50238?
CVE-2024-50238 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50238?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.