CVE-2026-139691
RDMA/rxe: Use validated num_sge in local buffer
Check your servers for CVE-2026-139691
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139691 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.95% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3cfa2a3adc51b7c57729961a03446962ff10e3d2, before bbadac94c3d51400182f6604e8cb721490713490 affected from cd19a6345e3727adafafa5954b58b13c92e13b80, before 036a24afc6bd194cfbbe506ac6f4b6d11810192f affected from 3e07ea9579dc9553d2285c26c2823931358aa3b8, before d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a affected from 02558c86b6b761063e9399e6b939984500327ef1, before 718fe137c0057c7a56204e3a677de4f9dbacdd1d affected from 22b8fbded65b8c441b634a185f8da67657df6c50, before d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6 affected from 22b8fbded65b8c441b634a185f8da67657df6c50, before a4368022a3ac5324356ae8d88e3a42d115956fd6 affected c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe affected e48daa94ad2d406225b73491fc935064716f0ec7 affected b9800d7953d119bcc068c74587d48e4ba0313629 affected 2e60378fb3c8b51c94103bb40014c4fe38fa5033 affected fc72fd61cc8b2e2e3e92ae4c0e9cc30c9a7ecb78 affected 9fa785137303f7109c23dea779b8dedc67c9b531 affected 5420eebf3b3c162bfaf965f30e61cd1d689e5732 affected a211b7904aed365e4e4f08a48ec6e6dd1ea7b16b affected from 6.1.178, before 6.1.193 affected from 6.6.145, before 6.6.163 affected from 6.12.97, before 6.12.119 affected from 6.18.40, before 6.18.65 affected from 5.10.270, before 5.11 affected from 5.15.221, before 5.16 affected from 7.1.5, before 7.2
Other versions: unaffected
|
| Linux |
affected 7.2 unaffected before 7.2 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139691 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139691
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139691
trivy image --scanners vuln IMAGE | grep CVE-2026-139691
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bbadac94c3d51400182f6604e8cb721490713490 git.kernel.org
- https://git.kernel.org/stable/c/036a24afc6bd194cfbbe506ac6f4b6d11810192f git.kernel.org
- https://git.kernel.org/stable/c/d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a git.kernel.org
- https://git.kernel.org/stable/c/718fe137c0057c7a56204e3a677de4f9dbacdd1d git.kernel.org
- https://git.kernel.org/stable/c/d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6 git.kernel.org
- https://git.kernel.org/stable/c/a4368022a3ac5324356ae8d88e3a42d115956fd6 git.kernel.org
Source: the record CVE-2026-139691 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse