{"id":"CVE-2022-50527","state":"PUBLISHED","title":"drm/amdgpu: Fix size validation for non-exclusive domains (v4)","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix size validation for non-exclusive domains (v4)\n\nFix amdgpu_bo_validate_size() to check whether the TTM domain manager for the\nrequested memory exists, else we get a kernel oops when dereferencing \"man\".\n\nv2: Make the patch standalone, i.e. not dependent on local patches.\nv3: Preserve old behaviour and just check that the manager pointer is not\n    NULL.\nv4: Complain if GTT domain requested and it is uninitialized--most likely a\n    bug.","publishedAt":"2025-10-07T15:19:19.238Z","updatedAt":"2026-08-15T12:23:35.196Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a751612d4cb77779669da0a6d19fbc4f7e72ba6f","status":"affected","lessThan":"80546eef216854a7bd47e39e828f04b406c00599","versionType":"git"},{"version":"a751612d4cb77779669da0a6d19fbc4f7e72ba6f","status":"affected","lessThan":"8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1","versionType":"git"},{"version":"a751612d4cb77779669da0a6d19fbc4f7e72ba6f","status":"affected","lessThan":"7554886daa31eacc8e7fac9e15bbce67d10b8f1f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"6.0.19","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.5","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"]}],"references":["https://git.kernel.org/stable/c/80546eef216854a7bd47e39e828f04b406c00599","https://git.kernel.org/stable/c/8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1","https://git.kernel.org/stable/c/7554886daa31eacc8e7fac9e15bbce67d10b8f1f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50527.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50527","state":"PUBLISHED","datePublished":"2025-10-07T15:19:19.238Z","dateUpdated":"2026-08-15T12:23:35.196Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-07T15:15:38.664Z"},"containers":{"cna":{"title":"drm/amdgpu: Fix size validation for non-exclusive domains (v4)","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix size validation for non-exclusive domains (v4)\n\nFix amdgpu_bo_validate_size() to check whether the TTM domain manager for the\nrequested memory exists, else we get a kernel oops when dereferencing \"man\".\n\nv2: Make the patch standalone, i.e. not dependent on local patches.\nv3: Preserve old behaviour and just check that the manager pointer is not\n    NULL.\nv4: Complain if GTT domain requested and it is uninitialized--most likely a\n    bug."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a751612d4cb77779669da0a6d19fbc4f7e72ba6f","status":"affected","lessThan":"80546eef216854a7bd47e39e828f04b406c00599","versionType":"git"},{"version":"a751612d4cb77779669da0a6d19fbc4f7e72ba6f","status":"affected","lessThan":"8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1","versionType":"git"},{"version":"a751612d4cb77779669da0a6d19fbc4f7e72ba6f","status":"affected","lessThan":"7554886daa31eacc8e7fac9e15bbce67d10b8f1f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"6.0.19","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.5","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/80546eef216854a7bd47e39e828f04b406c00599"},{"url":"https://git.kernel.org/stable/c/8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1"},{"url":"https://git.kernel.org/stable/c/7554886daa31eacc8e7fac9e15bbce67d10b8f1f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-15T12:23:35.196Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.0.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}