CVE-2025-38287
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-10

Last updated on: 2025-11-19

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-10
Last Modified
2025-11-19
Generated
2026-05-07
AI Q&A
2025-07-10
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-NVD-CWE-noinfo
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel involves the InfiniBand communication manager (IB/cm). Specifically, the send completion handler can execute after the communication identifier (cm_id) has moved on to another message. A recent change reused a function (cm_free_priv_msg()) that expects a lock to be held and checks that the message being freed matches the currently outstanding message. However, because the lock is not needed in this scenario and the cm_id may have advanced, this causes an assertion and warning, indicating improper handling of message freeing and locking.


How can this vulnerability impact me? :

This vulnerability can lead to improper locking and message handling in the Linux kernel's InfiniBand communication manager, potentially causing warnings or assertion failures. This may affect system stability or reliability when handling network messages, possibly leading to unexpected behavior or crashes in systems using this kernel component.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart