- Accueil
- Vulnérabilités
- CVE-2026-99633
CVE-2026-99633
drm/amdgpu: keep the CS user fence BO in GTT
Résumé
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: keep the CS user fence BO in GTT The CS ioctl hands the GPU the GART address of the user fence BO, but since the BO keeps its own preferred and allowed domains, it no longer makes sure the BO is in GTT. A user fence in a VRAM BO, which only needs to be a page in size, gets its address from amdgpu_bo_gpu_offset(), which warns about non-contiguous VRAM. On navi31, a CS with a user fence in a 4K VRAM BO, or in one created with AMDGPU_GEM_CREATE_VM_ALWAYS_VALID: WARNING: amdgpu_object.c:1531 at amdgpu_bo_gpu_offset+0x86/0xb0 [amdgpu], CPU#11: cs_gem_checks/18393 RIP: 0010:amdgpu_bo_gpu_offset+0x86/0xb0 [amdgpu] Call Trace: <TASK> amdgpu_cs_parser_bos.isra.0+0x4eb/0x850 [amdgpu] amdgpu_cs_ioctl+0x97e/0x2510 [amdgpu] drm_ioctl_kernel+0xac/0x110 [drm] drm_ioctl+0x2c6/0x5b0 [drm] __x64_sys_ioctl+0xa0/0xf0 do_syscall_64+0xa3/0x4d0 entry_SYSCALL_64_after_hwframe+0x76/0x7e and BOs which can't be in GTT at all, like GWS or OA ones of a page in size, pass the checks as well. Only take BOs which can't be anywhere else than in GTT as user fence, which the CS then validates there along with its other BOs. While at it, detect userptrs with amdgpu_ttm_tt_is_userptr(); amdgpu_ttm_tt_get_usermm() returns NULL once the task which created the userptr is gone. v2: only take BOs which can only be in GTT instead of special casing the user fence BO in the validation, use amdgpu_ttm_tt_is_userptr() (Christian) (cherry picked from commit f16989def9561d04d0f2e77216f5319112d29bf1)
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 4.6 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1638)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1679)
Avis CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS (04 décembre 2026) 4 déc. 2026
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian (27 novembre 2026) 27 nov. 2026
Références
- https://git.kernel.org/stable/c/b4a1229ab05f0ba7fa1a52032686e32e801fcc04
- https://git.kernel.org/stable/c/69a46cbe11b6eb15f6d48591a67217ac634ddc3d
- https://git.kernel.org/stable/c/2c7bd4568f5d19d63241ccdf930b15e619af7c2b
- https://git.kernel.org/stable/c/7a56d929dc2304edaa6231e1eb5eb82b7e8b74a9
- https://git.kernel.org/stable/c/1a986bea283c22398fdc08cdb7b0fd674829fb2e
- https://git.kernel.org/stable/c/32de880a6d81ecd6a4c9cce3a96ae88aa60a6cdb
- https://git.kernel.org/stable/c/de2887eb1c72060895a533af9e19bed9982e953c
- https://git.kernel.org/stable/c/4ec2fa9f4e09610028f1f571fcb1f515cafd3306
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)