# CVE-2026-43398: drm/amdgpu: add upper bound check on user inputs in wait ioctl

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-05-08T14:21:40.895Z
- Modified: 2026-11-11T20:10:00.273Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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)

(As written by CVE List.)

## Affected

- Linux Linux: from a292fdecd72834b3bec380baa5db1e69e7f70679 before b1d10508da559da2e0ca9cca6505094a7df948e1; from a292fdecd72834b3bec380baa5db1e69e7f70679 before 3cd93bc695b3456f26f5ed52753d9071da26202a; from a292fdecd72834b3bec380baa5db1e69e7f70679 before 64ac7c09fc44985ec9bb6a9db740899fa40ca613; 6.16 (not affected: before 6.16; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.16 before 6.18.19; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/b1d10508da559da2e0ca9cca6505094a7df948e1> (patch)
- <https://git.kernel.org/stable/c/3cd93bc695b3456f26f5ed52753d9071da26202a> (patch)
- <https://git.kernel.org/stable/c/64ac7c09fc44985ec9bb6a9db740899fa40ca613> (patch)

## Sources

- CVE List: [CVE-2026-43398](https://www.cve.org/CVERecord?id=CVE-2026-43398), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43398](https://nvd.nist.gov/vuln/detail/CVE-2026-43398), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43398 · Whole record: https://cve.day/CVE-2026-43398.json · Rebuilt by cve.day 2026-11-25T22:59:21.046Z
