CVE-2024-50239

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

Medium · published November 9, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
10.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00206 · 10.1th percentile
Published
2024-11-09T10:14Z
EPSS history
Timeline
  • 09 NOV 10:14Z
    phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend
    cvelistv5