---
id: CVE-2026-98520
title: >-
  kernel: drm/amdkfd: fix use-after-free and multi-container gap in
  kfd_dev_mapping (CVE-2026-98520)
summary: >-
  A flaw was found in the Linux kernel's AMD GPU driver (amdkfd). In
  multi-container environments, terminating an initial container session that
  accessed the GPU interface leaves behind an invalid internal memory reference.
  When a subsequent…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe: CWE-825
vendor: Red Hat
product: Red Hat Enterprise Linux 6
affected:
  - enterprise_linux 6
published: '2026-10-18'
updated: '2026-10-24'
sourceUpdated: '2026-10-24T14:23:35+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98520.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98520.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98520'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555029'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98520'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98520'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98520.mbox
  - url: 'https://git.kernel.org/stable/c/02b74891624e09a5512c6d84f267d01fcc306a3b'
  - url: 'https://git.kernel.org/stable/c/c3a31087b1c8df679b653c1a09d9abe5ff7ec8ef'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
  - score-dispute
epss: 0.00166
epssPercentile: 0.05766
scores:
  vendor: 4.7
  cna: 7.8
ingestedAt: '2026-10-18T15:45:12.283Z'
---

## Overview

A flaw was found in the Linux kernel's AMD GPU driver (amdkfd). In multi-container environments, terminating an initial container session that accessed the GPU interface leaves behind an invalid internal memory reference. When a subsequent GPU reset occurs, accessing this freed reference triggers a use-after-free condition and deadlock. A local user can exploit this vulnerability to cause a system hang, resulting in a Denial of Service (DoS).

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6 · no fix planned: Red Hat Enterprise Linux 6 · updated 2026-10-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98520.json)

**kernel: drm/amdkfd: fix use-after-free and multi-container gap in kfd_dev_mapping** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-24.

Affected:

- Red Hat Enterprise Linux 6

No fix planned:

- Red Hat Enterprise Linux 6

Not affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

## Remediation

Out of support scope
