{"id":"CVE-2026-99869","summary":"drm/amdgpu: reject CS chunks too large for kvmalloc()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: reject CS chunks too large for kvmalloc()\n\nThe CS ioctl copies every chunk with vmemdup_array_user() before it\nlooks at it, for whatever length_dw userspace gives. kvmalloc() warns\nabout allocations above INT_MAX when called without __GFP_NOWARN, so any\nprocess with the render node can trigger a warning. On navi31, a CS with\na chunk of length_dw 0x20000000 returns -ENOMEM after:\n\n  WARNING: mm/slub.c:6841 at __kvmalloc_node_noprof+0x5a5/0x7d0\n\nReject such chunks with -EINVAL before trying to copy them.\n\n(cherry picked from commit dab5f5280406088591645f499f048dcfefab8d7d)","modified":"2026-11-30T15:02:31.922716892Z","published":"2026-11-30T13:17:49.143Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99869.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/033d351aef32df786b7c0fee25c13c4fa672bd57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0da6a43a12c9487d0846d958660f0d00f723b5b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0df2c70403e97d1daf242d23ee928105be140dd7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b565ea4496abb73f28e5aba003a2f3bc388e66e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba4c3c202919405f461a393e823e4b72c8518494"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfa7fd53ed06c8cce47390a86781316bbb9d1e78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2de9c385d5e6de5f27391357359a77c79f22b68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/defd8429b67a250369d9da44ebc3d88ea0a49eaa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99869.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99869"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2098105ec65cb364f3d77baa446b2ad5ba6bc7b9"},{"fixed":"0da6a43a12c9487d0846d958660f0d00f723b5b6"},{"fixed":"6b565ea4496abb73f28e5aba003a2f3bc388e66e"},{"fixed":"defd8429b67a250369d9da44ebc3d88ea0a49eaa"},{"fixed":"033d351aef32df786b7c0fee25c13c4fa672bd57"},{"fixed":"0df2c70403e97d1daf242d23ee928105be140dd7"},{"fixed":"cfa7fd53ed06c8cce47390a86781316bbb9d1e78"},{"fixed":"d2de9c385d5e6de5f27391357359a77c79f22b68"},{"fixed":"ba4c3c202919405f461a393e823e4b72c8518494"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99869.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99869.json"}}],"schema_version":"1.9.2"}