CVE-2022-50527 PUBLISHED

drm/amdgpu: Fix size validation for non-exclusive domains (v4)

Assigner: Linux
Reserved: 07.10.2025 Published: 07.10.2025 Updated: 07.10.2025

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix size validation for non-exclusive domains (v4)

Fix amdgpu_bo_validate_size() to check whether the TTM domain manager for the requested memory exists, else we get a kernel oops when dereferencing "man".

v2: Make the patch standalone, i.e. not dependent on local patches. v3: Preserve old behaviour and just check that the manager pointer is not NULL. v4: Complain if GTT domain requested and it is uninitialized--most likely a bug.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 80546eef216854a7bd47e39e828f04b406c00599 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 7554886daa31eacc8e7fac9e15bbce67d10b8f1f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 6.0.19 to 6.0.* (incl.)
  • unaffected from 6.1.5 to 6.1.* (incl.)
  • unaffected from 6.2 to * (incl.)

References