# CVE-2026-99523: RDMA/uverbs: Fix DMABUF use-after-free during ufile cleanup

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-28)
- **Published:** 2026-11-19T14:44:35.251Z
- **Modified:** 2026-11-22T11:16:55.130Z

## Who should check

- Anyone running Linux \>= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, \< 0b6d8b41af154b1137efb578afb8c8fc39d136aa; \>= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, \< 2854f9025d4ef6c4566f71e52d7f496d9a0f5737
- Anyone running Linux 7.0

## Description

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

RDMA/uverbs: Fix DMABUF use-after-free during ufile cleanup

The DMABUF release can race with ufile cleanup. When the cleanup holds
hw\_destroy\_rwsem for write, uverbs\_uobject\_release() fails its 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 the uobject and
uses the freed dma\_buf:

  BUG: KASAN: slab-use-after-free in uverbs\_dmabuf\_fd\_destroy\_uobj+0x46/0x200
  Read of size 8 at addr ff11000109cf14b0 by task repro/435
  Call Trace:
   uverbs\_dmabuf\_fd\_destroy\_uobj+0x46/0x200
   destroy\_hw\_fd\_uobject+0x3f/0x50
   uverbs\_destroy\_uobject+0xc5/0x380
   \_\_uverbs\_cleanup\_ufile+0x1a8/0x260
   uverbs\_destroy\_ufile\_hw+0x54/0x160
   ib\_uverbs\_close+0x34/0x110
  Allocated by task 435:
   dma\_buf\_export+0x1b5/0x530
   ib\_uverbs\_handler\_UVERBS\_METHOD\_DMABUF\_ALLOC+0x223/0x3f0
  Freed by task 436:
   kfree+0x301/0x530
   dentry\_kill+0x14c/0x560
   \_\_fput+0x23a/0x4a0

rdma\_user\_mmap\_entry\_remove() dereferences the same pointer.

Protect the stored dma\_buf pointer with a mutex and clear it before
release returns. Use a shared revoke helper so uobject destruction and
mmap entry removal both skip a cleared pointer. Hold a temporary uobject
reference across uverbs\_uobject\_release() and the pointer update.

Use a separate mutex because uobject destruction can free the mmap entry
before release finishes. Map and unmap use attachment-\>dmabuf directly,
so they do not need to take the new mutex while holding the reservation
lock.

## Affected and fixed versions

- Linux: \>= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, \< 0b6d8b41af154b1137efb578afb8c8fc39d136aa; \>= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, \< 2854f9025d4ef6c4566f71e52d7f496d9a0f5737 (cvelist)
- Linux: 7.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 2854f9025d4ef6c4566f71e52d7f496d9a0f5737 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99523. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99523.md
Affected: Linux >= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, < 0b6d8b41af154b1137efb578afb8c8fc39d136aa; >= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, < 2854f9025d4ef6c4566f71e52d7f496d9a0f5737; Linux 7.0
Fixed in: Linux 0b6d8b41af154b1137efb578afb8c8fc39d136aa, Linux 2854f9025d4ef6c4566f71e52d7f496d9a0f5737

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99523 being exploited?

There is no confirmed exploitation: CVE-2026-99523 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99523?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99523?

Linux \>= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, \< 0b6d8b41af154b1137efb578afb8c8fc39d136aa; \>= 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9, \< 2854f9025d4ef6c4566f71e52d7f496d9a0f5737; Linux 7.0.

### Is there a fix for CVE-2026-99523?

Yes. Fixed in Linux 0b6d8b41af154b1137efb578afb8c8fc39d136aa, Linux 2854f9025d4ef6c4566f71e52d7f496d9a0f5737. Upgrade Linux to 2854f9025d4ef6c4566f71e52d7f496d9a0f5737 or later.

### How do I check if I'm affected by CVE-2026-99523?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0b6d8b41af154b1137efb578afb8c8fc39d136aa>
- other: <https://git.kernel.org/stable/c/2854f9025d4ef6c4566f71e52d7f496d9a0f5737>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99523>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99523> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99523>
