{"id":"CVE-2026-72468","summary":"xprtrdma: Initialize re_id before removal registration","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxprtrdma: Initialize re_id before removal registration\n\nrpcrdma_create_id() registers ep-\u003ere_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-\u003ere_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-\u003ere_id,\nrpcrdma_ep_removal_done() calls trace_xprtrdma_device_removal(NULL).\nThe tracepoint dereferences id-\u003edevice-\u003ename and copies\nid-\u003eroute.addr.dst_addr, so the callback can crash the kernel with a\nNULL pointer dereference.\n\nStore the rdma_cm_id in ep-\u003ere_id immediately before publishing\nep-\u003ere_rn. The existing error path still destroys the id directly if\nregistration fails; ep is then freed by the caller without using\nep-\u003ere_id. Remove the later duplicate assignment in rpcrdma_ep_create().","modified":"2026-08-16T03:48:43.206228159Z","published":"2026-08-15T05:57:11.171Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72468.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/264ccd7871915749bee55fe0c39467a7f08d5479"},{"type":"WEB","url":"https://git.kernel.org/stable/c/28743571c17b58c21a7216fc9faaf8028df5869b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51248d877bbc6e604e38aeaf776c2781cb4f0dbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb7caa63e1db22fd03e8dc591b12169e99169dff"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72468.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72468"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3f4eb9ff923413cdb4c7e171c06d3564f6286712"},{"fixed":"51248d877bbc6e604e38aeaf776c2781cb4f0dbd"},{"fixed":"28743571c17b58c21a7216fc9faaf8028df5869b"},{"fixed":"264ccd7871915749bee55fe0c39467a7f08d5479"},{"fixed":"bb7caa63e1db22fd03e8dc591b12169e99169dff"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72468.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72468.json"}}],"schema_version":"1.9.0"}