# CVE-2026-23034: drm/amdgpu/userq: Fix fence reference leak on queue teardown v2

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-01-31T11:42:29.137Z
- **Modified:** 2026-06-17T10:20:44.953Z

## Who should check

- Anyone running Linux \>= edc762a51c7181d6fe1e0837e2eb69afb406f98e, \< e1a30e1ab33fc522785d04bbf7e1b13a5c5c9175; \>= edc762a51c7181d6fe1e0837e2eb69afb406f98e, \< b2426a211dba6432e32a2e70e9183c6e134475c6
- Anyone running Linux 6.16

## Description

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

drm/amdgpu/userq: Fix fence reference leak on queue teardown v2

The user mode queue keeps a pointer to the most recent fence in
userq-\>last\_fence. This pointer holds an extra dma\_fence reference.

When the queue is destroyed, we free the fence driver and its xarray,
but we forgot to drop the last\_fence reference.

Because of the missing dma\_fence\_put(), the last fence object can stay
alive when the driver unloads. This leaves an allocated object in the
amdgpu\_userq\_fence slab cache and triggers

This is visible during driver unload as:

  BUG amdgpu\_userq\_fence: Objects remaining on \_\_kmem\_cache\_shutdown()
  kmem\_cache\_destroy amdgpu\_userq\_fence: Slab cache still has objects
  Call Trace:
    kmem\_cache\_destroy
    amdgpu\_userq\_fence\_slab\_fini
    amdgpu\_exit
    \_\_do\_sys\_delete\_module

Fix this by putting userq-\>last\_fence and clearing the pointer during
amdgpu\_userq\_fence\_driver\_free().

This makes sure the fence reference is released and the slab cache is
empty when the module exits.

v2: Update to only release userq-\>last\_fence with dma\_fence\_put()
    (Christian)

(cherry picked from commit 8e051e38a8d45caf6a866d4ff842105b577953bb)

## Affected and fixed versions

- Linux: \>= edc762a51c7181d6fe1e0837e2eb69afb406f98e, \< e1a30e1ab33fc522785d04bbf7e1b13a5c5c9175; \>= edc762a51c7181d6fe1e0837e2eb69afb406f98e, \< b2426a211dba6432e32a2e70e9183c6e134475c6 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23034.md
Affected: Linux >= edc762a51c7181d6fe1e0837e2eb69afb406f98e, < e1a30e1ab33fc522785d04bbf7e1b13a5c5c9175; >= edc762a51c7181d6fe1e0837e2eb69afb406f98e, < b2426a211dba6432e32a2e70e9183c6e134475c6; Linux 6.16
Fixed in: no fixed version listed yet

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-23034 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= edc762a51c7181d6fe1e0837e2eb69afb406f98e, \< e1a30e1ab33fc522785d04bbf7e1b13a5c5c9175; \>= edc762a51c7181d6fe1e0837e2eb69afb406f98e, \< b2426a211dba6432e32a2e70e9183c6e134475c6; Linux 6.16.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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/e1a30e1ab33fc522785d04bbf7e1b13a5c5c9175>
- other: <https://git.kernel.org/stable/c/b2426a211dba6432e32a2e70e9183c6e134475c6>

## 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-23034>

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