---
id: CVE-2026-74699
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/xe: Fix memory leak in exec_queue_set_hang_replay_state()

  The q->replay_state is blindly overwritten, which can potentially leak
  memory that was previously allocat…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/xe: Fix memory leak in exec_queue_set_hang_replay_state()

  The q->replay_state is blindly overwritten, which can potentially leak
  memory that was previously allocat…
severity: medium
published: '2026-08-22'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74699'
references:
  - url: 'https://git.kernel.org/stable/c/410596743958fbddeb845ff3efe2645397d7c7e2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c5f500161709f27719701334190dff2325868ef0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74699.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-74699'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2521391'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-74699'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74699'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026082235-CVE-2026-74699-e39d@gregkh/T
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00198
epssPercentile: 0.09433
ingestedAt: '2026-10-14T13:30:58.541Z'
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 9
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-772
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

drm/xe: Fix memory leak in exec_queue_set_hang_replay_state()

The q->replay_state is blindly overwritten, which can potentially leak
memory that was previously allocated by vmemdup_user().
Return an error if q->replay_state is not empty.

Discovered using AI-assisted static analysis confirmed by Intel Product
Security.

(cherry picked from commit f6b6cc1118bdbc4265fa8b3bdf8565b26f13e56e)

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74699.json)
