Skip to content
Heist/ feed
Back to feed
Unrated

drm/amdkfd: Unwind debug trap enable on copy_to_user failure

Type: advisorySources: Official CVE List

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.

Products
Linux
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-98910
Confirmed fixed CVEs
Not specified
Updated in this feed
29 Oct 2026, 18:04 UTC · Revision 2

Source evidence

drm/amdkfd: Unwind debug trap enable on copy_to_user failure

core-cve · Original source

Published 23 Oct 2026, 11:54 UTC

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.

cve:CVE-2026-98910

Linux

Fixed versions: Not specified

Linux

Fixed versions: Not specified

Complete source record
{
  "id": "d7174934464a7ff7e66d673d30e5e43dd70ff3cbeb647fa8d9337b52aba47c2d",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-98910",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/amdkfd: Unwind debug trap enable on copy_to_user failure",
    "summary": "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.",
    "evidence": "cve:CVE-2026-98910",
    "products": [
      {
        "name": {
          "value": "Linux",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "Linux",
          "evidence": "/containers/cna/affected/1/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98910",
      "aliases": [
        "CVE-2026-98910"
      ],
      "metrics": [],
      "affected": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508",
              "lessThan": "641be20110cdfb6d921605adb42a764a0fccac54",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508",
              "lessThan": "656a40bdc20def58790b8512e6000195436d8855",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508",
              "lessThan": "1b39f46eec2f907417d4955bb88434170f94a8d8",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508",
              "lessThan": "01112e241e37f9ac98b6f418d93ce2e0b87b7ee0",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_debug.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "6.5",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_debug.c"
          ],
          "defaultStatus": "affected"
        }
      ],
      "modified": "2026-10-26T06:56:40.297Z",
      "provider": "cve",
      "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"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "shortName": "Linux",
          "dateUpdated": "2026-10-26T06:56:40.297Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98910",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-cve",
  "document_id": 263368,
  "published_at": "2026-10-23T11:54:50.52+00:00"
}