# CVE-2024-50240: phy: qcom: qmp-usb: fix NULL-deref on runtime suspend

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-11-09T10:14:50.117Z
- Modified: 2026-06-17T08:03:59.273Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 413db06c05e729639e9b64cf7ab5d918b8182006 before 370814e9d512ba289612c3780890b80bf2605046; from 413db06c05e729639e9b64cf7ab5d918b8182006 before 5ebde521fbb9a813b993d4436329a3ca0eeb6574; from 413db06c05e729639e9b64cf7ab5d918b8182006 before bd9e4d4a3b127686efc60096271b0a44c3100061; 6.2 (not affected: before 6.2; from 6.6.60 up to 6.6.*; from 6.11.7 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.2 before 6.6.60; from 6.7 before 6.11.7; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/370814e9d512ba289612c3780890b80bf2605046> (patch)
- <https://git.kernel.org/stable/c/5ebde521fbb9a813b993d4436329a3ca0eeb6574> (patch)
- <https://git.kernel.org/stable/c/bd9e4d4a3b127686efc60096271b0a44c3100061> (patch)

## Sources

- CVE List: [CVE-2024-50240](https://www.cve.org/CVERecord?id=CVE-2024-50240), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50240](https://nvd.nist.gov/vuln/detail/CVE-2024-50240), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50240 · Whole record: https://cve.day/CVE-2024-50240.json · Rebuilt by cve.day 2026-11-25T22:58:47.974Z
