{"id":"CVE-2025-71157","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:\n\nRDMA/core: always drop device refcount in ib_del_sub_device_and_put()\n\nSince nldev_deldev() (introduced by commit 060c642b2ab8 (\"RDMA/nldev: Add\nsupport to add/delete a sub IB device through netlink\") grabs a reference\nusing ib_device_get_by_index() before calling ib_del_sub_device_and_put(),\nwe need to drop that reference before returning -EOPNOTSUPP error.","modified":"2026-04-02T13:04:54.415810Z","published":"2026-01-23T14:25:56.458Z","related":["SUSE-SU-2026:0447-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","openSUSE-SU-2026:20287-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71157.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/20436f2742a92b7afeb2504eb559a98d2196b001"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa3c411d21ebc26ffd175c7256c37cefa35020aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe8d456080423b9ed410469fbd1e2098d3acce2b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71157.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71157"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-71157.json"}}],"schema_version":"1.7.5"}