In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Lock the handler in ucma_set_ib_path() ucma_set_ib_path() calls… (CVE-2026-89508)
A use-after-free vulnerability in the Linux kernel's RDMA ucma_set_ib_path() function was resolved by adding a handler lock. The issue involved a race condition where a concurrent migration could reassign a context's file pointer while another thread was manipulating event lists without proper locking, leading to a use-after-free and potential kernel crash.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's RDMA ucma_set_ib_path() function arises because ucma_set_ib_path() calls ucma_event_handler() directly from the write path without holding the handler lock that ensures the stability of ctx->file while a uevent is queued. Concurrent execution of ucma_migrate_id() can reassign ctx->file while the caller is blocked on a mutex, causing list_add_tail() to operate on a different file's event_list under an incorrect mutex. This race condition leads to a use-after-free detected by KASAN, where a freed ucma_event object is accessed, resulting in kernel instability and potential deadlock. The fix involves taking the handler lock around the call to prevent this race.
Potential Impact
This vulnerability can cause a use-after-free condition in kernel memory, leading to kernel crashes or deadlocks due to improper synchronization in the RDMA ucma code path. It affects systems with RDMA devices and can impact kernel stability and reliability.
Mitigation Recommendations
A fix has been implemented by adding the necessary handler lock in the ucma_set_ib_path() function to prevent the race condition. Users should apply the official kernel update or patch that includes this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation.
In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Lock the handler in ucma_set_ib_path() ucma_set_ib_path() calls… (CVE-2026-89508)
Description
A use-after-free vulnerability in the Linux kernel's RDMA ucma_set_ib_path() function was resolved by adding a handler lock. The issue involved a race condition where a concurrent migration could reassign a context's file pointer while another thread was manipulating event lists without proper locking, leading to a use-after-free and potential kernel crash.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's RDMA ucma_set_ib_path() function arises because ucma_set_ib_path() calls ucma_event_handler() directly from the write path without holding the handler lock that ensures the stability of ctx->file while a uevent is queued. Concurrent execution of ucma_migrate_id() can reassign ctx->file while the caller is blocked on a mutex, causing list_add_tail() to operate on a different file's event_list under an incorrect mutex. This race condition leads to a use-after-free detected by KASAN, where a freed ucma_event object is accessed, resulting in kernel instability and potential deadlock. The fix involves taking the handler lock around the call to prevent this race.
Potential Impact
This vulnerability can cause a use-after-free condition in kernel memory, leading to kernel crashes or deadlocks due to improper synchronization in the RDMA ucma code path. It affects systems with RDMA devices and can impact kernel stability and reliability.
Mitigation Recommendations
A fix has been implemented by adding the necessary handler lock in the ucma_set_ib_path() function to prevent the race condition. Users should apply the official kernel update or patch that includes this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r924-qj9j-26c5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89508"]
Threat ID: 6aa4a01655bf5e2cf5a866e6
Added to database: 09/12/2026, 00:43:02 UTC
Last enriched: 09/12/2026, 01:12:01 UTC
Last updated: 09/12/2026, 01:12:01 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.