From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/exynos: vidi: fix various memory corruption bugs Date: Mon, 23 Feb 2026 06:11:02 +1000 Message-ID: In-Reply-To: <20260220033550.124346-1-aha310510@gmail.com> References: <20260220033550.124346-1-aha310510@gmail.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Overall Series Review Subject: drm/exynos: vidi: fix various memory corruption bugs Author: Jeongjun Park Patches: 3 Reviewed: 2026-02-23T06:11:02.494577 --- This is a two-patch backport series for the 6.18.y and 6.19.y stable trees, fixing two bugs in the Exynos DRM VIDI (Virtual Display Interface) driver. Both patches have upstream commits (d3968a0d85b2 and d4c98c077c7f respectively), already merged to drm-next. Patch 1 fixes a context lookup bug in `vidi_connection_ioctl()` where the driver was incorrectly fetching `vidi_context` from the master DRM device's `driver_data` instead of from the vidi component device. Patch 2 fixes a direct user pointer dereference where `vidi->edid` (a user-space pointer passed via ioctl) was cast and accessed directly in kernel space without `copy_from_user()`. Both fixes are correct and match the code already present in drm-next. The series is properly ordered: patch 1 introduces the `vidi_dev` infrastructure needed for the correct device lookup, and patch 2 builds on that to also fix the unsafe user pointer access. No significant issues found. --- Generated by Claude Code Patch Reviewer