Security mailing lists by PureSourceCode

CVE-2026-99633

not scored yet

drm/amdgpu: keep the CS user fence BO in GTT

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)

Published
20 Nov 2026
Last modified
23 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < 1a986bea283c22398fdc08cdb7b0fd674829fb2e; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < 32de880a6d81ecd6a4c9cce3a96ae88aa60a6cdb; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < de2887eb1c72060895a533af9e19bed9982e953c; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < 4ec2fa9f4e09610028f1f571fcb1f515cafd3306; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < b4a1229ab05f0ba7fa1a52032686e32e801fcc04; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < 69a46cbe11b6eb15f6d48591a67217ac634ddc3d; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < 2c7bd4568f5d19d63241ccdf930b15e619af7c2b; >= 1ea863fd736eed8217a0b7bc5d0bd0de6b267b80, < 7a56d929dc2304edaa6231e1eb5eb82b7e8b74a9 1a986bea283c22398fdc08cdb7b0fd674829fb2e, 32de880a6d81ecd6a4c9cce3a96ae88aa60a6cdb, de2887eb1c72060895a533af9e19bed9982e953c, 4ec2fa9f4e09610028f1f571fcb1f515cafd3306, b4a1229ab05f0ba7fa1a52032686e32e801fcc04, 69a46cbe11b6eb15f6d48591a67217ac634ddc3d, 2c7bd4568f5d19d63241ccdf930b15e619af7c2b, 7a56d929dc2304edaa6231e1eb5eb82b7e8b74a9
CVE List Linux Linux = 4.6

References

History

  • 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.