Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99982

published high CVSS 3.1 · 7.8

drm/amdkfd: wait for a GPU reset before freeing a BO

Published
30 Nov 2026, 13:18:51 UTC
Updated
01 Dec 2026, 05:44:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < f917af6f91c12f5e3943e110cb9a2b5ca42909d1 · 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < 2cbdce3fdf929ec5c13007611a37672720bcfb8e · 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < 96da420b053ba050e4e43c3e54d469043c35f73d · 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < 47d799a718439764432d8ef3a0952af45f025f76 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: wait for a GPU reset before freeing a BO When a GPU reset takes the reset domain, KFD eviction cannot unmap user queues: execute_queues_cpsch() fails its trylock with -EIO, so the queues keep running until the ASIC is reset. The TLB flush is also skipped while the reset is in progress. If the process unmaps and frees a BO in that window, its pages are released while a queue can still access them through stale translations. On MI300X, munmap() then crashes in free_swap_cache() on a small bogus page pointer in its mmu_gather batch page: BUG: unable to handle page fault for address: 0000000000002900 RIP: 0010:free_swap_cache+0x5/0xb0 Call Trace: free_pages_and_swap_cache+0x3a/0x60 tlb_batch_pages_flush+0x43/0x80 tlb_flush_mmu+0x3d/0x110 zap_pte_range+0x80d/0xcd0 ... do_vmi_align_munmap+0x3e8/0x5b0 do_vmi_munmap+0xdf/0x190 __vm_munmap+0xad/0x180 __x64_sys_munmap+0x1b/0x30 In a traced crash the bogus pointer was the read pointer value of an SDMA queue the process had just destroyed, at the read pointer's page offset: the queue's writeback landed in its freed rptr page after the page was reused as the batch page. commit f0b4440cdc18 ("drm/amdkfd: Fix mode1 reset crash issue") fixed this race on process exit by waiting for the reset to complete before freeing the process's BOs. Free through the ioctl has the same race. Wait for the reset there too, using the same helper. (cherry picked from commit 06ff8ce77726b15a98fcc285dd6005cb3f48558b)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The patched function kfd_ioctl_free_memory_of_gpu() is reached only through AMDKFD_IOC_FREE_MEMORY_OF_GPU on /dev/kfd, after AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU, both issued by a local process. No remote peer supplies the BO handle or any data involved. AC:L - The attacker forces the reset with its own non-preemptible queue: unmap_queues_cpsch() times out, then kfd_hws_hang() calls amdgpu_amdkfd_gpu_reset(). kgd2kfd_pre_reset()->kfd_signal_reset_event() sets the process's HW_EXCEPTION event before the ASIC reset, so a thread waiting in AMDKFD_IOC_WAIT_EVENTS issues unmap+free inside the window. Getting the freed page reused is heap grooming. PR:L - kfd_open() and kfd_ioctl() perform no capability check. CREATE_QUEUE, ALLOC/MAP/UNMAP/FREE_MEMORY_OF_GPU, CREATE_EVENT and WAIT_EVENTS all have ioctl flags 0; only the CRIU ioctl is capability-gated. Any local user with access to the /dev/kfd and render nodes (render group or mode 0666) can perform every step. UI:N - The attacker's own process creates the queues, hangs them to force the reset, waits on its own reset event, and frees its own BO. No other user has to do anything. S:U - The GPU accesses the freed page through the driver's own stale GPUVM translation after the reset path skipped the TLB flush. The DMA unmap still runs, so no IOMMU or hypervisor boundary is bypassed; the corruption stays within the host kernel's authority. C:H - After the kernel reallocates the freed system-memory page, the attacker's still-running SDMA or compute queue keeps reading through the stale TLB entry. It can copy whatever kernel data now sits on that page into a BO the attacker still has mapped. I:H - Queues the reset could not unmap keep writing to the freed physical page. In the MI300X trace a destroyed SDMA queue's read-pointer writeback overwrote a page reused as an mmu_gather batch, corrupting a page pointer the kernel then freed. Attacker-authored SDMA or shader stores widen this into writes to reallocated kernel memory. A:H - The commit documents a kernel oops in free_swap_cache() during munmap() after the batch page was corrupted. Triggering the bug also takes down the whole GPU, affecting every user of the device.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < f917af6f91c12f5e3943e110cb9a2b5ca42909d1 (affected · git)9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < 2cbdce3fdf929ec5c13007611a37672720bcfb8e (affected · git)9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < 96da420b053ba050e4e43c3e54d469043c35f73d (affected · git)9c33e5fd4fb63b793d9a92bf35d190630d9bada4 to < 47d799a718439764432d8ef3a0952af45f025f76 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

drm/amdkfd: wait for a GPU reset before freeing a BO

Provenance

Schema
5.2
Searchable
yes
Content hash
875f2d3191c73716db5b96f6fe35d9ee6e4a1345a5a7922a0901b119c23befde
Ingested
01 Dec 2026, 05:47:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected