# CVE-2024-50238: phy: qcom: qmp-usbc: 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-11-09T10:14:48.115Z
- Modified: 2026-06-17T08:03:58.970Z
- 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-usbc: 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-usbc
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 19281571a4d5b6049dad9318db081af48818b1d2 before c7086dc0539b1b2b61c8c735186698bca4858246; from 19281571a4d5b6049dad9318db081af48818b1d2 before 34c21f94fa1e147a19b54b6adf0c93a623b70dd8; bdb35fcff34af08fc7a7cb92f99ff1442e975cb1; from 6.8.2 before 6.9; 6.9 (not affected: before 6.9; from 6.11.7 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.8.2 before 6.9; from 6.9 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/c7086dc0539b1b2b61c8c735186698bca4858246> (patch)
- <https://git.kernel.org/stable/c/34c21f94fa1e147a19b54b6adf0c93a623b70dd8> (patch)

## Sources

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

---

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