CVE-2026-139691: RDMA/rxe: Use validated num_sge in local buffer

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Use validated numsge 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 numsge prevents overflow during the copy, memcpy() itself still copies numsge from shared memory.

A concurrent userspace modification before or during memcpy() leaves an unvalidated numsge in the local buffer, leading to potential out-of-bounds reads in rxerespchecklength() and copydata() causing:

BUG: KASAN: slab-out-of-bounds in rxereceiver+0x8109/0x9ec0 [rdmarxe] Read of size 4 at addr ffff88812c4867f8 by task kworker/u9:6/361 Workqueue: rxewq dowork [rdmarxe] Call Trace: rxereceiver+0x8109/0x9ec0 [rdmarxe] dowork+0x149/0x610 [rdmarxe] processonework+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 numsge to the local buffer after the copy to prevent this race.

Affected Software

9 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.10.270<5.11
5.11
linux/kernel>=5.15.221<5.16
5.16
linux/kernel>=6.1.178<6.1.193
6.1.193
linux/kernel>=6.6.145<6.6.163
6.6.163
linux/kernel>=6.12.97<6.12.119
6.12.119
linux/kernel>=6.18.40<6.18.65
6.18.65
linux/kernel>=7.1.5<7.2
7.2
linux/kernel>=7.2.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.11
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.16
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.2
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  9. Compensating control

    In both SRQ and non-SRQ receive paths, copy the WQE into a local buffer and explicitly assign the validated num_sge to that buffer after the copy, so subsequent processing does not use num_sge copied from shared memory.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via OSV·01:37 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

What access would an attacker need to trigger this issue?

An attacker would need the ability to concurrently modify userspace-shared receive work queue entry data while the rxe driver is copying it for either SRQ or non-SRQ receive processing. The race can leave an unvalidated num_sge value in the kernel-owned local buffer.

2

How might this appear on an affected system?

The issue can cause out-of-bounds reads in rxe_resp_check_length() and copy_data(). The provided example reports a KASAN slab-out-of-bounds read in rxe_receiver in the rdma_rxe module, running from the rxe_wq workqueue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203