CVE-2025-38720

published 4 Sep 2025 · updated 11 May 2026

net: hibmcge: fix rtnl deadlock issue

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1343a8994ca7dba78f5dd818e89d68331c21c35d, Kernel c875503a9b9082928d7d3fc60b5400d16fbfae4e and Kernel d85a6346fd6f595c4914205762d0cdf35c004a5e.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.14, >=3f5a61f6d504f55ed1a36cce044d5123d508721f <1343a8994ca7dba78f5dd818e89d68331c21c35d, >=3f5a61f6d504f55ed1a36cce044d5123d508721f <c875503a9b9082928d7d3fc60b5400d16fbfae4e, >=3f5a61f6d504f55ed1a36cce044d5123d508721f <d85a6346fd6f595c4914205762d0cdf35c004a5e1343a8994ca7dba78f5dd818e89d68331c21c35d, c875503a9b9082928d7d3fc60b5400d16fbfae4e, d85a6346fd6f595c4914205762d0cdf35c004a5e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38720 severity on Zeptric[![CVE-2025-38720](https://zeptric.io/badge/cve/CVE-2025-38720.svg)](https://zeptric.io/cve/CVE-2025-38720)