CVE-2026-80864
RDMA/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp
Check your servers for CVE-2026-80864
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80864 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp
rxe_qp_from_attr() handles IB_QP_MAX_DEST_RD_ATOMIC outside the IB_QP_STATE path, so it holds no state_lock and runs while the responder task rxe_receiver() (recv_task on rxe_wq) is live. A modify_qp() setting only that attribute calls free_rd_atomic_resources() then alloc_rd_atomic_resources(), swapping qp->resp.resources[] while rxe_prepare_res()/find_resource() walk it; free_rd_atomic_resources() also leaves the cached pointer qp->resp.res dangling. A local unprivileged user can race the free/realloc into a use-after-free in rxe_receiver() (local DoS).
Drain recv_task around the swap with rxe_disable_task()/rxe_enable_task(), as rxe_qp_reset() already does when tearing this array down, re-enabling only after alloc_rd_atomic_resources() succeeds so the responder never resumes against a NULL qp->resp.resources on the ENOMEM path. Also clear qp->resp.res in free_rd_atomic_resources(), like the rxe_resp.c completion paths.
Reproduced under KASAN; the slab-use-after-free in rxe_receiver() is gone.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.89% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 87e40635d77aa19088550698c81eb295d5131f71 affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 82257379061c0a7aba6c77081d988339982af115 affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 0136b528b753c5a56e4d997ef20b86bb6750b8fb affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before ffa4f0be69656be1755090f02db38d49816585c6 affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before d4cd32eb8bd2b0ffbdc7b1f3d82ce6a371f8f844 affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 60dfd47929cd1e7070daa810d40ce538d888410d affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 6f7014237405e7f032b5c53a82d9eccf6161c291
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.108 up to and including 6.12.* unaffected from 6.18.49 up to and including 6.18.* unaffected from 7.1.13 up to and including 7.1.* unaffected from 7.2.3 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80864 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80864
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-80864
trivy image --scanners vuln IMAGE | grep CVE-2026-80864
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/87e40635d77aa19088550698c81eb295d5131f71 git.kernel.org
- https://git.kernel.org/stable/c/82257379061c0a7aba6c77081d988339982af115 git.kernel.org
- https://git.kernel.org/stable/c/0136b528b753c5a56e4d997ef20b86bb6750b8fb git.kernel.org
- https://git.kernel.org/stable/c/ffa4f0be69656be1755090f02db38d49816585c6 git.kernel.org
- https://git.kernel.org/stable/c/d4cd32eb8bd2b0ffbdc7b1f3d82ce6a371f8f844 git.kernel.org
- https://git.kernel.org/stable/c/60dfd47929cd1e7070daa810d40ce538d888410d git.kernel.org
- https://git.kernel.org/stable/c/6f7014237405e7f032b5c53a82d9eccf6161c291 git.kernel.org
Source: the record CVE-2026-80864 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse