# CVE-2026-46325: RDMA/rxe: Fix iova-to-va conversion for MR page sizes != PAGE\_SIZE

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-06-09T12:25:52.792Z
- **Modified:** 2026-10-21T13:19:06.677Z

## Who should check

- Anyone running Linux \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< e327021bd73b134c18167e2cd2a52eb5597fcba6; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 2a585a08a43c568ed6e9f27a97fd3d95106b9e68; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 409c2c5508f3d30627bea576f8676de523cb906e; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 836f6c13c9674027793f720be3f15ecd2b90b6ca; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 12985e5915a0b8354796efadaaeb201eed115377; 0e443760b8b7b1e6723f4408afa056b2bc4fea12; \>= 6.2.3, \< 6.3
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Fix iova-to-va conversion for MR page sizes != PAGE\_SIZE

The current implementation incorrectly handles memory regions (MRs) with
page sizes different from the system PAGE\_SIZE. The core issue is that
rxe\_set\_page() is called with mr-\>page\_size step increments, but the
page\_list stores individual struct page pointers, each representing
PAGE\_SIZE of memory.

ib\_sg\_to\_page() has ensured that when i\>=1 either
a) SG\[i-1\].dma\_end and SG\[i\].dma\_addr are contiguous
or
b) SG\[i-1\].dma\_end and SG\[i\].dma\_addr are mr-\>page\_size aligned.

This leads to incorrect iova-to-va conversion in scenarios:

1) page\_size \< PAGE\_SIZE (e.g., MR: 4K, system: 64K):
   ibmr-\>iova = 0x181800
   sg\[0\]: dma\_addr=0x181800, len=0x800
   sg\[1\]: dma\_addr=0x173000, len=0x1000

   Access iova = 0x181800 + 0x810 = 0x182010
   Expected VA: 0x173010 (second SG, offset 0x10)
   Before fix:
     - index = (0x182010 \>\> 12) - (0x181800 \>\> 12) = 1
     - page\_offset = 0x182010 & 0xFFF = 0x10
     - xarray\[1\] stores system page base 0x170000
     - Resulting VA: 0x170000 + 0x10 = 0x170010 (wrong)

2) page\_size \> PAGE\_SIZE (e.g., MR: 64K, system: 4K):
   ibmr-\>iova = 0x18f800
   sg\[0\]: dma\_addr=0x18f800, len=0x800
   sg\[1\]: dma\_addr=0x170000, len=0x1000

   Access iova = 0x18f800 + 0x810 = 0x190010
   Expected VA: 0x170010 (second SG, offset 0x10)
   Before fix:
     - index = (0x190010 \>\> 16) - (0x18f800 \>\> 16) = 1
     - page\_offset = 0x190010 & 0xFFFF = 0x10
     - xarray\[1\] stores system page for dma\_addr 0x170000
     - Resulting VA: system page of 0x170000 + 0x10 = 0x170010 (wrong)

Yi Zhang reported a kernel panic\[1\] years ago related to this defect.

Solution:
1. Replace xarray with pre-allocated rxe\_mr\_page array for sequential
   indexing (all MR page indices are contiguous)
2. Each rxe\_mr\_page stores both struct page\* and offset within the
   system page
3. Handle MR page\_size != PAGE\_SIZE relationships:
   - page\_size \> PAGE\_SIZE: Split MR pages into multiple system pages
   - page\_size \<= PAGE\_SIZE: Store offset within system page
4. Add boundary checks and compatibility validation

This ensures correct iova-to-va conversion regardless of MR page size
and system PAGE\_SIZE relationship, while improving performance through
array-based sequential access.

Tests on 4K and 64K PAGE\_SIZE hosts:
- rdma-core/pytests
  $ ./build/bin/run\_tests.py  --dev eth0\_rxe
- blktest:
  $ TIMEOUT=30 QUICK\_RUN=1 USE\_RXE=1 NVMET\_TRTYPES=rdma ./check nvme srp rnbd

\[1\] https://lore.kernel.org/all/CAHj4cs9XRqE25jyVw9rj9YugffLn5+f=1znaBEnu1usLOciD+g@mail.gmail.com/T/

## Affected and fixed versions

- Linux: \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< e327021bd73b134c18167e2cd2a52eb5597fcba6; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 2a585a08a43c568ed6e9f27a97fd3d95106b9e68; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 409c2c5508f3d30627bea576f8676de523cb906e; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 836f6c13c9674027793f720be3f15ecd2b90b6ca; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 12985e5915a0b8354796efadaaeb201eed115377; 0e443760b8b7b1e6723f4408afa056b2bc4fea12; \>= 6.2.3, \< 6.3 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 6.3 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-46325. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46325.md
Affected: Linux >= 592627ccbdff0ec6fff00fc761142a76db750dd4, < e327021bd73b134c18167e2cd2a52eb5597fcba6; >= 592627ccbdff0ec6fff00fc761142a76db750dd4, < 2a585a08a43c568ed6e9f27a97fd3d95106b9e68; >= 592627ccbdff0ec6fff00fc761142a76db750dd4, < 409c2c5508f3d30627bea576f8676de523cb906e; >= 592627ccbdff0ec6fff00fc…
Fixed in: Linux 2a585a08a43c568ed6e9f27a97fd3d95106b9e68, Linux 409c2c5508f3d30627bea576f8676de523cb906e, Linux 836f6c13c9674027793f720be3f15ecd2b90b6ca, Linux 12985e5915a0b8354796efadaaeb201eed115377, Linux 6.3

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-46325 being exploited?

There is no confirmed exploitation: CVE-2026-46325 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46325?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-46325?

Linux \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< e327021bd73b134c18167e2cd2a52eb5597fcba6; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 2a585a08a43c568ed6e9f27a97fd3d95106b9e68; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 409c2c5508f3d30627bea576f8676de523cb906e; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 836f6c13c9674027793f720be3f15ecd2b90b6ca; \>= 592627ccbdff0ec6fff00fc761142a76db750dd4, \< 12985e5915a0b8354796efadaaeb201eed115377; 0e443760b8b7b1e6723f4408afa056b2bc4fea12; \>= 6.2.3, \< 6.3; Linux 6.3.

### Is there a fix for CVE-2026-46325?

Yes. Fixed in Linux 2a585a08a43c568ed6e9f27a97fd3d95106b9e68, Linux 409c2c5508f3d30627bea576f8676de523cb906e, Linux 836f6c13c9674027793f720be3f15ecd2b90b6ca, Linux 12985e5915a0b8354796efadaaeb201eed115377, Linux 6.3. Upgrade Linux to 6.3 or later.

### How do I check if I'm affected by CVE-2026-46325?

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

- patch: <https://git.kernel.org/stable/c/409c2c5508f3d30627bea576f8676de523cb906e>
- patch: <https://git.kernel.org/stable/c/836f6c13c9674027793f720be3f15ecd2b90b6ca>
- patch: <https://git.kernel.org/stable/c/12985e5915a0b8354796efadaaeb201eed115377>
- other: <https://git.kernel.org/stable/c/e327021bd73b134c18167e2cd2a52eb5597fcba6>
- other: <https://git.kernel.org/stable/c/2a585a08a43c568ed6e9f27a97fd3d95106b9e68>

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

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