A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
phy: qcom: qmp-usb: Fix possible NULL-deref on early runtime suspend
There is a small window where the runtime suspend callback may run after pm_runtime_enable() and before pm_runtime_forbid(). In this case, a crash occurs because runtime suspend/resume dereferences qmp->phy pointer, which is not yet initialized: `if (!qmp->phy->init_count) {`
This can also happen if user re-enables runtime-pm via the sysfs attribute before qmp phy is initialized.
Similarly to other qcom phy drivers, introduce a qmp->phy_initialized variable that can be used to avoid relying on the possibly uninitialized phy pointer.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/03455404fb6cbfd65842695df26739853fc1516b
- git.kernel.org /stable/c/142c5593379273264474f31d5956b1a0065cd576
- git.kernel.org /stable/c/5547fd950d6bf72de861b6934341e7bb0888640c
- git.kernel.org /stable/c/9b28287c5dea7650e6dd317591b9e82b6e145365
- git.kernel.org /stable/c/f4e39ab1b2009a89c60e4cb9dbefb8140d405eff
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning