---
id: CVE-2026-43398
title: 'drm/amdgpu: add upper bound check on user inputs in wait ioctl'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/amdgpu: add upper bound check on user inputs in wait ioctl

  Huge input values in amdgpu_userq_wait_ioctl can lead to a OOM and
  could be exploited.

  So check these i…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= a292fdecd72834b3bec380baa5db1e69e7f70679 <
    b1d10508da559da2e0ca9cca6505094a7df948e1
  - >-
    Linux >= a292fdecd72834b3bec380baa5db1e69e7f70679 <
    3cd93bc695b3456f26f5ed52753d9071da26202a
  - >-
    Linux >= a292fdecd72834b3bec380baa5db1e69e7f70679 <
    64ac7c09fc44985ec9bb6a9db740899fa40ca613
  - Linux 6.16
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T15:37:09.592158Z'
published: '2026-05-08'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T15:42:51.513Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-43398'
references:
  - url: 'https://git.kernel.org/stable/c/b1d10508da559da2e0ca9cca6505094a7df948e1'
  - url: 'https://git.kernel.org/stable/c/3cd93bc695b3456f26f5ed52753d9071da26202a'
  - url: 'https://git.kernel.org/stable/c/64ac7c09fc44985ec9bb6a9db740899fa40ca613'
tags:
  - cve.org
epss: 0.00126
epssPercentile: 0.02322
ingestedAt: '2026-11-06T15:54:03.927Z'
---

## Overview

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

drm/amdgpu: add upper bound check on user inputs in wait ioctl

Huge input values in amdgpu_userq_wait_ioctl can lead to a OOM and
could be exploited.

So check these input value against AMDGPU_USERQ_MAX_HANDLES
which is big enough value for genuine use cases and could
potentially avoid OOM.

v2: squash in Srini's fix

(cherry picked from commit fcec012c664247531aed3e662f4280ff804d1476)

## Affected

- `Linux >= a292fdecd72834b3bec380baa5db1e69e7f70679 < b1d10508da559da2e0ca9cca6505094a7df948e1`
- `Linux >= a292fdecd72834b3bec380baa5db1e69e7f70679 < 3cd93bc695b3456f26f5ed52753d9071da26202a`
- `Linux >= a292fdecd72834b3bec380baa5db1e69e7f70679 < 64ac7c09fc44985ec9bb6a9db740899fa40ca613`
- `Linux 6.16`

## Remediation

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