[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100706-CVE-2022-50527-de17@gregkh>
Date: Tue, 7 Oct 2025 17:19:14 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50527: drm/amdgpu: Fix size validation for non-exclusive domains (v4)
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2022-50527 to this issue.
Affected and fixed versions
===========================
Fixed in 6.0.19 with commit 80546eef216854a7bd47e39e828f04b406c00599
Fixed in 6.1.5 with commit 8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1
Fixed in 6.2 with commit 7554886daa31eacc8e7fac9e15bbce67d10b8f1f
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50527
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/80546eef216854a7bd47e39e828f04b406c00599
https://git.kernel.org/stable/c/8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1
https://git.kernel.org/stable/c/7554886daa31eacc8e7fac9e15bbce67d10b8f1f
Powered by blists - more mailing lists