CVE-2025-71193

phy: qcom-qusb2: Fix NULL pointer dereference on early suspend

State
Published
Severity
Not scored
Published
Feb 4, 2026
Updated
Oct 30, 2026
Reserved
Jan 31, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

phy: qcom-qusb2: Fix NULL pointer dereference on early suspend

Enabling runtime PM before attaching the QPHY instance as driver data can lead to a NULL pointer dereference in runtime PM callbacks that expect valid driver data. There is a small window where the suspend callback may run after PM runtime enabling and before runtime forbid. This causes a sporadic crash during boot:

``` Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a1 [...] CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 6.16.7+ #116 PREEMPT Workqueue: pm pm_runtime_work pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : qusb2_phy_runtime_suspend+0x14/0x1e0 [phy_qcom_qusb2] lr : pm_generic_runtime_suspend+0x2c/0x44 [...] ```

Attach the QPHY instance as driver data before enabling runtime PM to prevent NULL pointer dereference in runtime PM callbacks.

Reorder pm_runtime_enable() and pm_runtime_forbid() to prevent 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 891a96f65ac3b12883ddbc6d1a9adf6e54dc903c to before f8a30ff99ae45d368737993961f7c334c76af5faAffected
  • 891a96f65ac3b12883ddbc6d1a9adf6e54dc903c to before beba460a299150b5d8dcbe3474a8f4bdf0205180Affected
  • 891a96f65ac3b12883ddbc6d1a9adf6e54dc903c to before d50a9b7fd07296a1ab81c49ceba14cae3d31df86Affected
  • 891a96f65ac3b12883ddbc6d1a9adf6e54dc903c to before 4ac15caa27ff842b068a54f1c6a8ff8b31f658e7Affected
  • 891a96f65ac3b12883ddbc6d1a9adf6e54dc903c to before 1ca52c0983c34fca506921791202ed5bdafd5306Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.122 through 6.6.*Not affected
  • 6.12.67 through 6.12.*Not affected
  • 6.18.7 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.