{"id":"CVE-2026-98910","summary":"drm/amdkfd: Unwind debug trap enable on copy_to_user failure","details":"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.","modified":"2026-11-04T14:27:24.295942671Z","published":"2026-10-23T11:54:50.520Z","related":["SUSE-SU-2026:5091-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98910.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01112e241e37f9ac98b6f418d93ce2e0b87b7ee0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b39f46eec2f907417d4955bb88434170f94a8d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/641be20110cdfb6d921605adb42a764a0fccac54"},{"type":"WEB","url":"https://git.kernel.org/stable/c/656a40bdc20def58790b8512e6000195436d8855"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98910.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98910"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508"},{"fixed":"641be20110cdfb6d921605adb42a764a0fccac54"},{"fixed":"656a40bdc20def58790b8512e6000195436d8855"},{"fixed":"1b39f46eec2f907417d4955bb88434170f94a8d8"},{"fixed":"01112e241e37f9ac98b6f418d93ce2e0b87b7ee0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98910.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98910.json"}}],"schema_version":"1.9.2"}