CVE-2026-139691

Source
https://cve.org/CVERecord?id=CVE-2026-139691
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139691.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139691
Published
2026-11-30T13:37:05Z
Modified
2026-11-30T15:02:30Z
Summary
RDMA/rxe: Use validated num_sge in local buffer
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139691.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3cfa2a3adc51b7c57729961a03446962ff10e3d2
Fixed
bbadac94c3d51400182f6604e8cb721490713490
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cd19a6345e3727adafafa5954b58b13c92e13b80
Fixed
036a24afc6bd194cfbbe506ac6f4b6d11810192f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3e07ea9579dc9553d2285c26c2823931358aa3b8
Fixed
d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
02558c86b6b761063e9399e6b939984500327ef1
Fixed
718fe137c0057c7a56204e3a677de4f9dbacdd1d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
22b8fbded65b8c441b634a185f8da67657df6c50
Fixed
d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6
Fixed
a4368022a3ac5324356ae8d88e3a42d115956fd6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e48daa94ad2d406225b73491fc935064716f0ec7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b9800d7953d119bcc068c74587d48e4ba0313629
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2e60378fb3c8b51c94103bb40014c4fe38fa5033
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fc72fd61cc8b2e2e3e92ae4c0e9cc30c9a7ecb78
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9fa785137303f7109c23dea779b8dedc67c9b531
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5420eebf3b3c162bfaf965f30e61cd1d689e5732
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a211b7904aed365e4e4f08a48ec6e6dd1ea7b16b

Affected versions

v5.*
v5.10.270
v5.10.271
v5.10.272
v5.10.273
v5.10.274
v5.10.275
v5.15.221
v5.15.222
v5.15.223
v5.15.224
v5.15.225
v5.15.226
v6.*
v6.1.178
v6.1.179
v6.1.180
v6.1.181
v6.1.182
v6.1.183
v6.1.184
v6.1.185
v6.1.186
v6.1.187
v6.1.188
v6.1.189
v6.1.190
v6.1.191
v6.1.192
v6.1.193
v6.12.100
v6.12.101
v6.12.102
v6.12.103
v6.12.104
v6.12.105
v6.12.106
v6.12.107
v6.12.108
v6.12.109
v6.12.110
v6.12.111
v6.12.112
v6.12.113
v6.12.114
v6.12.115
v6.12.116
v6.12.117
v6.12.118
v6.12.119
v6.12.120
v6.12.97
v6.12.98
v6.12.99
v6.18.40
v6.18.41
v6.18.42
v6.18.43
v6.18.44
v6.18.45
v6.18.46
v6.18.47
v6.18.48
v6.18.49
v6.18.50
v6.18.51
v6.18.52
v6.18.53
v6.18.54
v6.18.55
v6.18.56
v6.18.57
v6.18.58
v6.18.59
v6.18.60
v6.18.61
v6.18.62
v6.18.63
v6.18.64
v6.18.65
v6.18.66
v6.6.145
v6.6.146
v6.6.147
v6.6.148
v6.6.149
v6.6.150
v6.6.151
v6.6.152
v6.6.153
v6.6.154
v6.6.155
v6.6.156
v6.6.157
v6.6.158
v6.6.159
v6.6.160
v6.6.161
v6.6.162
v6.6.163
v7.*
v7.1.10
v7.1.11
v7.1.12
v7.1.13
v7.1.5
v7.1.6
v7.1.7
v7.1.8
v7.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139691.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.270
Fixed
5.11
Type
ECOSYSTEM
Events
Introduced
5.15.221
Fixed
5.16
Type
ECOSYSTEM
Events
Introduced
6.1.178
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.6.145
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.12.97
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.18.40
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
7.1.5
Fixed
7.2
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139691.json"