{"id":"CVE-2025-71157","aliases":["CVE-2025-71157"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/core: always drop device refcount in ib_del_sub_device_and_put()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nRDMA/core: siempre liberar el contador de referencias del dispositivo en ib_del_sub_device_and_put()\n\nDado que nldev_deldev() (introducido por el commit 060c642b2ab8 ('RDMA/nldev: Añadir soporte para añadir/eliminar un subdispositivo IB a través de netlink') obtiene una referencia usando ib_device_get_by_index() antes de llamar a ib_del_sub_device_and_put(), necesitamos liberar esa referencia antes de devolver el error -EOPNOTSUPP.","source":"nvd"}],"published":"2026-01-23T14:25:56.458Z","modified":"2026-11-05T22:17:38.437Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bca51197620a257e2954be99b16f05115c3b2630","fixed":"20436f2742a92b7afeb2504eb559a98d2196b001","status":"affected"},{"type":"git","introduced":"bca51197620a257e2954be99b16f05115c3b2630","fixed":"fe8d456080423b9ed410469fbd1e2098d3acce2b","status":"affected"},{"type":"git","introduced":"bca51197620a257e2954be99b16f05115c3b2630","fixed":"fa3c411d21ebc26ffd175c7256c37cefa35020aa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.4","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.11","fixed":"6.12.64"},{"status":"affected","introduced":"6.13","fixed":"6.18.4"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/20436f2742a92b7afeb2504eb559a98d2196b001","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe8d456080423b9ed410469fbd1e2098d3acce2b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa3c411d21ebc26ffd175c7256c37cefa35020aa","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:14:51.218Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71157","url":"https://www.cve.org/CVERecord?id=CVE-2025-71157","licence":"CVE Terms of Use","modified":"2026-11-05T21:23:09.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71157","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71157","licence":"Public domain","modified":"2026-11-05T22:17:38.437Z"}],"updatedAt":"2026-11-25T22:59:10.839Z","epss":{"score":0.00142,"percentile":0.03787,"date":"2026-12-01T12:00:22.000Z"}}