CVE-2025-38720
publishednet: hibmcge: fix rtnl deadlock issue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f5a61f6d504f55ed1a36cce044d5123d508721f to < d85a6346fd6f595c4914205762d0cdf35c004a5e · 3f5a61f6d504f55ed1a36cce044d5123d508721f to < 1343a8994ca7dba78f5dd818e89d68331c21c35d · 3f5a61f6d504f55ed1a36cce044d5123d508721f to < c875503a9b9082928d7d3fc60b5400d16fbfae4e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.15.11 through 6.15.* (unaffected · semver) · 6.16.2 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: hibmcge: fix rtnl deadlock issue Currently, the hibmcge netdev acquires the rtnl_lock in pci_error_handlers.reset_prepare() and releases it in pci_error_handlers.reset_done(). However, in the PCI framework: pci_reset_bus - __pci_reset_slot - pci_slot_save_and_disable_locked - pci_dev_save_and_disable - err_handler->reset_prepare(dev); In pci_slot_save_and_disable_locked(): list_for_each_entry(dev, &slot->bus->devices, bus_list) { if (!dev->slot || dev->slot!= slot) continue; pci_dev_save_and_disable(dev); if (dev->subordinate) pci_bus_save_and_disable_locked(dev->subordinate); } This will iterate through all devices under the current bus and execute err_handler->reset_prepare(), causing two devices of the hibmcge driver to sequentially request the rtnl_lock, leading to a deadlock. Since the driver now executes netif_device_detach() before the reset process, it will not concurrently with other netdev APIs, so there is no need to hold the rtnl_lock now. Therefore, this patch removes the rtnl_lock during the reset process and adjusts the position of HBG_NIC_STATE_RESETTING to ensure that multiple resets are not executed concurrently.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f5a61f6d504f55ed1a36cce044d5123d508721f to < d85a6346fd6f595c4914205762d0cdf35c004a5e (affected · git)3f5a61f6d504f55ed1a36cce044d5123d508721f to < 1343a8994ca7dba78f5dd818e89d68331c21c35d (affected · git)3f5a61f6d504f55ed1a36cce044d5123d508721f to < c875503a9b9082928d7d3fc60b5400d16fbfae4e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.15.11 through 6.15.* (unaffected · semver)6.16.2 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
net: hibmcge: fix rtnl deadlock issue
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ae95363cf1fcf7ed34f363ef54f37000299fb9294917e86b45e95cca681d5874
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record