CVE-2025-40120
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-12
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves a deadlock issue in the Linux kernel's USB driver for AX88772* devices. The problem arises because runtime power management (PM) autosuspend is enabled by default, which can cause a deadlock between the USB PM lock and the RTNL (network) lock when the device tries to resume. Specifically, during ndo_open() under RTNL, a synchronous autoresume can trigger while holding the USB PM lock, leading to conflicts with phylink/phylib and MDIO components that also require RTNL, causing deadlocks or wake issues. The fix involves holding a runtime-PM usage reference in the driver to prevent runtime suspend, thus avoiding the deadlock scenario.
How can this vulnerability impact me? :
This vulnerability can cause deadlocks in the Linux kernel when using AX88772* USB network devices, potentially leading to system instability or network interface failures. The deadlock occurs during device resume operations, which may cause the network device to become unresponsive or the system to hang, impacting device availability and reliability.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that the AX88772* USB network device driver holds a runtime PM usage reference in ax88772_bind() and drops it in unbind(). This prevents runtime PM autosuspend from causing deadlocks by keeping the device runtime-PM active. Since disabling runtime PM via the usb_driver flag is ineffective, this usage reference approach is the recommended mitigation. Additionally, verify that system-wide suspend/resume callbacks continue to function normally.