# CVE-2024-50239: phy: qcom: qmp-usb-legacy: 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-02)
- Published: 2024-11-09T10:14:49.171Z
- Modified: 2026-06-17T08:03:59.113Z
- 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-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.

(As written by CVE List.)

## Affected

- Linux Linux: from e464a3180a43b6596bd267f9f274e1793bfb8150 before 7e8066811a2c43fbb5f53c2c26d389e4bab9da34; from e464a3180a43b6596bd267f9f274e1793bfb8150 before b1cffd00daa9cf499b49a0da698eff5032914f6e; from e464a3180a43b6596bd267f9f274e1793bfb8150 before 29240130ab77c80bea1464317ae2a5fd29c16a0c; 6.6 (not affected: before 6.6; 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.6 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/7e8066811a2c43fbb5f53c2c26d389e4bab9da34> (patch)
- <https://git.kernel.org/stable/c/b1cffd00daa9cf499b49a0da698eff5032914f6e> (patch)
- <https://git.kernel.org/stable/c/29240130ab77c80bea1464317ae2a5fd29c16a0c> (patch)

## Sources

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

---

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