# CVE-2026-80625: RDMA/hns: Fix memory leak of bonding resources

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-28T06:48:43.583Z
- Modified: 2026-08-28T08:16:46.647Z
- Assigned by: Linux

## Description

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

RDMA/hns: Fix memory leak of bonding resources

In a corner case of concurrent driver removal and driver reset,
bonding resource is first released in hns_roce_hw_v2_exit() during
driver removal, and then is allocated again in hns_roce_register_device()
during driver reset. This leads to memory leak because the release
timing has already passed. This may also lead to a kernel panic
as below because of the leaked notifier callback:

Call trace:
  0xffffa20fccc04978 (P)
  raw_notifier_call_chain+0x20/0x38
  call_netdevice_notifiers_info+0x60/0xb8
  netdev_lower_state_changed+0x4c/0xb8

As Sashiko suggested, the teardown order of bonding resources should
be inverted to make sure the resources are released when the driver
is removed.

(As written by CVE List.)

## Affected

- Linux Linux: from b37ad2e290fc52e575572b04803a4f93f584df6c before bc4caea7a82bbcf94a34eff7094e7f9b501680ab; from b37ad2e290fc52e575572b04803a4f93f584df6c before c0bd03b850d81a8914168d87ddf7f6ffa58875ef; 6.19 (not affected: before 6.19; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/bc4caea7a82bbcf94a34eff7094e7f9b501680ab>
- <https://git.kernel.org/stable/c/c0bd03b850d81a8914168d87ddf7f6ffa58875ef>

## Sources

- CVE List: [CVE-2026-80625](https://www.cve.org/CVERecord?id=CVE-2026-80625), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-80625](https://nvd.nist.gov/vuln/detail/CVE-2026-80625), Public domain, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-80625 · Whole record: https://cve.day/CVE-2026-80625.json · Rebuilt by cve.day 2026-11-25T22:59:35.592Z
