CVE-2026-98361
RDMA/rxe: Restore HMM_PFN_WRITE check in ODP write paths
Mitigation
- Upgrade Linux to 769001ce838d907ecaa95f1d0a4e8fc86f761f9f or later.
Who should check
- Anyone running Linux >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 769001ce838d907ecaa95f1d0a4e8fc86f761f9f
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 769001ce838d907ecaa95f1d0a4e8fc86f761f9f; Linux 6.16
- Fixed in
- Linux 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1, Linux 769001ce838d907ecaa95f1d0a4e8fc86f761f9f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Restore HMM_PFN_WRITE check in ODP write paths Commit 0b261d7c1cd3 ("RDMA/rxe: Break endless pagefault loop for RO pages") dropped the access permission test from rxe_check_pagefault() and left only HMM_PFN_VALID. A page faulted in read-only, for example a page-cache folio behind a PROT_READ file mapping, then satisfies the check and ODP write operations (RDMA WRITE, RDMA READ response, SEND payload, atomics) modify it through kmap without ever breaking CoW. An unprivileged user can register an ODP MR over such a mapping and have incoming RDMA traffic overwrite the page cache of a file it only holds O_RDONLY, including /etc/passwd or setuid binaries. This is the same primitive class as Dirty COW and CVE-2022-2590. mlx5 has the missing invariant: its ODP path sets the device write bit only for pfns that carry HMM_PFN_WRITE. Restore it in rxe by requiring HMM_PFN_WRITE in rxe_check_pagefault() for every operation except RXE_PAGEFAULT_RDONLY. A write to a non-writable VMA now fails the one fault attempt with -EPERM from hmm_vma_fault() instead of re-faulting forever. For a writable VMA the fault breaks CoW and the write lands in the private page. Keep pmem flushes on the read-only check. arch_wb_cache_pmem() never modifies memory, and the FLUSH access bits do not make the umem writable, so classifying flushes as writes would make every flush against a flush-only MR fail.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 769001ce838d907ecaa95f1d0a4e8fc86f761f9f | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98361. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98361.md Affected: Linux >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 769001ce838d907ecaa95f1d0a4e8fc86f761f9f; Linux 6.16 Fixed in: Linux 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1, Linux 769001ce838d907ecaa95f1d0a4e8fc86f761f9f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98361 being exploited?
There is no confirmed exploitation: CVE-2026-98361 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98361?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-98361?
Linux >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; >= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, < 769001ce838d907ecaa95f1d0a4e8fc86f761f9f; Linux 6.16.
Is there a fix for CVE-2026-98361?
Yes. Fixed in Linux 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1, Linux 769001ce838d907ecaa95f1d0a4e8fc86f761f9f. Upgrade Linux to 769001ce838d907ecaa95f1d0a4e8fc86f761f9f or later.
How do I check if I'm affected by CVE-2026-98361?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.