| From bippy-7c5fe7eed585 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2021-47489: drm/amdgpu: Fix even more out of bound writes from debugfs |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/amdgpu: Fix even more out of bound writes from debugfs |
| |
| CVE-2021-42327 was fixed by: |
| |
| commit f23750b5b3d98653b31d4469592935ef6364ad67 |
| Author: Thelford Williams <tdwilliamsiv@gmail.com> |
| Date: Wed Oct 13 16:04:13 2021 -0400 |
| |
| drm/amdgpu: fix out of bounds write |
| |
| but amdgpu_dm_debugfs.c contains more of the same issue so fix the |
| remaining ones. |
| |
| v2: |
| * Add missing fix in dp_max_bpc_write (Harry Wentland) |
| |
| The Linux kernel CVE team has assigned CVE-2021-47489 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.10 with commit 918698d5c2b50433714d2042f55b55b090faa167 and fixed in 5.10.236 with commit 1336b886b162fdc84708096ea152a61c0e1fc09c |
| Issue introduced in 5.10 with commit 918698d5c2b50433714d2042f55b55b090faa167 and fixed in 5.14.16 with commit 9eb4bdd554fc31a5ef6bf645a20ff21618ce45a9 |
| Issue introduced in 5.10 with commit 918698d5c2b50433714d2042f55b55b090faa167 and fixed in 5.15 with commit 3f4e54bd312d3dafb59daf2b97ffa08abebe60f5 |
| |
| 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-2021-47489 |
| 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/display/amdgpu_dm/amdgpu_dm_debugfs.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/1336b886b162fdc84708096ea152a61c0e1fc09c |
| https://git.kernel.org/stable/c/9eb4bdd554fc31a5ef6bf645a20ff21618ce45a9 |
| https://git.kernel.org/stable/c/3f4e54bd312d3dafb59daf2b97ffa08abebe60f5 |