Linux Kernel: rnbd-srv use-after-free (CVE-2026-139113)
A race condition in the Linux kernel rnbd-srv component allows unauthenticated peers to trigger a use-after-free by sending multiple CLOSE messages for the same device ID.
CVE search metadata
CVE search record: CVE-2026-139113. Severity: critical. CVSS: 9.8. KEV: no. Product: Linux kernel. Brief: Linux Kernel: rnbd-srv use-after-free (CVE-2026-139113). Brief link: https://feed.craftedsignal.io/briefs/2026-12-rnbd-srv-uaf-cve-2026-139113/
Triage facts
Revision 1- Applicability
- Linux kernel
- Evidence
- Unknown
- Severity
- Critical
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Dec 1, 11:01 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Overview
A use-after-free vulnerability exists in the Linux kernel rnbd-srv component due to improper synchronization in the process_msg_close function. The kernel performs a session device lookup before acquiring the session mutex, enabling a race condition when concurrent CLOSE messages for the same device ID are processed. An unauthenticated peer can exploit this to cause kernel memory corruption or a system crash.
Impact
Successful exploitation allows an unauthenticated remote peer to cause a denial-of-service by crashing the storage server. Due to the nature of the use-after-free, memory corruption can occur, potentially leading to arbitrary kernel memory reads or execution via indirect calls if memory slots are groomed and reused by other kernel objects.
Recommendation
- Audit and update Linux kernel environments utilizing the RNBD server (rnbd-srv) to a version that incorporates the upstream fix for this race condition.
- Monitor storage server logs for kernel oopses or KASAN reports following unauthorized or anomalous RDMA connection attempts.
- Restrict network access to the RTRS RDMA listening port (default TCP/1234) to trusted peers, as the current implementation lacks robust credential verification for RTRS connections.
Threat Hunt
Monitor kernel logs for oops messages or KASAN reports specifically associated with rnbd-srv or RTRS modules.
Data: dmesg, kernel ring buffer, syslog
Mitigations
Restrict network access to the RTRS RDMA listening port 1234 using firewalls to allow only known, trusted peers.
CVE-2026-139113