GHSA-hprq-7rq9-g5cmunknown
In the Linux kernel, the following vulnerability has been resolved: phy: qcom: qmp-usb-legacy:...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
phy: qcom: qmp-usb-legacy: 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-90282
- https://git.kernel.org/stable/c/0f9789d1b63e7d9f868ac9c29564339a4c03ceb5
- https://git.kernel.org/stable/c/29449ce1f5958e36df80318878016e3ecac26b40
- https://git.kernel.org/stable/c/52ad86ea5f98d29a7a29d9ba12e24276c6e30acd
- https://git.kernel.org/stable/c/602059c5128a78857ca92bd22791ab640185e381
- https://git.kernel.org/stable/c/8e3687f7e18fe84372e86875709d56c37e7525a8
- https://github.com/advisories/GHSA-hprq-7rq9-g5cm