Bug 2324855 (CVE-2024-50239) - CVE-2024-50239 kernel: phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend
Summary: CVE-2024-50239 kernel: phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime s...
Keywords:
Status: NEW
Alias: CVE-2024-50239
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: 2325075
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-09 11:01 UTC by OSIDB Bzimport
Modified: 2024-11-21 15:35 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:01:28 UTC
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.

Comment 1 Avinash Hanwate 2024-11-11 04:10:54 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024110932-CVE-2024-50239-590e@gregkh/T


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