What’s Vulnerable › Vulnerabilities
CVE-2025-71157: RDMA/core: always drop device refcount in ib_del_sub_device_and_put()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-23 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/core: always drop device refcount in ib_del_sub_device_and_put() Since nldev_deldev() (introduced by commit 060c642b2ab8 ("RDMA/nldev: Add support to add/delete a sub IB device through netlink") grabs a reference using ib_device_get_by_index() before calling ib_del_sub_device_and_put(), we need to drop that reference before returning -EOPNOTSUPP error.
Affected products
- Linux kernel: from 6.11 before 6.12.64; from 6.13 before 6.18.4; 6.19-rc1, 6.19-rc2, 6.19-rc3 — fixed in 6.12.64, 6.18.4
How to fix
Upgrade to a fixed version: Linux kernel 6.12.64, 6.18.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/20436f2742a92b7afeb2504eb559a98d2196b001
- https://git.kernel.org/stable/c/fa3c411d21ebc26ffd175c7256c37cefa35020aa
- https://git.kernel.org/stable/c/fe8d456080423b9ed410469fbd1e2098d3acce2b
Get alerted when CVE-2025-71157 or the next vulnerability affects your stack