GPU VulnDB

Database/Firmware, BMC & network fabric

Linux kernel hns_roce: bonding teardown order leaks resources and leaves a stale netdev notifier

CVE-2026-80625Firmware, BMC & network fabriccurated

Impact

When driver removal and a driver reset race, hns_roce releases its bonding resources in hns_roce_hw_v2_exit() and then reallocates them in hns_roce_register_device(), past the point where they can ever be freed. Besides the memory leak, the leaked netdev notifier callback stays registered and is invoked later from netdev_lower_state_changed(), which the report shows ending in a kernel panic. On a fleet using HiSilicon RoCE NICs for the storage or east-west fabric, that panic lands during exactly the events operators trigger deliberately - a driver reset after a link fault, or an unbind during maintenance - so a routine fabric recovery can drop the node instead of healing it. The record gives no indication that an unprivileged user can drive this; it is a race between administrative and error-recovery paths.

Who can reach it

Not reachable by an unprivileged tenant per the record. It requires driver removal (root, or a package upgrade unbinding the module) to run concurrently with a driver reset, which the hardware or error recovery can raise on its own. Only nodes with HiSilicon hns RoCE devices are affected.

What to do

Update to a kernel with the corrected teardown ordering and reboot the affected nodes; a module reload is not a safe substitute here because the bug is in the unbind path itself. Until then, avoid unbinding or upgrading the hns_roce driver while the fabric is flapping, and schedule module changes when the link is stable. The record lists two stable commits and no vendor-fixed version.

References

Related entries

All Firmware, BMC & network fabric entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.