In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Lock the handler in ucma_write_cm_event() ctx->file may only be… (CVE-2026-89507)
A vulnerability in the Linux kernel's RDMA ucma component was resolved involving improper locking in the ucma_write_cm_event() function. The issue allowed ctx->file to be changed without proper locking, leading to list corruption and a kernel bug that could cause a deadlock and resource leakage. This flaw could be triggered by unprivileged users due to the permissions on /dev/infiniband/rdma_cm. The fix involves taking the handler lock to prevent concurrent modification during event queuing.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel RDMA ucma subsystem stemmed from the ucma_write_cm_event() function re-reading ctx->file multiple times without holding the necessary handler lock. This allowed ctx->file to be swapped mid-operation by ucma_migrate_id(), causing list_add_tail() to corrupt the event list by manipulating it under the wrong mutex. The corruption leads to a kernel BUG and leaves the mutex locked indefinitely, causing deadlock for subsequent writers. Additionally, the uevent remains stranded on a list that is not cleaned up, potentially causing resource leaks. The device file /dev/infiniband/rdma_cm is world-writable (0666), enabling unprivileged users to trigger this condition. The resolution was to take the handler lock in ucma_write_cm_event(), aligning with the locking strategy used in ucma_cleanup_mc_events(), ensuring ctx->file is not changed concurrently during event queuing.
Potential Impact
The vulnerability can cause kernel list corruption leading to a kernel BUG and deadlock, which can freeze kernel threads waiting on the locked mutex. It also results in resource leaks due to stranded events on unwalked lists. Because the device file is world-writable, unprivileged users can exploit this to cause denial of service conditions on the system. There is no indication of privilege escalation or arbitrary code execution from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to take the handler lock in ucma_write_cm_event(), preventing concurrent modification of ctx->file during event queuing. Users should update to the fixed kernel version once available. No additional mitigation is indicated or required beyond applying the official fix.
In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Lock the handler in ucma_write_cm_event() ctx->file may only be… (CVE-2026-89507)
Description
A vulnerability in the Linux kernel's RDMA ucma component was resolved involving improper locking in the ucma_write_cm_event() function. The issue allowed ctx->file to be changed without proper locking, leading to list corruption and a kernel bug that could cause a deadlock and resource leakage. This flaw could be triggered by unprivileged users due to the permissions on /dev/infiniband/rdma_cm. The fix involves taking the handler lock to prevent concurrent modification during event queuing.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel RDMA ucma subsystem stemmed from the ucma_write_cm_event() function re-reading ctx->file multiple times without holding the necessary handler lock. This allowed ctx->file to be swapped mid-operation by ucma_migrate_id(), causing list_add_tail() to corrupt the event list by manipulating it under the wrong mutex. The corruption leads to a kernel BUG and leaves the mutex locked indefinitely, causing deadlock for subsequent writers. Additionally, the uevent remains stranded on a list that is not cleaned up, potentially causing resource leaks. The device file /dev/infiniband/rdma_cm is world-writable (0666), enabling unprivileged users to trigger this condition. The resolution was to take the handler lock in ucma_write_cm_event(), aligning with the locking strategy used in ucma_cleanup_mc_events(), ensuring ctx->file is not changed concurrently during event queuing.
Potential Impact
The vulnerability can cause kernel list corruption leading to a kernel BUG and deadlock, which can freeze kernel threads waiting on the locked mutex. It also results in resource leaks due to stranded events on unwalked lists. Because the device file is world-writable, unprivileged users can exploit this to cause denial of service conditions on the system. There is no indication of privilege escalation or arbitrary code execution from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to take the handler lock in ucma_write_cm_event(), preventing concurrent modification of ctx->file during event queuing. Users should update to the fixed kernel version once available. No additional mitigation is indicated or required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-75mg-q43g-73qj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89507"]
Threat ID: 6aa4a01755bf5e2cf5a866f6
Added to database: 09/12/2026, 00:43:03 UTC
Last enriched: 09/12/2026, 01:12:46 UTC
Last updated: 09/12/2026, 01:12:46 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.