CVE-2025-71157

Source
https://cve.org/CVERecord?id=CVE-2025-71157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-71157
Downstream
Related
Published
2026-01-23T14:25:56.458Z
Modified
2026-03-20T12:46:38.971942Z
Summary
RDMA/core: always drop device refcount in ib_del_sub_device_and_put()
Details

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

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

Since nldevdeldev() (introduced by commit 060c642b2ab8 ("RDMA/nldev: Add support to add/delete a sub IB device through netlink") grabs a reference using ibdevicegetbyindex() before calling ibdelsubdeviceandput(), we need to drop that reference before returning -EOPNOTSUPP error.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71157.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bca51197620a257e2954be99b16f05115c3b2630
Fixed
20436f2742a92b7afeb2504eb559a98d2196b001
Fixed
fe8d456080423b9ed410469fbd1e2098d3acce2b
Fixed
fa3c411d21ebc26ffd175c7256c37cefa35020aa

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71157.json"