CVE-2026-98520: Linux kernel · drm/amdkfd: fix use-after-free and multi-container gap in kfd_dev_mapping
Source GCVE Database
Not known to be exploited · CVSS 7.8 High : upgrade to c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef or 02b74891624e09a5512c6d84f267d01fcc306a3b soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef, 02b74891624e09a5512c6d84f267d01fcc306a3b
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Linux kernel to c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef or 02b74891624e09a5512c6d84f267d01fcc306a3b.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix has been implemented in the Linux kernel drm/amdkfd subsystem that addresses both the use-after-free and multi-container mapping gap issues by redirecting all openers' file mappings to a single anonymous inode's address_space owned by the module. Users should update to the kernel version containing this fix. Patch status is not explicitly stated in the provided data; therefore, check the vendor or Linux kernel advisory for the exact fixed versions and update accordingly.
Description
A use-after-free and multi-container mapping gap vulnerability in the Linux kernel's drm/amdkfd component has been resolved. The issue involves kfd_dev_mapping caching the address_space of only the first /dev/kfd opener, leading to a dangling pointer after the first container exits and stale mappings for subsequent containers. This can cause GPU reset hangs and stale doorbell/MMIO page mappings accessible to guest users, risking PCIe transaction timeouts and NMI panics. The fix involves redirecting all openers' file mappings to a single anonymous inode's address_space owned by the module, preventing dangling pointers and ensuring all mappings are correctly unmapped during GPU reset.