CVE-2025-38287
JSON

7.5high

IB/cm: Drop lockdep assert and WARN when freeing old msg

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: IB/cm: Drop lockdep assert and WARN when freeing old msg The send completion handler can run after cm_id has advanced to another message. The cm_id lock is not needed in this case, but a recent change re-used cm_free_priv_msg(), which asserts that the lock is held and WARNs if the cm_id's currently outstanding msg is different than the one being freed.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1e5159219076ddb2e44338c667c83fd1bd43dfef before fc096a0cd2017cb0aa1e7fb83131410af9283910, from 1e5159219076ddb2e44338c667c83fd1bd43dfef before 7590649ee7af381a9d1153143026dec124c5798e, 6.13
Not affected: before 6.13, from 6.15.3 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 6.13 before 6.15.3NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: IB/cm: Drop lockdep assert and WARN when freeing old msg The send completion handler can run after cm_id has advanced to another message. The cm_id lock is not needed in this case, but a recent change re-used cm_free_priv_msg(), which asserts that the lock is held and WARNs if the cm_id's currently outstanding msg is different than the one being freed.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: IB/cm: Se omite la aserción de lockdep y la advertencia al liberar un mensaje antiguo. El controlador de finalización de envío puede ejecutarse después de que cm_id haya avanzado a otro mensaje. El bloqueo de cm_id no es necesario en este caso, pero un cambio reciente reutilizó cm_free_priv_msg(), que confirma que el bloqueo se mantiene y emite una advertencia si el mensaje pendiente de cm_id es diferente del que se está liberando.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38287 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-38287 changed 2026-07-30Public domain