drm/amdgpu: reject CS chunks too large for kvmalloc() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 13 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
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)
Références
- 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
Références européennes
- ENISA EUVD · EUVD-2026-138357
- GCVE · GCVE-0-2026-99869
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < 0da6a43a12c9487d0846d958660f0d00f723b5b6 affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < 6b565ea4496abb73f28e5aba003a2f3bc388e66e affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < defd8429b67a250369d9da44ebc3d88ea0a49eaa affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < 033d351aef32df786b7c0fee25c13c4fa672bd57 affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < 0df2c70403e97d1daf242d23ee928105be140dd7 affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < cfa7fd53ed06c8cce47390a86781316bbb9d1e78 affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < d2de9c385d5e6de5f27391357359a77c79f22b68 affectée : ≥ 2098105ec65cb364f3d77baa446b2ad5ba6bc7b9 < ba4c3c202919405f461a393e823e4b72c8518494 Autres versions : non affectée |
| Linux · Linux | affectée : 4.13 non affectée : ≥ 0 < 4.13 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.63 ≤ 6.18.* non affectée : ≥ 7.3.4 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |