phy: qcom: snps-femto-v2: Fix possible NULL-deref on early runtime suspend
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c271a6926ea7d3c9566b033d63fd4e8c488dc860, Kernel 0c5c08c94dd64c05679970d4eed8b06d36a889a8, Kernel 1027b1d4e29756dfbf74ef8743456a1efa3679f0 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0d75f508a9d56133a2834215959cde4605c804d1 <c271a6926ea7d3c9566b033d63fd4e8c488dc860, >=0d75f508a9d56133a2834215959cde4605c804d1 <0c5c08c94dd64c05679970d4eed8b06d36a889a8, >=0d75f508a9d56133a2834215959cde4605c804d1 <1027b1d4e29756dfbf74ef8743456a1efa3679f0, >=0d75f508a9d56133a2834215959cde4605c804d1 <34293f5a8982a06c40af69c8c7c856b5837ac652, >=0d75f508a9d56133a2834215959cde4605c804d1 <3ddf41938fee3d148a170c31e76b0515a522ef7e, >=0d75f508a9d56133a2834215959cde4605c804d1 <61749681e4a3629ec20b04ba2443b91016af3d2f, >=0d75f508a9d56133a2834215959cde4605c804d1 <82cb1aedf4bdb279cf8853fe8f39bec4e6cffa0a, >=0d75f508a9d56133a2834215959cde4605c804d1 <b85bbec72fa813b60e093c6bb36ae232b9b0eb5e, =5.9 | c271a6926ea7d3c9566b033d63fd4e8c488dc860, 0c5c08c94dd64c05679970d4eed8b06d36a889a8, 1027b1d4e29756dfbf74ef8743456a1efa3679f0, 34293f5a8982a06c40af69c8c7c856b5837ac652, 3ddf41938fee3d148a170c31e76b0515a522ef7e, 61749681e4a3629ec20b04ba2443b91016af3d2f, 82cb1aedf4bdb279cf8853fe8f39bec4e6cffa0a, b85bbec72fa813b60e093c6bb36ae232b9b0eb5e |
| linux-kernel: Kernel | >=5.16.0 <6.1.188, >=5.9.0 <5.10.270, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.11.0 <5.15.221 | 6.1.188, 5.10.270, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.15.221 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket