{"id":"CVE-2026-93267","aliases":["CVE-2026-93267"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/core: Fix potential use after free in uverbs_free_dmah()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Fix potential use after free in uverbs_free_dmah()\n\nWhen accessing a dmah via the netlink path the only synchronization\nmechanism for the said dmah is rdma_restrack_get().\nCurrently, rdma_restrack_del() is invoked at the end of\nuverbs_free_dmah(), which is too late, since by that point\nvendor-specific resources associated with the dmah might already be\nfreed. This can leave a short window where the dmah remains accessible\nthrough restrack, leading to a potential use-after-free.\n\nFix this by moving the rdma_restrack_begin_del() call to the start of\nuverbs_free_dmah(), ensuring that the dmah is removed from restrack\nbefore its internal resources are released. This guarantees that no new\nusers hold references to a dmah that is in the process of destruction.\n\nIn addition, this change preserves the intended inverted order\nbetween create and destroy routines: resources are added to\nrestrack at the end of successful creation, and hence shall be removed\nfrom the restrack first thing during the destruction flow, which keeps\nthe lifecycle management consistent and predictable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Fix potential use after free in uverbs_free_dmah()\n\nWhen accessing a dmah via the netlink path the only synchronization\nmechanism for the said dmah is rdma_restrack_get().\nCurrently, rdma_restrack_del() is invoked at the end of\nuverbs_free_dmah(), which is too late, since by that point\nvendor-specific resources associated with the dmah might already be\nfreed. This can leave a short window where the dmah remains accessible\nthrough restrack, leading to a potential use-after-free.\n\nFix this by moving the rdma_restrack_begin_del() call to the start of\nuverbs_free_dmah(), ensuring that the dmah is removed from restrack\nbefore its internal resources are released. This guarantees that no new\nusers hold references to a dmah that is in the process of destruction.\n\nIn addition, this change preserves the intended inverted order\nbetween create and destroy routines: resources are added to\nrestrack at the end of successful creation, and hence shall be removed\nfrom the restrack first thing during the destruction flow, which keeps\nthe lifecycle management consistent and predictable.","source":"cvelist"}],"published":"2026-09-24T15:52:06.415Z","modified":"2026-10-19T10:17:18.093Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d83edab562a496a42720902a1d2effccd05c37c5","fixed":"8b22722f45a29a7c0900b1d4d0bc5da5492ece10","status":"affected"},{"type":"git","introduced":"d83edab562a496a42720902a1d2effccd05c37c5","fixed":"bfc119a40c04bbe3daad826f2160ccbfae6c64ce","status":"affected"},{"type":"git","introduced":"d83edab562a496a42720902a1d2effccd05c37c5","fixed":"2696626a0be5877f445fb647c25ef43930c777e6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","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/8b22722f45a29a7c0900b1d4d0bc5da5492ece10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfc119a40c04bbe3daad826f2160ccbfae6c64ce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2696626a0be5877f445fb647c25ef43930c777e6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93267","url":"https://www.cve.org/CVERecord?id=CVE-2026-93267","licence":"CVE Terms of Use","modified":"2026-10-19T09:08:20.283Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93267","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93267","licence":"Public domain","modified":"2026-10-19T10:17:18.093Z"}],"updatedAt":"2026-11-25T22:59:40.801Z","epss":{"score":0.00189,"percentile":0.08973,"date":"2026-12-01T12:00:22.000Z"}}