{"id":"CVE-2026-80625","aliases":["CVE-2026-80625"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/hns: Fix memory leak of bonding resources","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix memory leak of bonding resources\n\nIn a corner case of concurrent driver removal and driver reset,\nbonding resource is first released in hns_roce_hw_v2_exit() during\ndriver removal, and then is allocated again in hns_roce_register_device()\nduring driver reset. This leads to memory leak because the release\ntiming has already passed. This may also lead to a kernel panic\nas below because of the leaked notifier callback:\n\nCall trace:\n  0xffffa20fccc04978 (P)\n  raw_notifier_call_chain+0x20/0x38\n  call_netdevice_notifiers_info+0x60/0xb8\n  netdev_lower_state_changed+0x4c/0xb8\n\nAs Sashiko suggested, the teardown order of bonding resources should\nbe inverted to make sure the resources are released when the driver\nis removed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix memory leak of bonding resources\n\nIn a corner case of concurrent driver removal and driver reset,\nbonding resource is first released in hns_roce_hw_v2_exit() during\ndriver removal, and then is allocated again in hns_roce_register_device()\nduring driver reset. This leads to memory leak because the release\ntiming has already passed. This may also lead to a kernel panic\nas below because of the leaked notifier callback:\n\nCall trace:\n  0xffffa20fccc04978 (P)\n  raw_notifier_call_chain+0x20/0x38\n  call_netdevice_notifiers_info+0x60/0xb8\n  netdev_lower_state_changed+0x4c/0xb8\n\nAs Sashiko suggested, the teardown order of bonding resources should\nbe inverted to make sure the resources are released when the driver\nis removed.","source":"cvelist"}],"published":"2026-08-28T06:48:43.583Z","modified":"2026-08-28T08:16:46.647Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b37ad2e290fc52e575572b04803a4f93f584df6c","fixed":"bc4caea7a82bbcf94a34eff7094e7f9b501680ab","status":"affected"},{"type":"git","introduced":"b37ad2e290fc52e575572b04803a4f93f584df6c","fixed":"c0bd03b850d81a8914168d87ddf7f6ffa58875ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bc4caea7a82bbcf94a34eff7094e7f9b501680ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0bd03b850d81a8914168d87ddf7f6ffa58875ef","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80625","url":"https://www.cve.org/CVERecord?id=CVE-2026-80625","licence":"CVE Terms of Use","modified":"2026-08-28T06:48:43.583Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80625","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80625","licence":"Public domain","modified":"2026-08-28T08:16:46.647Z"}],"updatedAt":"2026-11-25T22:59:35.592Z","epss":{"score":0.00155,"percentile":0.04909,"date":"2026-12-01T12:00:22.000Z"}}