# CVE-2026-93267: RDMA/core: Fix potential use after free in uverbs_free_dmah()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-24T15:52:06.415Z
- Modified: 2026-10-19T10:17:18.093Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/core: Fix potential use after free in uverbs_free_dmah()

When accessing a dmah via the netlink path the only synchronization
mechanism for the said dmah is rdma_restrack_get().
Currently, rdma_restrack_del() is invoked at the end of
uverbs_free_dmah(), which is too late, since by that point
vendor-specific resources associated with the dmah might already be
freed. This can leave a short window where the dmah remains accessible
through restrack, leading to a potential use-after-free.

Fix this by moving the rdma_restrack_begin_del() call to the start of
uverbs_free_dmah(), ensuring that the dmah is removed from restrack
before its internal resources are released. This guarantees that no new
users hold references to a dmah that is in the process of destruction.

In addition, this change preserves the intended inverted order
between create and destroy routines: resources are added to
restrack at the end of successful creation, and hence shall be removed
from the restrack first thing during the destruction flow, which keeps
the lifecycle management consistent and predictable.

(As written by CVE List.)

## Affected

- Linux Linux: from d83edab562a496a42720902a1d2effccd05c37c5 before 8b22722f45a29a7c0900b1d4d0bc5da5492ece10; from d83edab562a496a42720902a1d2effccd05c37c5 before bfc119a40c04bbe3daad826f2160ccbfae6c64ce; from d83edab562a496a42720902a1d2effccd05c37c5 before 2696626a0be5877f445fb647c25ef43930c777e6; 6.17 (not affected: before 6.17; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/8b22722f45a29a7c0900b1d4d0bc5da5492ece10>
- <https://git.kernel.org/stable/c/bfc119a40c04bbe3daad826f2160ccbfae6c64ce>
- <https://git.kernel.org/stable/c/2696626a0be5877f445fb647c25ef43930c777e6>

## Sources

- CVE List: [CVE-2026-93267](https://www.cve.org/CVERecord?id=CVE-2026-93267), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93267](https://nvd.nist.gov/vuln/detail/CVE-2026-93267), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93267 · Whole record: https://cve.day/CVE-2026-93267.json · Rebuilt by cve.day 2026-11-25T22:59:40.801Z
