Bug 2324881 (CVE-2024-50240) - CVE-2024-50240 kernel: phy: qcom: qmp-usb: fix NULL-deref on runtime suspend
Summary: CVE-2024-50240 kernel: phy: qcom: qmp-usb: fix NULL-deref on runtime suspend
Keywords:
Status: NEW
Alias: CVE-2024-50240
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2325102
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-09 11:03 UTC by OSIDB Bzimport
Modified: 2024-11-21 17:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-09 11:03:00 UTC
In the Linux kernel, the following vulnerability has been resolved:

phy: qcom: qmp-usb: 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, but mistakenly
also removed the initialisation despite the data still being used in the
runtime PM callbacks.

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 this driver.

Comment 1 Avinash Hanwate 2024-11-11 05:53:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024110933-CVE-2024-50240-336d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.