| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-49896: drm/amd/display: Check stream before comparing them |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/amd/display: Check stream before comparing them |
| |
| [WHAT & HOW] |
| amdgpu_dm can pass a null stream to dc_is_stream_unchanged. It is |
| necessary to check for null before dereferencing them. |
| |
| This fixes 1 FORWARD_NULL issue reported by Coverity. |
| |
| The Linux kernel CVE team has assigned CVE-2024-49896 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 4.19.323 with commit 3944d226f55235a960d8f1135927f95e9801be12 |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 5.4.285 with commit 471c53350ab83e47a2a117c2738ce0363785976e |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 5.10.227 with commit 0167d570f6a0b38689c4a0e50bf79c518d827500 |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 5.15.168 with commit 14db8692afe1aa2143b673856bb603713d8ea93f |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 6.1.113 with commit e8da54b7f8a17e44e67ea6d1037f35450af28115 |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 6.6.55 with commit 42d31a33643813cce55ee1ebbad3a2d0d24a08e0 |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 6.10.14 with commit 5b4b13e678b15975055f4ff1ce4cf0ce4c19b6c4 |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 6.11.3 with commit e41a291e1bef1153bba091b6580ecc7affc53c82 |
| Issue introduced in 4.15 with commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c and fixed in 6.12 with commit 35ff747c86767937ee1e0ca987545b7eed7a0810 |
| |
| 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-2024-49896 |
| 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/dc/core/dc_resource.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/3944d226f55235a960d8f1135927f95e9801be12 |
| https://git.kernel.org/stable/c/471c53350ab83e47a2a117c2738ce0363785976e |
| https://git.kernel.org/stable/c/0167d570f6a0b38689c4a0e50bf79c518d827500 |
| https://git.kernel.org/stable/c/14db8692afe1aa2143b673856bb603713d8ea93f |
| https://git.kernel.org/stable/c/e8da54b7f8a17e44e67ea6d1037f35450af28115 |
| https://git.kernel.org/stable/c/42d31a33643813cce55ee1ebbad3a2d0d24a08e0 |
| https://git.kernel.org/stable/c/5b4b13e678b15975055f4ff1ce4cf0ce4c19b6c4 |
| https://git.kernel.org/stable/c/e41a291e1bef1153bba091b6580ecc7affc53c82 |
| https://git.kernel.org/stable/c/35ff747c86767937ee1e0ca987545b7eed7a0810 |