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)
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | 4.13 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <033d351aef32df786b7c0fee25c13c4fa672bd57 | — |
| Linux | Linux | patch: 6.12.118 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <cfa7fd53ed06c8cce47390a86781316bbb9d1e78 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <d2de9c385d5e6de5f27391357359a77c79f22b68 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <0da6a43a12c9487d0846d958660f0d00f723b5b6 | — |
| Linux | Linux | patch: 5.10.275 | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <6b565ea4496abb73f28e5aba003a2f3bc388e66e | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <defd8429b67a250369d9da44ebc3d88ea0a49eaa | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <0df2c70403e97d1daf242d23ee928105be140dd7 | — |
| Linux | Linux | 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 <ba4c3c202919405f461a393e823e4b72c8518494 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.118-1 | — |
| Debian 12 | linux | No fix yet | — |
| Debian 12 | linux-6.12 | 6.12.118-1~deb12u1 | DLA-4961-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux-gcp +4 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux-azure | No fix yet | — |
Advisories 2
- DLA-4961-1 linux-6.12 - security update Debian Security (DSA / DLA) · Dec 2, 2026
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
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