CVE-2026-139356
RDMA/rxe: validate inline sge_offset in finish_packet() before indexing inline_data[]
No exploitation reported by the sources we read.
- Published2026-11-30
- Fixed in7.3.6 · 6.18.65 · 6.12.119 · 6.6.163 · 6.1.193 · 5.15.226
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: validate inline sge_offset in finish_packet() before indexing inline_data[] For a user QP, rxe_post_send() takes the qp->is_user branch and never runs init_send_wqe(), so dma.length/resid/num_sge/cur_sge/sge_offset all come straight from the mmap'd SQ ring. In the inline send path finish_packet() uses sge_offset directly as an index: u8 *tmp = &wqe->dma.inline_data[wqe->dma.sge_offset]; memcpy(payload_addr(pkt), tmp, payload); inline_data is a flex array whose capacity is qp->sq.max_inline, but sge_offset is a u32 from user space, so the source pointer is displaced arbitrarily past the WQE and the memcpy reads out of bounds. commit 126c757e4cd4 ("RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[]") added num_sge/cur_sge checks on the send path but not sge_offset, the third attacker-controlled index in the same struct. Read sge_offset once with READ_ONCE() and bound it (and the payload that follows it) by qp->sq.max_inline before indexing, so the value that is validated is the value that is used.
Timeline
dates in UTC- 2026-11-3013:34CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.3 | ≥ 6.19.0, < 7.3.6 | 7.3.6 | OSV |
| 6.x | ≥ 6.13.0, < 6.18.65 | 6.18.65 | OSV |
| 6.x | ≥ 6.7.0, < 6.12.119 | 6.12.119 | OSV |
| 6.x | ≥ 6.2.0, < 6.6.163 | 6.6.163 | OSV |
| 6.1 | ≥ 5.16.0, < 6.1.193 | 6.1.193 | OSV |
| 5.15 | ≥ 4.8.0, < 5.15.226 | 5.15.226 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Linuxother versions: not affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < d7bc85182be87f8a4a5418f12e3378d790cae630fixed in d7bc85182be87f8a4a5418f12e3378d790cae630git
- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 5c231af4a0d14c125d7120f500ab71cd251cab36fixed in 5c231af4a0d14c125d7120f500ab71cd251cab36git
- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 1706290f1a8de07a29c1b1e6bb61048699c578e2fixed in 1706290f1a8de07a29c1b1e6bb61048699c578e2git
- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < a99c5a54227ba60c4c8e26a570d6d724c39f6ae1fixed in a99c5a54227ba60c4c8e26a570d6d724c39f6ae1git
- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 01e79cab51d9a75815a57f5dfb7c8cefe8e88ea7fixed in 01e79cab51d9a75815a57f5dfb7c8cefe8e88ea7git
- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 1d77fd886b4757388246bb8ab2fb805b72ddaed0fixed in 1d77fd886b4757388246bb8ab2fb805b72ddaed0git
- ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 47a9c0338f2e0d4178d77b0d2f529fe1fde84642fixed in 47a9c0338f2e0d4178d77b0d2f529fe1fde84642git
- Linuxother versions: affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- = 4.8no fix stated
Not affected < 4.8 · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.119, ≤ 6.12.* · ≥ 6.18.65, ≤ 6.18.* · ≥ 7.3.6, ≤ 7.3.*
1 more version line in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- linuxDebian:14all versions · fixed in 7.3.6-1
- linuxDebian:13all versions · no fixed version listed
- linuxDebian:12all versions · no fixed version listed
Fix
- Update Linux kernel to 7.3.6 · 6.18.65 · 6.12.119 · 6.6.163 · 6.1.193 · 5.15.226
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-01
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-30
- CNACVSS 3.17.12026-12-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-139061same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-q5cp-vfvq-hx7qsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Published
- 2026-11-30
- Last modified
- 2026-11-30
- NVD status
- Received
- GitHub advisory
- GHSA-q5cp-vfvq-hx7q
Frequently asked questions
What is CVE-2026-139356?
Is CVE-2026-139356 actively exploited?
What is the CVSS score for CVE-2026-139356?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-q5cp-vfvq-hx7q
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served