VDB

CVE-2024-50239

CVE-2024-50239 PUBLISHED CVSS 5.5 MEDIUM

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

Reported by linux · Published November 9, 2024

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.

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxe464a3180a43b6596bd267f9f274e1793bfb8150, e464a3180a43b6596bd267f9f274e1793bfb8150, e464a3180a43b6596bd267f9f274e1793bfb8150
LinuxLinux6.6, 0, 6.6.60
linuxlinux_kernel6.6, 6.6, 6.6
LinuxLinux*, 6.6, 0

Timeline

  • Nov 9, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Nov 9, 2024 CVE Published
  • Nov 10, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 1, 2025 CVE Updated
  • Jan 2, 2026 Security Advisory (131 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (114 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50239
vulnetix vdb fixes CVE-2024-50239

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50239/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›