summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJeongjun Park <aha310510@gmail.com>2026-01-19 17:25:52 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-26 14:59:47 -0800
commit4949e32387fe315b59ad5f422c9fc52836fbdd1e (patch)
treea6493c10cbe47586cd1aaafc2e83f78a43fb0e1f /include/net/aligned_data.h
parentb5fc86d753dd4c281a943b92f0eef02d31af03d7 (diff)
drm/exynos: vidi: fix to avoid directly dereferencing user pointer
commit d4c98c077c7fb2dfdece7d605e694b5ea2665085 upstream. 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. Cc: <stable@vger.kernel.org> Signed-off-by: Jeongjun Park <aha310510@gmail.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions