{"id":"CVE-2026-72468","aliases":["CVE-2026-72468"],"related":[],"kind":"vulnerability","state":"published","title":"xprtrdma: Initialize re_id before removal registration","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxprtrdma: Initialize re_id before removal registration\n\nrpcrdma_create_id() registers ep->re_rn with the rpcrdma ib_client\nbefore returning the new rdma_cm_id to rpcrdma_ep_create(). However\nrpcrdma_ep_create() currently stores that pointer in ep->re_id only\nafter rpcrdma_create_id() returns.\n\nA local administrator can race an NFS/RDMA mount against RDMA device\nremoval. If rpcrdma_remove_one() observes the just-registered\nnotification before rpcrdma_ep_create() assigns ep->re_id,\nrpcrdma_ep_removal_done() calls trace_xprtrdma_device_removal(NULL).\nThe tracepoint dereferences id->device->name and copies\nid->route.addr.dst_addr, so the callback can crash the kernel with a\nNULL pointer dereference.\n\nStore the rdma_cm_id in ep->re_id immediately before publishing\nep->re_rn. The existing error path still destroys the id directly if\nregistration fails; ep is then freed by the caller without using\nep->re_id. Remove the later duplicate assignment in rpcrdma_ep_create().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxprtrdma: Initialize re_id before removal registration\n\nrpcrdma_create_id() registers ep->re_rn with the rpcrdma ib_client\nbefore returning the new rdma_cm_id to rpcrdma_ep_create(). However\nrpcrdma_ep_create() currently stores that pointer in ep->re_id only\nafter rpcrdma_create_id() returns.\n\nA local administrator can race an NFS/RDMA mount against RDMA device\nremoval. If rpcrdma_remove_one() observes the just-registered\nnotification before rpcrdma_ep_create() assigns ep->re_id,\nrpcrdma_ep_removal_done() calls trace_xprtrdma_device_removal(NULL).\nThe tracepoint dereferences id->device->name and copies\nid->route.addr.dst_addr, so the callback can crash the kernel with a\nNULL pointer dereference.\n\nStore the rdma_cm_id in ep->re_id immediately before publishing\nep->re_rn. The existing error path still destroys the id directly if\nregistration fails; ep is then freed by the caller without using\nep->re_id. Remove the later duplicate assignment in rpcrdma_ep_create().","source":"cvelist"}],"published":"2026-08-15T05:57:11.171Z","modified":"2026-08-17T06:19:14.683Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3f4eb9ff923413cdb4c7e171c06d3564f6286712","fixed":"51248d877bbc6e604e38aeaf776c2781cb4f0dbd","status":"affected"},{"type":"git","introduced":"3f4eb9ff923413cdb4c7e171c06d3564f6286712","fixed":"28743571c17b58c21a7216fc9faaf8028df5869b","status":"affected"},{"type":"git","introduced":"3f4eb9ff923413cdb4c7e171c06d3564f6286712","fixed":"264ccd7871915749bee55fe0c39467a7f08d5479","status":"affected"},{"type":"git","introduced":"3f4eb9ff923413cdb4c7e171c06d3564f6286712","fixed":"bb7caa63e1db22fd03e8dc591b12169e99169dff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/51248d877bbc6e604e38aeaf776c2781cb4f0dbd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28743571c17b58c21a7216fc9faaf8028df5869b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/264ccd7871915749bee55fe0c39467a7f08d5479","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb7caa63e1db22fd03e8dc591b12169e99169dff","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72468","url":"https://www.cve.org/CVERecord?id=CVE-2026-72468","licence":"CVE Terms of Use","modified":"2026-08-17T05:15:13.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72468","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72468","licence":"Public domain","modified":"2026-08-17T06:19:14.683Z"}],"updatedAt":"2026-11-25T22:59:33.132Z","epss":{"score":0.002,"percentile":0.10389,"date":"2026-12-01T12:00:22.000Z"}}