{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98910","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.379Z","datePublished":"2026-10-23T11:54:50.520Z","dateUpdated":"2026-10-26T06:56:40.297Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-10-26T06:56:40.297Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_debug.c"],"versions":[{"version":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","lessThan":"641be20110cdfb6d921605adb42a764a0fccac54","status":"affected","versionType":"git"},{"version":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","lessThan":"656a40bdc20def58790b8512e6000195436d8855","status":"affected","versionType":"git"},{"version":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","lessThan":"1b39f46eec2f907417d4955bb88434170f94a8d8","status":"affected","versionType":"git"},{"version":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508","lessThan":"01112e241e37f9ac98b6f418d93ce2e0b87b7ee0","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdkfd/kfd_debug.c"],"versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/641be20110cdfb6d921605adb42a764a0fccac54"},{"url":"https://git.kernel.org/stable/c/656a40bdc20def58790b8512e6000195436d8855"},{"url":"https://git.kernel.org/stable/c/1b39f46eec2f907417d4955bb88434170f94a8d8"},{"url":"https://git.kernel.org/stable/c/01112e241e37f9ac98b6f418d93ce2e0b87b7ee0"}],"title":"drm/amdkfd: Unwind debug trap enable on copy_to_user failure","x_generator":{"engine":"bippy-1.2.0"}}}}