{"id":"CVE-2026-89535","aliases":["CVE-2026-89535"],"related":[],"kind":"vulnerability","state":"published","title":"svcrdma: Reorder rpcrdma_rn_unregister before rdma_destroy_id","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: Reorder rpcrdma_rn_unregister before rdma_destroy_id\n\nsvc_rdma_free() caches rdma->sc_cm_id->device before teardown,\nthen calls rdma_destroy_id(sc_cm_id) which frees the cm_id.\nrpcrdma_rn_unregister() follows, but between those two calls\nthe transport's sc_rn entry is still installed in the device's\nrd_xa. A concurrent ib_unregister_device walk can dispatch\nsvc_rdma_xprt_done() against the now-freed sc_cm_id.\n\nMove rpcrdma_rn_unregister() before rdma_destroy_id() so the\ntransport's notification entry is removed from the xarray before\nthe cm_id it references is destroyed.\n\nAlso guard the sc_cm_id dereference with a NULL check: the\nfollowing patches introduce paths that reach svc_rdma_free()\nwith sc_cm_id == NULL (listener create failure, ADDR_CHANGE\nreplacement failure).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: Reorder rpcrdma_rn_unregister before rdma_destroy_id\n\nsvc_rdma_free() caches rdma->sc_cm_id->device before teardown,\nthen calls rdma_destroy_id(sc_cm_id) which frees the cm_id.\nrpcrdma_rn_unregister() follows, but between those two calls\nthe transport's sc_rn entry is still installed in the device's\nrd_xa. A concurrent ib_unregister_device walk can dispatch\nsvc_rdma_xprt_done() against the now-freed sc_cm_id.\n\nMove rpcrdma_rn_unregister() before rdma_destroy_id() so the\ntransport's notification entry is removed from the xarray before\nthe cm_id it references is destroyed.\n\nAlso guard the sc_cm_id dereference with a NULL check: the\nfollowing patches introduce paths that reach svc_rdma_free()\nwith sc_cm_id == NULL (listener create failure, ADDR_CHANGE\nreplacement failure).","source":"cvelist"}],"published":"2026-09-11T19:44:13.733Z","modified":"2026-10-19T09:17:48.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c4de97f7c45434985e5dbf2d6ccc9eca676e37fe","fixed":"fcd4a752ac840d39356f4d2a424d3aca4e39716b","status":"affected"},{"type":"git","introduced":"c4de97f7c45434985e5dbf2d6ccc9eca676e37fe","fixed":"9f2f5d0999364c7070306cd422d8babc2621070d","status":"affected"},{"type":"git","introduced":"c4de97f7c45434985e5dbf2d6ccc9eca676e37fe","fixed":"cfca6eb3345ba4a23cf9a1153ad09bf19faabfc9","status":"affected"},{"type":"git","introduced":"c4de97f7c45434985e5dbf2d6ccc9eca676e37fe","fixed":"4488e912973773d64368828acf3b8e39d93650ae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","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/fcd4a752ac840d39356f4d2a424d3aca4e39716b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f2f5d0999364c7070306cd422d8babc2621070d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cfca6eb3345ba4a23cf9a1153ad09bf19faabfc9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4488e912973773d64368828acf3b8e39d93650ae","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89535","url":"https://www.cve.org/CVERecord?id=CVE-2026-89535","licence":"CVE Terms of Use","modified":"2026-10-19T08:48:26.908Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89535","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89535","licence":"Public domain","modified":"2026-10-19T09:17:48.200Z"}],"updatedAt":"2026-11-25T22:59:38.056Z","epss":{"score":0.00537,"percentile":0.46701,"date":"2026-12-01T12:00:22.000Z"}}