CVE-2024-50238
JSON

5.5medium

phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.8.2 before 6.9, from 6.9 before 6.11.7, 6.12NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend Commit 413db06c05e7 ("phy: qcom-qmp-usb: clean up probe initialisation") eliminó la mayoría de los usuarios de los datos del controlador de dispositivo de la plataforma del controlador qcom-qmp-usb, pero también eliminó por error la inicialización a pesar de que los datos aún se usaban en las devoluciones de llamadas de PM en tiempo de ejecución. Este error se reprodujo más tarde cuando se copió el controlador para crear el controlador qmp-usbc. Restaure la inicialización de los datos del controlador en la sonda para evitar una desreferencia de puntero NULL en la suspensión en tiempo de ejecución. Aparentemente, nadie usa PM en tiempo de ejecución, que actualmente debe habilitarse manualmente a través de sysfs, con estos controladores.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50238 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-50238 changed 2026-06-17Public domain