# CVE-2026-98361: RDMA/rxe: Restore HMM\_PFN\_WRITE check in ODP write paths

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-10-06T08:46:47.600Z
- **Modified:** 2026-10-19T10:18:38.937Z

## Who should check

- Anyone running Linux \>= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, \< c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; \>= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, \< 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; \>= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, \< 769001ce838d907ecaa95f1d0a4e8fc86f761f9f
- Anyone running Linux 6.16

## 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

- Linux: \>= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, \< c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425; \>= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, \< 2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1; \>= 0b261d7c1cd32dc93cbc92425fb55e67b24c6638, \< 769001ce838d907ecaa95f1d0a4e8fc86f761f9f (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 769001ce838d907ecaa95f1d0a4e8fc86f761f9f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/c6f56982ec5c7da83c4bdfcce3b6db18bcfe6425>
- other: <https://git.kernel.org/stable/c/2d6c6f94d3e1cde049fe5db71dbd5549f10b2de1>
- other: <https://git.kernel.org/stable/c/769001ce838d907ecaa95f1d0a4e8fc86f761f9f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98361>

HTML: <https://flawdb.com/CVE-2026-98361> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98361>
