IB/cm: Drop lockdep assert and WARN when freeing old msg
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.15.3
- CVEs
- CVE-2025-38287
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:58 UTC · Revision 1
Source evidence
IB/cm: Drop lockdep assert and WARN when freeing old msg
core-osv · Original sourcePublished 10 Jul 2025, 07:42 UTC
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.
osv:CVE-2025-38287
Kernel
Fixed versions: 6.15.3
Complete source record
{
"id": "23b1230628b22a7d0b170921188fefc62f0dcaf23951ceef4a172521dc6c330b",
"url": "https://osv.dev/vulnerability/CVE-2025-38287",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "IB/cm: Drop lockdep assert and WARN when freeing old msg",
"summary": "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.",
"evidence": "osv:CVE-2025-38287",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.15.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38287",
"aliases": [
"CVE-2025-38287"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1e5159219076ddb2e44338c667c83fd1bd43dfef"
},
{
"fixed": "fc096a0cd2017cb0aa1e7fb83131410af9283910"
},
{
"fixed": "7590649ee7af381a9d1153143026dec124c5798e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38287.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38287.json"
}
}
],
"modified": "2026-10-28T02:30:22.164829175Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/7590649ee7af381a9d1153143026dec124c5798e",
"https://git.kernel.org/stable/c/fc096a0cd2017cb0aa1e7fb83131410af9283910",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38287.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38287",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38287.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38287",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488006,
"published_at": "2025-07-10T07:42:04.056+00:00"
}