VDB

CVE-2024-50240

CVE-2024-50240 PUBLISHED CVSS 5.5 MEDIUM

phy: qcom: qmp-usb: 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: 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxbd9e4d4a3b127686efc60096271b0a44c3100061

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
LinuxLinux413db06c05e729639e9b64cf7ab5d918b8182006, 413db06c05e729639e9b64cf7ab5d918b8182006, 413db06c05e729639e9b64cf7ab5d918b8182006
LinuxLinux6.2, 0, 6.6.60
LinuxLinux6.12, 0, 6.6.60
linuxlinux_kernel6.2, 6.2, 6.2

Timeline

  • Nov 9, 2024 Coalition ESS Score (26 in total, the first dated here)
  • Nov 9, 2024 CVE Published
  • Nov 10, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 2, 2026 Security Advisory (131 in total, the first dated here)
  • Jan 2, 2026 CVE Updated
  • 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-50240
vulnetix vdb fixes CVE-2024-50240

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-50240/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 ›