CVE-2025-71157

RDMA/core: always drop device refcount in ib_del_sub_device_and_put()

State
Published
Severity
Not scored
Published
Jan 23, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bca51197620a257e2954be99b16f05115c3b2630 to before 20436f2742a92b7afeb2504eb559a98d2196b001Affected
  • bca51197620a257e2954be99b16f05115c3b2630 to before fe8d456080423b9ed410469fbd1e2098d3acce2bAffected
  • bca51197620a257e2954be99b16f05115c3b2630 to before fa3c411d21ebc26ffd175c7256c37cefa35020aaAffected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.4 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.