Shellfeed logo Shellfeed

CVE-2026-92508 · HIGH (CVSS 7.8)

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 5.6).

Details

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

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

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

Fix this by moving the rdma_restrack_del() call to be before the freeing
of the vendor-specific resources ensuring that the CQ is removed from
restrack before its internal resources are released.
This guarantees that no new users hold references to a CQ that is in
the process of destruction.

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [43d781b9fa562f0c6e50f62c870fbfeb9dc85213 – a804b162f9bc2b38b2ed1b4752eea9faadb1645b] [5.8.17 – 5.9] [5.9.2 – 5.10] [7ac277a01f9017fcde4f3f81670c995992945433 – ?] [093f87dda065e0f618dd577985eccbe85efb9b54 – ?]
  • Linux Kernel [5.10.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References