Skip to main content
VulnerabilityPublished

CVE-2026-98520: Linux kernel · drm/amdkfd: fix use-after-free and multi-container gap in kfd_dev_mapping

Source GCVE Database

0
Authoritative record:CVE-2026-98520· High 7.8

Not known to be exploited · CVSS 7.8 High : upgrade to c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef or 02b74891624e09a5512c6d84f267d01fcc306a3b soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 70cadefcc6160c575b04f763ada34c20e868d577, < c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef
Fixed in
  • c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef
LinuxLinuxAffected
  • ≥ 70cadefcc6160c575b04f763ada34c20e868d577, < 02b74891624e09a5512c6d84f267d01fcc306a3b
Fixed in
  • 02b74891624e09a5512c6d84f267d01fcc306a3b
LinuxLinuxAffected
  • =7.2
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.

References

Community reviews

Loading reviews…