All reports
Low

kernel: phy: qcom: snps-femto-v2: Fix possible NULL-deref on early runtime suspend

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-90281

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-18

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.

A flaw was found in the Linux kernel's QCOM SNPS Femto V2 PHY driver. During an early runtime suspend, a timing window exists where the power management (PM) callbacks may attempt to access an uninitialized hardware-specific PHY (hsphy) instance. This can lead to a NULL pointer dereference, potentially causing a system crash or denial of service.