We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50239

phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend



Description

In the Linux kernel, the following vulnerability has been resolved: phy: qcom: qmp-usb-legacy: 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-usb-legacy 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.

Reserved 2024-10-21 | Published 2024-11-09 | Updated 2024-11-19 | Assigner Linux

Product status

Default status
unaffected

e464a3180a43 before 7e8066811a2c
affected

e464a3180a43 before b1cffd00daa9
affected

e464a3180a43 before 29240130ab77
affected

Default status
affected

6.6
affected

Any version before 6.6
unaffected

6.6.60
unaffected

6.11.7
unaffected

6.12
unaffected

References

git.kernel.org/stable/c/7e8066811a2c43fbb5f53c2c26d389e4bab9da34

git.kernel.org/stable/c/b1cffd00daa9cf499b49a0da698eff5032914f6e

git.kernel.org/stable/c/29240130ab77c80bea1464317ae2a5fd29c16a0c

cve.org (CVE-2024-50239)

nvd.nist.gov (CVE-2024-50239)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-50239

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.