{"id":"CVE-2026-80864","aliases":["CVE-2026-80864"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp\n\nrxe_qp_from_attr() handles IB_QP_MAX_DEST_RD_ATOMIC outside the\nIB_QP_STATE path, so it holds no state_lock and runs while the responder\ntask rxe_receiver() (recv_task on rxe_wq) is live. A modify_qp() setting\nonly that attribute calls free_rd_atomic_resources() then\nalloc_rd_atomic_resources(), swapping qp->resp.resources[] while\nrxe_prepare_res()/find_resource() walk it; free_rd_atomic_resources()\nalso leaves the cached pointer qp->resp.res dangling. A local\nunprivileged user can race the free/realloc into a use-after-free in\nrxe_receiver() (local DoS).\n\nDrain recv_task around the swap with rxe_disable_task()/rxe_enable_task(),\nas rxe_qp_reset() already does when tearing this array down, re-enabling\nonly after alloc_rd_atomic_resources() succeeds so the responder never\nresumes against a NULL qp->resp.resources on the ENOMEM path. Also clear\nqp->resp.res in free_rd_atomic_resources(), like the rxe_resp.c\ncompletion paths.\n\nReproduced under KASAN; the slab-use-after-free in rxe_receiver() is gone.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix responder UAF on IB_QP_MAX_DEST_RD_ATOMIC modify_qp\n\nrxe_qp_from_attr() handles IB_QP_MAX_DEST_RD_ATOMIC outside the\nIB_QP_STATE path, so it holds no state_lock and runs while the responder\ntask rxe_receiver() (recv_task on rxe_wq) is live. A modify_qp() setting\nonly that attribute calls free_rd_atomic_resources() then\nalloc_rd_atomic_resources(), swapping qp->resp.resources[] while\nrxe_prepare_res()/find_resource() walk it; free_rd_atomic_resources()\nalso leaves the cached pointer qp->resp.res dangling. A local\nunprivileged user can race the free/realloc into a use-after-free in\nrxe_receiver() (local DoS).\n\nDrain recv_task around the swap with rxe_disable_task()/rxe_enable_task(),\nas rxe_qp_reset() already does when tearing this array down, re-enabling\nonly after alloc_rd_atomic_resources() succeeds so the responder never\nresumes against a NULL qp->resp.resources on the ENOMEM path. Also clear\nqp->resp.res in free_rd_atomic_resources(), like the rxe_resp.c\ncompletion paths.\n\nReproduced under KASAN; the slab-use-after-free in rxe_receiver() is gone.","source":"cvelist"}],"published":"2026-09-04T15:55:18.791Z","modified":"2026-10-30T13:20:13.103Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"87e40635d77aa19088550698c81eb295d5131f71","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"82257379061c0a7aba6c77081d988339982af115","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"0136b528b753c5a56e4d997ef20b86bb6750b8fb","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"ffa4f0be69656be1755090f02db38d49816585c6","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"d4cd32eb8bd2b0ffbdc7b1f3d82ce6a371f8f844","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"60dfd47929cd1e7070daa810d40ce538d888410d","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"6f7014237405e7f032b5c53a82d9eccf6161c291","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.49","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.13","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.3","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/87e40635d77aa19088550698c81eb295d5131f71","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82257379061c0a7aba6c77081d988339982af115","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0136b528b753c5a56e4d997ef20b86bb6750b8fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffa4f0be69656be1755090f02db38d49816585c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4cd32eb8bd2b0ffbdc7b1f3d82ce6a371f8f844","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60dfd47929cd1e7070daa810d40ce538d888410d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f7014237405e7f032b5c53a82d9eccf6161c291","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80864","url":"https://www.cve.org/CVERecord?id=CVE-2026-80864","licence":"CVE Terms of Use","modified":"2026-10-30T12:31:20.192Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80864","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80864","licence":"Public domain","modified":"2026-10-30T13:20:13.103Z"}],"updatedAt":"2026-11-25T22:59:36.355Z","epss":{"score":0.00215,"percentile":0.06838,"date":"2026-11-30T12:00:22.000Z"}}