{"id":"CVE-2026-46114","aliases":["CVE-2026-46114"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/rxe: Reject non-8-byte ATOMIC_WRITE payloads","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Reject non-8-byte ATOMIC_WRITE payloads\n\natomic_write_reply() at drivers/infiniband/sw/rxe/rxe_resp.c\nunconditionally dereferences 8 bytes at payload_addr(pkt):\n\n    value = *(u64 *)payload_addr(pkt);\n\ncheck_rkey() previously accepted an ATOMIC_WRITE request with pktlen ==\nresid == 0 because the length validation only compared pktlen against\nresid. A remote initiator that sets the RETH length to 0 therefore reaches\natomic_write_reply() with a zero-byte logical payload, and the responder\nreads sizeof(u64) bytes from past the logical end of the packet into\nskb->head tailroom, then writes those 8 bytes into the attacker's MR via\nrxe_mr_do_atomic_write(). That is a remote disclosure of 4 bytes of kernel\ntailroom per probe (the other 4 bytes are the packet's own trailing ICRC).\n\nIBA oA19-28 defines ATOMIC_WRITE as exactly 8 bytes. Anything else is\nprotocol-invalid. Hoist a strict length check into check_rkey() so the\nresponder never reaches the unchecked dereference, and keep the existing\nWRITE-family length logic for the normal RDMA WRITE path.\n\nReproduced on mainline with an unmodified rxe driver: a sustained\nzero-length ATOMIC_WRITE probe repeatedly leaks adjacent skb head-buffer\nbytes into the attacker's MR, including recognisable kernel strings and\npartial kernel-direct-map pointer words.  With this patch applied the\nresponder rejects the PDU and the MR stays all-zero.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Reject non-8-byte ATOMIC_WRITE payloads\n\natomic_write_reply() at drivers/infiniband/sw/rxe/rxe_resp.c\nunconditionally dereferences 8 bytes at payload_addr(pkt):\n\n    value = *(u64 *)payload_addr(pkt);\n\ncheck_rkey() previously accepted an ATOMIC_WRITE request with pktlen ==\nresid == 0 because the length validation only compared pktlen against\nresid. A remote initiator that sets the RETH length to 0 therefore reaches\natomic_write_reply() with a zero-byte logical payload, and the responder\nreads sizeof(u64) bytes from past the logical end of the packet into\nskb->head tailroom, then writes those 8 bytes into the attacker's MR via\nrxe_mr_do_atomic_write(). That is a remote disclosure of 4 bytes of kernel\ntailroom per probe (the other 4 bytes are the packet's own trailing ICRC).\n\nIBA oA19-28 defines ATOMIC_WRITE as exactly 8 bytes. Anything else is\nprotocol-invalid. Hoist a strict length check into check_rkey() so the\nresponder never reaches the unchecked dereference, and keep the existing\nWRITE-family length logic for the normal RDMA WRITE path.\n\nReproduced on mainline with an unmodified rxe driver: a sustained\nzero-length ATOMIC_WRITE probe repeatedly leaks adjacent skb head-buffer\nbytes into the attacker's MR, including recognisable kernel strings and\npartial kernel-direct-map pointer words.  With this patch applied the\nresponder rejects the PDU and the MR stays all-zero.","source":"cvelist"}],"published":"2026-05-28T09:35:24.638Z","modified":"2026-10-19T20:18:31.490Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-125","CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"034e285f8b99062a0cf29112e1232154a6a44aa5","fixed":"539cabb7b2d8ba70f55bba91db55faef11c2a6d7","status":"affected"},{"type":"git","introduced":"034e285f8b99062a0cf29112e1232154a6a44aa5","fixed":"d415fce3fcde6d7aeea6c25362a395b905811452","status":"affected"},{"type":"git","introduced":"034e285f8b99062a0cf29112e1232154a6a44aa5","fixed":"105bf79a23b85cf3a761d18a4f3e10ce88526bc1","status":"affected"},{"type":"git","introduced":"034e285f8b99062a0cf29112e1232154a6a44aa5","fixed":"7ec1ed4747f5f99f8b797bb438c5efd36079fad5","status":"affected"},{"type":"git","introduced":"034e285f8b99062a0cf29112e1232154a6a44aa5","fixed":"1114c87aa6f195cf07da55a27b2122ae26557b26","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.88","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.7","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.88"},{"status":"affected","introduced":"6.13","fixed":"6.18.30"},{"status":"affected","introduced":"6.19","fixed":"7.0.7"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/539cabb7b2d8ba70f55bba91db55faef11c2a6d7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d415fce3fcde6d7aeea6c25362a395b905811452","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/105bf79a23b85cf3a761d18a4f3e10ce88526bc1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ec1ed4747f5f99f8b797bb438c5efd36079fad5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1114c87aa6f195cf07da55a27b2122ae26557b26","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:19:49.222Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46114","url":"https://www.cve.org/CVERecord?id=CVE-2026-46114","licence":"CVE Terms of Use","modified":"2026-10-19T19:26:44.201Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46114","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46114","licence":"Public domain","modified":"2026-10-19T20:18:31.490Z"}],"updatedAt":"2026-11-25T22:59:22.779Z","epss":{"score":0.00467,"percentile":0.42099,"date":"2026-12-01T12:00:22.000Z"}}