| From bippy-5f407fcff5a0 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-2024-56369: drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() |
| |
| drm_mode_vrefresh() is trying to avoid divide by zero |
| by checking whether htotal or vtotal are zero. But we may |
| still end up with a div-by-zero of vtotal*htotal*... |
| |
| The Linux kernel CVE team has assigned CVE-2024-56369 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.17 with commit 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 and fixed in 5.15.176 with commit e7c7b48a0fc5ed83baae400a1b15e33978c25d7f |
| Issue introduced in 4.17 with commit 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 and fixed in 6.1.122 with commit 69fbb01e891701e6d04db1ddb5ad49e42c4dd963 |
| Issue introduced in 4.17 with commit 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 and fixed in 6.6.68 with commit b39de5a71bac5641d0fda33d1cf5682d82cf1ae5 |
| Issue introduced in 4.17 with commit 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 and fixed in 6.12.7 with commit 47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f |
| Issue introduced in 4.17 with commit 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 and fixed in 6.13 with commit 9398332f23fab10c5ec57c168b44e72997d6318e |
| |
| 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-56369 |
| 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/drm_modes.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/e7c7b48a0fc5ed83baae400a1b15e33978c25d7f |
| https://git.kernel.org/stable/c/69fbb01e891701e6d04db1ddb5ad49e42c4dd963 |
| https://git.kernel.org/stable/c/b39de5a71bac5641d0fda33d1cf5682d82cf1ae5 |
| https://git.kernel.org/stable/c/47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f |
| https://git.kernel.org/stable/c/9398332f23fab10c5ec57c168b44e72997d6318e |