Skip to content
High 7.8

Linux Kernelのamdkfdに脆弱性、GPUリセット中のメモリ解放で情報漏えいのおそれ

CVE-2026-99982 First seen on SecPulse

Summary

Linux KernelのAMD GPU向けドライバー(amdkfd)に、GPUリセット中にバッファーを解放すると、メモリ解放後も古い参照が残り、カーネルがクラッシュするおそれのある脆弱性です。影響するのは6.11.0以降6.12.117未満、6.13.0以降6.18.63未満、6.19.0以降7.3.4未満で、修正版は6.12.117、6.18.63、7.3.4です。ディストリビューションが配布する更新を適用してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux KernelのAMD GPU向けドライバー(amdkfd)に、GPUリセット中にバッファーを解放すると、メモリ解放後も古い参照が残り、カーネルがクラッシュするおそれのある脆弱性です。影響するのは6.11.0以降6.12.117未満、6.13.0以降6.18.63未満、6.19.0以降7.3.4未満で、修正版は6.12.117、6.18.63、7.3.4です。ディストリビューションが配布する更新を適用してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.11.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 he…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details