← CVE Intelligence

CVE-2022-50527

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a751612d4cb77779669da0a6d19fbc4f7e72ba6f before 80546eef216854a7bd47e39e828f04b406c00599; affected a751612d4cb77779669da0a6d19fbc4f7e72ba6f before 8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1; affected a751612d4cb77779669da0a6d19fbc4f7e72ba6f before 7554886daa31eacc8e7fac9e15bbce67d10b8f1f
Linux / Linuxaffected 5.10; unaffected 0 before 5.10; unaffected 6.0.19 through 6.0.*; unaffected 6.1.5 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References