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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0d75f508a9d56133a2834215959cde4605c804d1 to < 0c5c08c94dd64c05679970d4eed8b06d36a889a8affected0d75f508a9d56133a2834215959cde4605c804d1 to < 1027b1d4e29756dfbf74ef8743456a1efa3679f0affected0d75f508a9d56133a2834215959cde4605c804d1 to < 34293f5a8982a06c40af69c8c7c856b5837ac652affected0d75f508a9d56133a2834215959cde4605c804d1 to < 3ddf41938fee3d148a170c31e76b0515a522ef7eaffected0d75f508a9d56133a2834215959cde4605c804d1 to < 82cb1aedf4bdb279cf8853fe8f39bec4e6cffa0aaffected0d75f508a9d56133a2834215959cde4605c804d1 to < 61749681e4a3629ec20b04ba2443b91016af3d2faffected0d75f508a9d56133a2834215959cde4605c804d1 to < b85bbec72fa813b60e093c6bb36ae232b9b0eb5eaffected0d75f508a9d56133a2834215959cde4605c804d1 to < c271a6926ea7d3c9566b033d63fd4e8c488dc860affected
Linux Linux
Default version status: affected
5.9affected0 to < 5.9unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- 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 ↗