In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Unwind debug trap enable on copy_to_user failure If… (CVE-2026-98910)
Description
A vulnerability in the Linux kernel's drm/amdkfd component was resolved that involved improper state cleanup when kfd_dbg_trap_enable() fails during copy_to_user operations. The failure to unwind the trap state and release resources on copy_to_user failure could lead to inconsistent trap states and reference count imbalances, potentially affecting subsequent debug trap enable/disable operations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's drm/amdkfd subsystem occurs when kfd_dbg_trap_enable() fails while copying runtime_info to userspace. Although the trap is activated and debug_trap_enabled is set, along with an extra process reference and an opened debug event file, a failure in copy_to_user returns -EFAULT without undoing these changes. This leaves the trap state inconsistent and causes a reference count imbalance, which could disrupt later disable/enable operations of the debug trap. The fix involves deactivating the trap and undoing the enable setup on copy_to_user failure before returning.
Potential Impact
The inconsistent trap state and reference count imbalance can cause instability or malfunction in the debug trap enable/disable mechanism within the drm/amdkfd kernel component. This could affect kernel debugging operations related to AMD devices but does not directly indicate privilege escalation or arbitrary code execution. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented to ensure that on copy_to_user failure, the trap is deactivated and all related state changes are undone before returning. Users should apply the official kernel update that includes this fix once available. Patch status is not explicitly confirmed in the provided data; verify with the vendor or kernel maintainers for the current remediation status.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9wgp-44pj-7g49
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98910"]
Threat ID: 6adbaad9d73cc49347b20719
Added to database: 10/23/2026, 18:43:37 UTC
Last enriched: 10/23/2026, 19:04:53 UTC
Last updated: 10/23/2026, 20:25:06 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.