# CVE-2026-99148: drm/amdgpu: keep the eviction fence until the last handle is closed

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.15% (percentile 2, 2026-11-26)
- **Published:** 2026-10-28T10:35:04.360Z
- **Modified:** 2026-10-31T13:17:57.317Z

## Who should check

- Anyone running Linux \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< dce8f7f03a47b1744dccf506268f9229b67fab47; \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< 6467c4cc83b94850bfea614e9f98276edf9a7c3f; \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b
- Anyone running Linux 6.16

## Description

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

drm/amdgpu: keep the eviction fence until the last handle is closed

amdgpu\_gem\_object\_close() detaches the user queue eviction fence from
the BO before it checks bo\_va-\>ref\_count, so closing any handle of a BO
removes the fence, even when the file still has another handle to the
BO and the bo\_va with its GPU mappings stays. The BO can then be evicted
without suspending the user queues of the file, which keep accessing it
through mappings that are only marked for update.

Seen on navi31 with a SDMA user queue: a BO opened twice in the same
file (GEM\_FLINK + GEM\_OPEN) loses its eviction fence when the second
handle is closed (traced attach/detach of the fence):

  attach bo=ffff8c78a6c84c00
  GEM\_CLOSE handle=7
  detach bo=ffff8c78a6c84c00

while handle 6 and the mapping are still in use.

Only detach the fence when the last reference to the bo\_va goes away,
matching amdgpu\_gem\_object\_open(), which attaches it only when the
bo\_va is created. With this the fence stays until the file is closed.

(cherry picked from commit 8387982f03d4026b7dc11b0b5e3118298eee4d6a)

## Affected and fixed versions

- Linux: \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< dce8f7f03a47b1744dccf506268f9229b67fab47; \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< 6467c4cc83b94850bfea614e9f98276edf9a7c3f; \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b 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-99148. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99148.md
Affected: Linux >= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, < dce8f7f03a47b1744dccf506268f9229b67fab47; >= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, < 6467c4cc83b94850bfea614e9f98276edf9a7c3f; >= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, < 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b; Linux 6.16
Fixed in: Linux 6467c4cc83b94850bfea614e9f98276edf9a7c3f, Linux 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b

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

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

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< dce8f7f03a47b1744dccf506268f9229b67fab47; \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< 6467c4cc83b94850bfea614e9f98276edf9a7c3f; \>= 31f7efcdca4d1caaa3a0babc33377e27e6f9b593, \< 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b; Linux 6.16.

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

Yes. Fixed in Linux 6467c4cc83b94850bfea614e9f98276edf9a7c3f, Linux 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b. Upgrade Linux to 3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b or later.

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

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/dce8f7f03a47b1744dccf506268f9229b67fab47>
- other: <https://git.kernel.org/stable/c/6467c4cc83b94850bfea614e9f98276edf9a7c3f>
- other: <https://git.kernel.org/stable/c/3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b>

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

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