# CVE-2026-46114: RDMA/rxe: Reject non-8-byte ATOMIC_WRITE payloads

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-05-28T09:35:24.638Z
- Modified: 2026-10-19T20:18:31.490Z
- Weaknesses: CWE-125, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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

RDMA/rxe: Reject non-8-byte ATOMIC_WRITE payloads

atomic_write_reply() at drivers/infiniband/sw/rxe/rxe_resp.c
unconditionally dereferences 8 bytes at payload_addr(pkt):

    value = *(u64 *)payload_addr(pkt);

check_rkey() previously accepted an ATOMIC_WRITE request with pktlen ==
resid == 0 because the length validation only compared pktlen against
resid. A remote initiator that sets the RETH length to 0 therefore reaches
atomic_write_reply() with a zero-byte logical payload, and the responder
reads sizeof(u64) bytes from past the logical end of the packet into
skb->head tailroom, then writes those 8 bytes into the attacker's MR via
rxe_mr_do_atomic_write(). That is a remote disclosure of 4 bytes of kernel
tailroom per probe (the other 4 bytes are the packet's own trailing ICRC).

IBA oA19-28 defines ATOMIC_WRITE as exactly 8 bytes. Anything else is
protocol-invalid. Hoist a strict length check into check_rkey() so the
responder never reaches the unchecked dereference, and keep the existing
WRITE-family length logic for the normal RDMA WRITE path.

Reproduced on mainline with an unmodified rxe driver: a sustained
zero-length ATOMIC_WRITE probe repeatedly leaks adjacent skb head-buffer
bytes into the attacker's MR, including recognisable kernel strings and
partial kernel-direct-map pointer words.  With this patch applied the
responder rejects the PDU and the MR stays all-zero.

(As written by CVE List.)

## Affected

- Linux Linux: from 034e285f8b99062a0cf29112e1232154a6a44aa5 before 539cabb7b2d8ba70f55bba91db55faef11c2a6d7; from 034e285f8b99062a0cf29112e1232154a6a44aa5 before d415fce3fcde6d7aeea6c25362a395b905811452; from 034e285f8b99062a0cf29112e1232154a6a44aa5 before 105bf79a23b85cf3a761d18a4f3e10ce88526bc1; from 034e285f8b99062a0cf29112e1232154a6a44aa5 before 7ec1ed4747f5f99f8b797bb438c5efd36079fad5; from 034e285f8b99062a0cf29112e1232154a6a44aa5 before 1114c87aa6f195cf07da55a27b2122ae26557b26; 6.2 (not affected: before 6.2; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.2 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/539cabb7b2d8ba70f55bba91db55faef11c2a6d7> (patch)
- <https://git.kernel.org/stable/c/d415fce3fcde6d7aeea6c25362a395b905811452> (patch)
- <https://git.kernel.org/stable/c/105bf79a23b85cf3a761d18a4f3e10ce88526bc1> (patch)
- <https://git.kernel.org/stable/c/7ec1ed4747f5f99f8b797bb438c5efd36079fad5> (patch)
- <https://git.kernel.org/stable/c/1114c87aa6f195cf07da55a27b2122ae26557b26> (patch)

## Sources

- CVE List: [CVE-2026-46114](https://www.cve.org/CVERecord?id=CVE-2026-46114), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-46114](https://nvd.nist.gov/vuln/detail/CVE-2026-46114), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-46114 · Whole record: https://cve.day/CVE-2026-46114.json · Rebuilt by cve.day 2026-11-25T22:59:22.779Z
