CVE-2025-71157
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom bca51197620a257e2954be99b16f05115c3b2630 before 20436f2742a92b7afeb2504eb559a98d2196b001, from bca51197620a257e2954be99b16f05115c3b2630 before fe8d456080423b9ed410469fbd1e2098d3acce2b, from bca51197620a257e2954be99b16f05115c3b2630 before fa3c411d21ebc26ffd175c7256c37cefa35020aa, 6.11
Not affected: before 6.11, from 6.12.64 up to 6.12.*, from 6.18.4 up to 6.18.*, from 6.19 up to *
CVE List
linux linux_kernelfrom 6.11 before 6.12.64, from 6.13 before 6.18.4, 6.19NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: RDMA/core: siempre liberar el contador de referencias del dispositivo en ib_del_sub_device_and_put() Dado 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71157 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-71157 changed 2026-11-05Public domain