Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139357

published high CVSS 3.1 · 7.8

RDMA/rxe: bound the ODP page index against the umem in rxe_check_pagefault()

Published
30 Nov 2026, 13:34:00 UTC
Updated
01 Dec 2026, 05:42:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2fae67ab63db7e8b35520f897935d694ad92f2fe to < 93e6c552dc3cf144d4061ee774f3c4461948c169 · 2fae67ab63db7e8b35520f897935d694ad92f2fe to < 4780b472cc01e1e3eaaa1e39be20a8100b4d7464 · 2fae67ab63db7e8b35520f897935d694ad92f2fe to < 7797bbb0e86f0062fe58480a0116c86e4ec0d0d1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: bound the ODP page index against the umem in rxe_check_pagefault() An ODP MR has a page array, map.pfn_list[]. Its size is computed from the umem start address. But rxe_check_pagefault() builds the index into that array from an iova that is relative to the same start, while the access itself was range-checked against the MR's iova (ibmr.iova). Those two bases do not have to match. reg_mr only requires that start and hca_va have the same page offset, so a user can register an MR with hca_va = start + N*PAGE. The difference then becomes an index skew of (hca_va - start) >> PAGE_SHIFT. Nothing compares the result with the size of pfn_list[], so the read goes past the end of the array. An unprivileged local user can reach this with a single RDMA operation on a self-connected rxe QP. KASAN reports a slab-out-of-bounds read. If the out-of-bounds qword happens to look like a writable HMM pfn, rxe then copies the payload into a page the user never registered. Reject an index that falls outside the umem and take the fault path instead. That path rejects the out-of-range access in ib_umem_odp_map_dma_and_lock(), which does check the umem range. The other users of pfn_list[], __rxe_odp_mr_copy() and the atomic helpers, run only after a successful map, so this single check covers them too.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The skew comes from the hca_va a local user passes to ib_uverbs_reg_mr() on /dev/infiniband/uverbsN, which only requires start and hca_va to share a page offset. The bad index is then reached through rxe_mr_copy() -> rxe_odp_mr_copy() -> rxe_check_pagefault(). A remote RoCE peer cannot create the skewed ODP MR, so the vector is local. AC:L - The attacker picks the skew N, so the out-of-bounds pfn_list[] slot is fully chosen. They also drive both ends of the transfer on a self-connected RC QP that rxe_prepare() loops back. No race or outside state is involved, and placing a forged qword next to the kvcalloc'd pfn_list is ordinary heap grooming. PR:L - The uverbs devnode is mode 0666, and neither ib_uverbs_reg_mr() with IB_ACCESS_ON_DEMAND, ib_umem_odp_get(), nor RC QP setup checks a capability. ODP does not pin memory, so RLIMIT_MEMLOCK does not apply. Any unprivileged user on a host with an rxe device configured can do this. UI:N - The attacker registers the MR, creates the QP and posts the send, receive or RDMA work requests themselves. No other user has to act. S:U - The bug corrupts and reads the same kernel's memory. This is a local privilege escalation inside one security authority, with no VM or IOMMU boundary crossed. C:H - The check reads an out-of-bounds pfn_list[] qword. If that qword has HMM_PFN_VALID set, __rxe_odp_mr_copy() kmaps pfn_to_page() of the attacker-forged pfn. An RDMA READ, or a send from that MR, then copies an arbitrary physical page back to the attacker. I:H - A forged qword with HMM_PFN_VALID and HMM_PFN_WRITE set makes rxe_check_pagefault() skip the fault path. __rxe_odp_mr_copy() and the atomic helpers then write attacker-supplied payload into any physical page the attacker chooses. This is an arbitrary kernel-memory write, which gives full privilege escalation. A:H - Kernel direct-map pointers in the out-of-bounds slot already have bits 63 and 62 set, so they pass as VALID|WRITE. hmm_pfn_to_page() then produces a wild struct page and kmap_local_page() faults with an oops. A large chosen skew can also index into unmapped memory, so the attacker can crash the kernel at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2fae67ab63db7e8b35520f897935d694ad92f2fe to < 93e6c552dc3cf144d4061ee774f3c4461948c169 (affected · git)2fae67ab63db7e8b35520f897935d694ad92f2fe to < 4780b472cc01e1e3eaaa1e39be20a8100b4d7464 (affected · git)2fae67ab63db7e8b35520f897935d694ad92f2fe to < 7797bbb0e86f0062fe58480a0116c86e4ec0d0d1 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

RDMA/rxe: bound the ODP page index against the umem in rxe_check_pagefault()

Provenance

Schema
5.2
Searchable
yes
Content hash
f1f314313f9193800a9022d4532d10a46c25d788213db721d1f82cb0aec13c8c
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected