CVE-2026-90281: phy: qcom: snps-femto-v2: Fix possible NULL-deref on early runtime suspend
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
phy: qcom: snps-femto-v2: Fix possible NULL-deref on early runtime suspend
Runtime PM must be enabled before creating the PHY, since phy_create() only enables runtime PM on the PHY device if it is already enabled on this parent device. However, the runtime PM callbacks dereference the hsphy instance, which is not yet ready, leaving a window where a suspend callback may trigger a NULL pointer dereference.
Take a runtime PM usage reference with pm_runtime_get_noresume() before enabling runtime PM and release it once the PHY has been created, so that no runtime suspend can run before the PHY is ready. This also prevents a short window where an unnecessary runtime suspend can occur.
Use the devres-managed version to ensure PM runtime is symmetrically disabled during driver removal for proper cleanup.
The Linux kernel CVE team has assigned CVE-2026-90281 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 5.10.270 with commit 0c5c08c94dd64c05679970d4eed8b06d36a889a8 Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 5.15.221 with commit 1027b1d4e29756dfbf74ef8743456a1efa3679f0 Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 6.1.188 with commit 34293f5a8982a06c40af69c8c7c856b5837ac652 Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 6.6.157 with commit 3ddf41938fee3d148a170c31e76b0515a522ef7e Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 6.12.110 with commit 82cb1aedf4bdb279cf8853fe8f39bec4e6cffa0a Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 6.18.52 with commit 61749681e4a3629ec20b04ba2443b91016af3d2f Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 7.2.6 with commit b85bbec72fa813b60e093c6bb36ae232b9b0eb5e Issue introduced in 5.9 with commit 0d75f508a9d56133a2834215959cde4605c804d1 and fixed in 7.3-rc1 with commit c271a6926ea7d3c9566b033d63fd4e8c488dc860
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90281
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/0c5c08c94dd64c05679970d4eed8b06d36a889a8 https://git.kernel.org/stable/c/1027b1d4e29756dfbf74ef8743456a1efa3679f0 https://git.kernel.org/stable/c/34293f5a8982a06c40af69c8c7c856b5837ac652 https://git.kernel.org/stable/c/3ddf41938fee3d148a170c31e76b0515a522ef7e https://git.kernel.org/stable/c/82cb1aedf4bdb279cf8853fe8f39bec4e6cffa0a https://git.kernel.org/stable/c/61749681e4a3629ec20b04ba2443b91016af3d2f https://git.kernel.org/stable/c/b85bbec72fa813b60e093c6bb36ae232b9b0eb5e https://git.kernel.org/stable/c/c271a6926ea7d3c9566b033d63fd4e8c488dc860