Out-of-bounds read in Linux kernel RDMA rxe receive path
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The rxe RDMA driver in the Linux kernel copies a receive work request into a local buffer but takes the num_sge value from shared memory without validating it after the copy. A concurrent userspace modification can leave an unvalidated num_sge in that buffer, which leads to out-of-bounds reads. Affected kernels are from 6.1.178 before 6.1.193, from 6.6.145 before 6.6.163, from 6.12.97 before 6.12.119, from 6.18.40 before 6.18.65, from 5.10.270 before 5.11, from 5.15.221 before 5.16, from 7.1.5 before 7.2, and from 7.2 onward.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Use validated num_sge in local buffer For both SRQ and non-SRQ receive paths, the WQE is copied into a local buffer to provide a kernel-owned, validated copy. While calculating the memcpy size from the validated num_sge prevents overflow during the copy, memcpy() itself still copies num_sge from shared memory. A concurrent userspace modification before or during memcpy() leaves an unvalidated num_sge in the local buffer, leading to potential out-of-bounds reads in rxe_resp_check_length() and copy_data() causing: BUG: KASAN: slab-out-of-bounds in rxe_receiver+0x8109/0x9ec0 [rdma_rxe] Read of size 4 at addr ffff88812c4867f8 by task kworker/u9:6/361 Workqueue: rxe_wq do_work [rdma_rxe] Call Trace: rxe_receiver+0x8109/0x9ec0 [rdma_rxe] do_work+0x149/0x610 [rdma_rxe] process_one_work+0x726/0x10a0 The buggy address belongs to the object at ffff88812c486000 which belongs to the cache kmalloc-part-13-2k of size 2048 The buggy address is located 0 bytes to the right of allocated 2040-byte region [ffff88812c486000, ffff88812c4867f8) Explicitly assign the validated num_sge to the local buffer after the copy to prevent this race.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.1.178 to before 6.1.193; 6.6.145 to before 6.6.163; 6.12.97 to before 6.12.119; 6.18.40 to before 6.18.65; 5.10.270 to before 5.11; 5.15.221 to before 5.16; 7.1.5 to before 7.2 | 6.1.193, 6.6.163, 6.12.119, 6.18.65, 5.11, 5.16, 7.2 | Patch available | CNA |
| Linux | Linux | 7.2 and later | 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 6.1.178 to before 6.1.193; 6.6.145 to before 6.6.163; 6.12.97 to before 6.12.119; 6.18.40 to before 6.18.65; 5.10.270 to before 5.11; 5.15.221 to before 5.16; 7.1.5 to before 7.2 Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 5.11, 5.16, 7.2 Patch available CNA
- Linux VendorLinux Affected 7.2 and later Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Fixed Linux kernel versions are 5.11, 5.16, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.2, 7.3.6 and 7.4-rc1. The sources list no advisory identifiers for these fixes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 5.11, 5.16, 7.2
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139691
- 2026-11-30 Alias added: GHSA-2h77-4w9w-jwxj
References
Other 6
- https://git.kernel.org/stable/c/bbadac94c3d51400182f6604e8cb721490713490
- https://git.kernel.org/stable/c/036a24afc6bd194cfbbe506ac6f4b6d11810192f
- https://git.kernel.org/stable/c/d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a
- https://git.kernel.org/stable/c/718fe137c0057c7a56204e3a677de4f9dbacdd1d
- https://git.kernel.org/stable/c/d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6
- https://git.kernel.org/stable/c/a4368022a3ac5324356ae8d88e3a42d115956fd6
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139691 · CVE Program
- CVE-2026-139691 · NVD
- GHSA-2h77-4w9w-jwxj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences