CVE-2026-45958: drm/exynos: vidi: fix to avoid directly dereferencing user pointer
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/exynos: vidi: fix to avoid directly dereferencing user pointer
In vidi_connection_ioctl(), vidi->edid(user pointer) is directly dereferenced in the kernel.
This allows arbitrary kernel memory access from the user space, so instead of directly accessing the user pointer in the kernel, we should modify it to copy edid to kernel memory using copy_from_user() and use it.
The Linux kernel CVE team has assigned CVE-2026-45958 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.253 with commit 13537f7f6d28a87ee2e496e071b6ad9541905f23 Fixed in 5.15.203 with commit c2914c0ca7557c6c5c845621cb6d6c9f26ab5a8c Fixed in 6.1.167 with commit 7efb6a4e6b1b523e744d17e6249757ed97caae7c Fixed in 6.6.130 with commit 2e147aa3169b83eaf044776f81d86235bf147de1 Fixed in 6.12.77 with commit 4c4193829109f38b2855de77981adc2e066286c7 Fixed in 6.18.14 with commit 4949e32387fe315b59ad5f422c9fc52836fbdd1e Fixed in 6.19.4 with commit 235d702b771416b8a61e81bb09ba39282e4268fd Fixed in 7.0 with commit d4c98c077c7fb2dfdece7d605e694b5ea2665085
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-2026-45958
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/exynos/exynos_drm_vidi.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/13537f7f6d28a87ee2e496e071b6ad9541905f23 https://git.kernel.org/stable/c/c2914c0ca7557c6c5c845621cb6d6c9f26ab5a8c https://git.kernel.org/stable/c/7efb6a4e6b1b523e744d17e6249757ed97caae7c https://git.kernel.org/stable/c/2e147aa3169b83eaf044776f81d86235bf147de1 https://git.kernel.org/stable/c/4c4193829109f38b2855de77981adc2e066286c7 https://git.kernel.org/stable/c/4949e32387fe315b59ad5f422c9fc52836fbdd1e https://git.kernel.org/stable/c/235d702b771416b8a61e81bb09ba39282e4268fd https://git.kernel.org/stable/c/d4c98c077c7fb2dfdece7d605e694b5ea2665085