CVE-2026-64281
High · 7.5CVSS
7.5
EPSS
0.5%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel's high-speed networking code can cause system threads to hang forever when network connections close, potentially freezing parts of the server.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Race Condition
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Threads parked in svc_rdma_sq_wait() remain in TASK_UNINTERRUPTIBLE state after transport close because XPT_CLOSE is never observed by the wait predicates; this pins svc_xprt references indefinitely and blocks svc_rdma_free().
Why it matters to the business
Kernel workers become permanently blocked, exhausting scheduling resources and preventing clean teardown of RDMA transports, which can degrade or crash affected Linux systems under network load.
How an attack unfolds
An attacker triggers repeated connect/disconnect sequences against an RDMA-enabled NFS or iSCSI service; each close path either bypasses or fails to wake the sq_ticket and send waitqueues, leaving workers parked and accumulating references until the system becomes unresponsive.
How to fix it
Update the Linux kernel to a version containing the svc_rdma_xprt_deferred_close() helper and the explicit wake calls from both deferred-close and detach paths; rebuild and reboot with the patched kernel.
How to confirm the fix worked
Confirm the presence of svc_rdma_xprt_deferred_close() and the wake calls on sc_sq_ticket_wait and sc_send_wait in the svcrdma source; exercise connect/close cycles and verify no TASK_UNINTERRUPTIBLE workers remain after transport teardown.
Typical attack path
- Establish multiple RDMA connections to a listening svcrdma service
- Abruptly close or reset the connections to invoke either local or remote teardown paths
- Leave worker threads parked on sc_sq_ticket_wait or sc_send_wait without wakeup
- Repeat until scheduling or reference-count exhaustion occurs
How to detect it
Inspect kernel logs and task dumps for svc_rdma workers stuck in D-state after transport close events; correlate with RDMA connection teardown messages and reference-count leaks on xprt objects.
What your security team should do
- Prioritize kernel updates on all systems exposing RDMA transports (NFS, iSCSI, Lustre)
- Monitor for stuck svc_rdma workers in D-state after network events
- Temporarily disable RDMA if the exposure cannot be patched promptly
The record
In the Linux kernel, the following vulnerability has been resolved: svcrdma: wake sq waiters when the transport closes Threads parked in svc_rdma_sq_wait() on sc_sq_ticket_wait or sc_send_wait can hang indefinitely in TASK_UNINTERRUPTIBLE state across transport teardown, pinning svc_xprt references and blocking svc_rdma_free(). The close path sets XPT_CLOSE before invoking xpo_detach and both wait_event predicates include an XPT_CLOSE term, but the predicates are re-evaluated only on wakeup. sc_sq_ticket_wait has no completion-driven wake path; it is advanced solely by the chained ticket handoff inside svc_rdma_sq_wait() itself. Without an explicit wake at close, parked threads never observe XPT_CLOSE, hold their svc_xprt_get reference forever, and svc_rdma_free() blocks on xpt_ref dropping to zero. Two close entry points reach this transport. Local teardown runs svc_rdma_detach() from svc_handle_xprt() -> svc_delete_xprt() -> xpo_detach() on a worker thread. A remote disconnect arrives at svc_rdma_cma_handler(), which calls svc_xprt_deferred_close(): that sets XPT_CLOSE and enqueues the transport but does not access either RDMA waitqueue, so a worker already parked in svc_rdma_sq_wait() never re-evaluates its predicate. With every worker parked on this transport, no thread is available to run the local teardown either, and the wake site there is unreachable. Introduce svc_rdma_xprt_deferred_close(), a thin svcrdma wrapper that calls svc_xprt_deferred_close() and then wakes both sc_sq_ticket_wait and sc_send_wait. Convert the svcrdma producers that called svc_xprt_deferred_close() directly: svc_rdma_cma_handler(), qp_event_handler(), svc_rdma_post_send_err(), svc_rdma_wc_send(), the sendto drop path, the rw completion error paths, and the recvfrom flush and read-list error paths. Wake both waitqueues from svc_rdma_detach() as well. The synchronous svc_xprt_close() path (backchannel ENOTCONN, device removal via svc_rdma_xprt_done) reaches detach without flowing through svc_xprt_deferred_close() and therefore does not invoke the new helper. [ cel: add svc_rdma_xprt_deferred_close() to complete the fix ]
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|