{"id":"CVE-2026-98910","aliases":["CVE-2026-98910"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: Unwind debug trap enable on copy_to_user failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Unwind debug trap enable on copy_to_user failure\n\nIf kfd_dbg_trap_enable() fails while copying runtime_info to userspace,\nit had already activated the trap, set debug_trap_enabled, taken an extra\nprocess reference, and opened the debug event file. Return -EFAULT without\nunwinding that state, leaving inconsistent trap state and a refcount\nimbalance that could break later DISABLE/ENABLE.\n\nOn copy_to_user failure, deactivate the trap and undo the rest of the\nenable setup before returning.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Unwind debug trap enable on copy_to_user failure\n\nIf kfd_dbg_trap_enable() fails while copying runtime_info to userspace,\nit had already activated the trap, set debug_trap_enabled, taken an extra\nprocess reference, and opened the debug event file. Return -EFAULT without\nunwinding that state, leaving inconsistent trap state and a refcount\nimbalance that could break later DISABLE/ENABLE.\n\nOn copy_to_user failure, deactivate the trap and undo the rest of the\nenable setup before returning.","source":"cvelist"}],"published":"2026-10-23T11:54:50.520Z","modified":"2026-10-26T07:17:16.370Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","fixed":"641be20110cdfb6d921605adb42a764a0fccac54","status":"affected"},{"type":"git","introduced":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","fixed":"656a40bdc20def58790b8512e6000195436d8855","status":"affected"},{"type":"git","introduced":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","fixed":"1b39f46eec2f907417d4955bb88434170f94a8d8","status":"affected"},{"type":"git","introduced":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","fixed":"01112e241e37f9ac98b6f418d93ce2e0b87b7ee0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/641be20110cdfb6d921605adb42a764a0fccac54","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/656a40bdc20def58790b8512e6000195436d8855","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b39f46eec2f907417d4955bb88434170f94a8d8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01112e241e37f9ac98b6f418d93ce2e0b87b7ee0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98910","url":"https://www.cve.org/CVERecord?id=CVE-2026-98910","licence":"CVE Terms of Use","modified":"2026-10-26T06:56:40.297Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98910","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98910","licence":"Public domain","modified":"2026-10-26T07:17:16.370Z"}],"updatedAt":"2026-11-25T22:59:46.893Z","epss":{"score":0.00207,"percentile":0.11464,"date":"2026-12-01T12:00:22.000Z"}}