CVE-2024-50240
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 11% 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-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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.2 before 6.6.60, from 6.7 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-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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: phy: qcom: qmp-usb: 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 del dispositivo de la plataforma, pero también eliminó por error la inicialización a pesar de que los datos aún se utilizan en las devoluciones de llamadas de PM en tiempo de ejecución. 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 este controlador.

References

Sources

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