CVE-2026-99523: Linux kernel RDMA DMABUF release races the user-verbs cleanup and reads a freed buffer

ByLinuxtastic

November 30, 2026 #CVE, #Linux Kernel

Kernel 7.0 gave RDMA user verbs a way to export device memory as a DMABUF, a file descriptor another driver or process can map, and the record describes the lifetime bug that came with it. When a process’s /dev/infiniband/uverbsN file is being closed, the cleanup holds a semaphore for write; if the DMABUF’s own release runs at the same time, its attempt to drop the user object fails on a trylock and “leaves the uobject on the ufile list, but the dma_buf is freed as soon as the release returns”. The cleanup then destroys that object and reads the freed dma_buf, as the KASAN trace in the record shows, in uverbs_dmabuf_fd_destroy_uobj(). On 7.0 and newer kernels where local users can open an RDMA device, upgrade to a kernel at or above 7.3.2 and reboot; every kernel before 7.0, including all current LTS kernels, does not have the feature and is not affected.

CVE-2026-99523 at a glance.

ComponentLinux kernel, the InfiniBand/RDMA user-verbs DMABUF export: drivers/infiniband/core/uverbs_std_types_dmabuf.c, ib_core_uverbs.c and uverbs.h; the ib_uverbs module, loaded on hosts with RDMA hardware (Mellanox/NVIDIA ConnectX, Intel, Broadcom, soft-RoCE rxe)
Affected versionsmainline 7.0 up to 7.4-rc1 (from commit 0ac6f405, which added the DMABUF export method); 7.3.x below 7.3.2. No kernel before 7.0 is affected: 6.12, 6.18 and every older LTS series never had the code
Fixed inmainline 7.4-rc1 (commit 2854f902) and stable 7.3.2 (commit 0b6d8b41); the fix protects the stored dma_buf pointer with a mutex, clears it before release returns, adds a shared revoke helper so that object destruction and mmap-entry removal both skip a cleared pointer, and holds a temporary object reference across the release
Severitykernel CNA CVSS 3.1 7.8 High (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD Received with no score of its own. Red Hat Important, 7.8, CWE-825; Ubuntu High, 7.8; SUSE important, 7.0 (AC:H)
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026 (catalogue 2026.11.27). EPSS 0.0017 (3rd percentile) on 30 November 2026
Who is exposedhosts on a 7.0 or newer kernel with RDMA hardware (or the rxe soft-RoCE driver) where the /dev/infiniband/uverbs* nodes are open to local accounts that are not trusted with root: HPC and storage nodes with shared logins, and container hosts that pass RDMA devices into untrusted pods. Red Hat’s statement: typical servers without RDMA hardware “do not present an attack surface for standard users”
PublishedCVE record 19 November 2026 (kernel CNA); this page built 30 November 2026, last updated 30 November 2026

What it is

Every object a process creates through user verbs, a queue pair, a memory region, a DMABUF export, is a “uobject” hanging off the process’s “ufile”, and closing the ufile destroys them all under a write lock on hw_destroy_rwsem. A DMABUF is also an ordinary file descriptor with its own release path, and the two can run at once. The record describes what happens then: the DMABUF release calls uverbs_uobject_release(), which tries to take the same semaphore, fails because the cleanup holds it for write, and gives up, leaving the uobject on the list; but the dma_buf itself is freed when the release returns. The cleanup then walks the list, reaches the orphaned uobject, and uverbs_dmabuf_fd_destroy_uobj() reads the dma_buf pointer it still holds. The KASAN report in the record shows the allocation in dma_buf_export() from the DMABUF_ALLOC method, the free from __fput() in a second task, and the read of eight bytes at the freed address from the cleanup in ib_uverbs_close(). rdma_user_mmap_entry_remove() dereferences the same pointer.

The fix is defensive in three places: the stored pointer gets its own mutex (a separate one, “because uobject destruction can free the mmap entry before release finishes”), the release clears it before returning, and a shared revoke helper lets both the destroy path and the mmap-entry removal skip a pointer that has already been cleared, while a temporary reference keeps the uobject alive across the window. Map and unmap go through the attachment’s own dmabuf pointer and need no new locking.

Two things make this one narrower than its score suggests. The feature is new in 7.0, so the trackers for every LTS-based release say “not affected” or “vulnerable code not present”, and only distributions already shipping 7.x kernels, Ubuntu 26.04 and 26.10 and Debian forky and sid, have it; and it needs an RDMA device the attacker can open, which is a privilege most hosts do not hand out. SUSE’s 7.0 with high attack complexity reflects the race; Red Hat’s Important reflects what a local user on an RDMA node can do with it.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
AlpineTracker unreachable on 30 November 2026—
Debianbookworm and trixie not affected (“vulnerable code not present”; the status table lists their versions as fixed); fixed in forky and sidforky 7.3.4-1; sid 7.3.5-1 (the fixed-version table says 7.3.3-1)
UbuntuHigh, 7.8; 26.04 and 26.10 vulnerable, fix “work in progress”; 24.04 and older not affected (last updated 23 November)26.10 7.3.0-12.13 and 26.04 7.0.0-45.45 pending
RHEL, Rocky, Alma, CentOS StreamImportant, 7.8, CWE-825, scores marked preliminary; the statement scopes it to hosts with ib_uverbs loaded and accessible device nodes; the per-product table did not render for our reader on 30 November 2026 (no RHEL release ships a 7.x kernel)not read
openSUSE/SLEimportant, 7.0, Resolved (bug 1291805); not affected on every listed product, SLE 15, SLE 16, SL Micro and Leap alike—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply7.3.2 or later; anything below 7.0 is unaffected

How to check

Three questions, in order: is the kernel 7.0 or newer, is ib_uverbs loaded with device nodes present, and who can open them. The first ends it for every LTS-based host.

# 1. the running kernel: below 7.0 is not affected; 7.3.2 is the fixed stable version
uname -r

# 2. RDMA user verbs present?
lsmod | grep -E '^ib_uverbs|^rdma_rxe|^mlx5_ib|^irdma|^bnxt_re'
ls -l /dev/infiniband/ 2>/dev/null
rdma link show 2>/dev/null

# 3. who can open the uverbs nodes (the attacker in this record is any such local user)
stat -c '%A %U %G %n' /dev/infiniband/uverbs* 2>/dev/null
getent group rdma 2>/dev/null
# containers with the device passed through
docker ps -q 2>/dev/null | xargs -r docker inspect --format '{{.Name}} {{range .HostConfig.Devices}}{{.PathOnHost}} {{end}}' 2>/dev/null | grep -i infiniband

A kernel below 7.0, or at or above 7.3.2, is done. No ib_uverbs and no /dev/infiniband/uverbs* means the vulnerable methods cannot be reached, whatever the kernel. A 7.0 to 7.3.1 kernel on an RDMA node whose uverbs nodes are world-readable, as some HPC images ship them, or passed into pods whose contents you do not control, is the exposed case.

How to fix it

Install the fixed kernel and reboot; a kernel bug is not patched in place, and the RDMA core stays the old code until the machine boots the new image. On 30 November 2026 Debian forky and sid have it; Ubuntu 26.04 and 26.10 are pending.

# Debian forky / sid
apt update && apt install linux-image-amd64 && systemctl reboot
# Ubuntu 26.04 / 26.10: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
uname -r

Until the reboot, close the device nodes to accounts that do not need them; on a node where only a scheduler-run job needs RDMA, that is a udev rule and a group. What not to do: unloading ib_uverbs takes down every RDMA application on the host, including storage clients, and is not an interim measure on a node doing real work; and the rxe soft-RoCE driver counts as RDMA hardware for this purpose, so a host with no InfiniBand card but rdma_rxe loaded is on the path too.

# interim: restrict the uverbs nodes to a group until the reboot (udev rule survives replug; adjust the group)
printf 'KERNEL=="uverbs*", SUBSYSTEM=="infiniband_verbs", GROUP="rdma", MODE="0660"\n' > /etc/udev/rules.d/90-cve-2026-99523.rules
udevadm control --reload && udevadm trigger --subsystem-match=infiniband_verbs
stat -c '%A %U %G %n' /dev/infiniband/uverbs*
# the signature of an attempt: a KASAN or oops in the uverbs cleanup path
journalctl -k -b | grep -iE 'uverbs_dmabuf|uverbs_destroy_uobject|ib_uverbs_close|slab-use-after-free' | tail

Sources

  • CVE-2026-99523 at CVE.org — the kernel CNA record (19 November 2026): the commit message with the mechanism and the KASAN trace, the git and version ranges (from 7.0), CVSS 3.1 7.8
  • Fix commits on git.kernel.org: 2854f902 (mainline, 7.4-rc1) and the 7.3 backport 0b6d8b41; the pages refuse automated readers, so the diff was not read for this page
  • NVD entry — Received; no NVD score, CWE or CPE yet
  • Distribution trackers: Debian (bookworm and trixie not affected, forky/sid fixed) · Ubuntu (High, 24.04 and older not affected) · Red Hat (Important, the RDMA-hardware statement) · SUSE (important, all products not affected) · Alpine (unreachable on 30 November)
  • EPSS score for this CVE, 30 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.