CVE-2024-50238
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
09/11/2024
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend<br />
<br />
Commit 413db06c05e7 ("phy: qcom-qmp-usb: clean up probe initialisation")<br />
removed most users of the platform device driver data from the<br />
qcom-qmp-usb driver, but mistakenly also removed the initialisation<br />
despite the data still being used in the runtime PM callbacks. This bug<br />
was later reproduced when the driver was copied to create the qmp-usbc<br />
driver.<br />
<br />
Restore the driver data initialisation at probe to avoid a NULL-pointer<br />
dereference on runtime suspend.<br />
<br />
Apparently no one uses runtime PM, which currently needs to be enabled<br />
manually through sysfs, with these drivers.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8.2 (including) | 6.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.9 (including) | 6.11.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



