| 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-53129: drm/rockchip: vop: Fix a dereferenced before check warning |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/rockchip: vop: Fix a dereferenced before check warning |
| |
| The 'state' can't be NULL, we should check crtc_state. |
| |
| Fix warning: |
| drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1096 |
| vop_plane_atomic_async_check() warn: variable dereferenced before check |
| 'state' (see line 1077) |
| |
| The Linux kernel CVE team has assigned CVE-2024-53129 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.13 with commit 5ddb0bd4ddc35d9c9376d109398f84277bb8d25e and fixed in 5.15.174 with commit 4e47b99a7764b23a431bff6a3f91dfe77d294765 |
| Issue introduced in 5.13 with commit 5ddb0bd4ddc35d9c9376d109398f84277bb8d25e and fixed in 6.1.119 with commit 656dbd1c21c2c088c70059cdd43ec83e7d54ec4d |
| Issue introduced in 5.13 with commit 5ddb0bd4ddc35d9c9376d109398f84277bb8d25e and fixed in 6.6.63 with commit 1e53059729691ca4d905118258b9fbd17d854174 |
| Issue introduced in 5.13 with commit 5ddb0bd4ddc35d9c9376d109398f84277bb8d25e and fixed in 6.11.10 with commit bbf8bc7e75863942028131ae39c23118f62de6c0 |
| Issue introduced in 5.13 with commit 5ddb0bd4ddc35d9c9376d109398f84277bb8d25e and fixed in 6.12 with commit ab1c793f457f740ab7108cc0b1340a402dbf484d |
| |
| 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-53129 |
| 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/rockchip/rockchip_drm_vop.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/4e47b99a7764b23a431bff6a3f91dfe77d294765 |
| https://git.kernel.org/stable/c/656dbd1c21c2c088c70059cdd43ec83e7d54ec4d |
| https://git.kernel.org/stable/c/1e53059729691ca4d905118258b9fbd17d854174 |
| https://git.kernel.org/stable/c/bbf8bc7e75863942028131ae39c23118f62de6c0 |
| https://git.kernel.org/stable/c/ab1c793f457f740ab7108cc0b1340a402dbf484d |