CVE-2026-98361·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.54, 7.2.8, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98361 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to versions 6.18.54, 7.2.8, or 7.3+ depending on which stable branch you currently use. This patch restores critical access permission checks in the On-Demand Paging (ODP) write paths to prevent unauthorized memory writes through RDMA operations. Apply the update through your distribution's package manager to close this high-severity local privilege escalation vector.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Verify if RDMA/ODP is enabled by checking: cat /boot/config-$(uname -r) | grep CONFIG_INFINIBAND_ON_DEMAND_PAGING
- Step 3: Review kernel logs for ODP-related faults: dmesg | grep -i 'pagefault\|ODP\|hmm_vma_fault'
- Step 4: Confirm the patch is applied by checking if HMM_PFN_WRITE validation is present in rxe_check_pagefault() via: git log --oneline --all | grep -i 'HMM_PFN_WRITE\|rxe.*pagefault'
FAQ
What is CVE-2026-98361?
This vulnerability is a memory protection bypass in the Linux kernel's RDMA/rxe driver where on-demand paging (ODP) write operations fail to validate write permissions on mapped pages. An unprivileged attacker can register an ODP memory region over read-only file mappings and corrupt protected files or binaries through incoming RDMA traffic, similar to the Dirty COW attack.
Is CVE-2026-98361 being actively exploited?
No, CVE-2026-98361 is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, the vulnerability requires only local network access and unprivileged user privileges, making proactive patching critical.
What versions of Kernel are affected by CVE-2026-98361?
All kernel versions before the following fixed releases are affected: 6.18.54, 7.2.8, and mainline 7.3. Users on older stable branches (6.1.x, 6.6.x) should update to the latest patched release of their branch or upgrade to a newer supported version.
How do I check if my server is vulnerable to CVE-2026-98361?
Run: uname -r to check your kernel version, then compare against the fixed versions (6.18.54, 7.2.8, 7.3+). If your version is earlier than the corresponding fixed release for your branch, you are vulnerable. Additionally, verify RDMA is in use with: lsmod | grep rdma
Does Defensia detect CVE-2026-98361?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98361 will appear in your dashboard with branch-specific remediation guidance and update commands.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98361. Free for 1 server.
Get started free