# CVE-2026-99869: drm/amdgpu: reject CS chunks too large for kvmalloc()

- Severity: not scored yet
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:49.143Z
- Modified: 2026-11-30T14:20:21.000Z
- Assigned by: Linux

## Description

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

drm/amdgpu: reject CS chunks too large for kvmalloc()

The CS ioctl copies every chunk with vmemdup_array_user() before it
looks at it, for whatever length_dw userspace gives. kvmalloc() warns
about allocations above INT_MAX when called without __GFP_NOWARN, so any
process with the render node can trigger a warning. On navi31, a CS with
a chunk of length_dw 0x20000000 returns -ENOMEM after:

  WARNING: mm/slub.c:6841 at __kvmalloc_node_noprof+0x5a5/0x7d0

Reject such chunks with -EINVAL before trying to copy them.

(cherry picked from commit dab5f5280406088591645f499f048dcfefab8d7d)

(As written by CVE List.)

## Affected

- Linux Linux: from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before 0da6a43a12c9487d0846d958660f0d00f723b5b6; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before 6b565ea4496abb73f28e5aba003a2f3bc388e66e; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before defd8429b67a250369d9da44ebc3d88ea0a49eaa; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before 033d351aef32df786b7c0fee25c13c4fa672bd57; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before 0df2c70403e97d1daf242d23ee928105be140dd7; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before cfa7fd53ed06c8cce47390a86781316bbb9d1e78; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before d2de9c385d5e6de5f27391357359a77c79f22b68; from 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 before ba4c3c202919405f461a393e823e4b72c8518494; 4.13 (not affected: before 4.13; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0da6a43a12c9487d0846d958660f0d00f723b5b6>
- <https://git.kernel.org/stable/c/6b565ea4496abb73f28e5aba003a2f3bc388e66e>
- <https://git.kernel.org/stable/c/defd8429b67a250369d9da44ebc3d88ea0a49eaa>
- <https://git.kernel.org/stable/c/033d351aef32df786b7c0fee25c13c4fa672bd57>
- <https://git.kernel.org/stable/c/0df2c70403e97d1daf242d23ee928105be140dd7>
- <https://git.kernel.org/stable/c/cfa7fd53ed06c8cce47390a86781316bbb9d1e78>
- <https://git.kernel.org/stable/c/d2de9c385d5e6de5f27391357359a77c79f22b68>
- <https://git.kernel.org/stable/c/ba4c3c202919405f461a393e823e4b72c8518494>

## Sources

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

---

Page: https://cve.day/CVE-2026-99869 · Whole record: https://cve.day/CVE-2026-99869.json · Rebuilt by cve.day 2026-11-30T14:33:29.365Z
