Junglewise Threat Intelligence

CVE-2026-45956: Linux Kernel Exynos DRM type confusion in vidi_connection_ioctl

CVE-2026-45956 · Severity: info · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Exynos DRM driver, which manages display and graphics hardware. The driver incorrectly identified internal data structures during certain operations, which could lead to system crashes or memory corruption. In practice, this could allow a local user to cause a denial-of-service or potentially gain unauthorized access to system memory.

Technical details

The vulnerability exists within the 'vidi' component of the Exynos DRM driver (drivers/gpu/drm/exynos/exynos_drm_vidi.c). The function vidi_connection_ioctl() incorrectly used dev_get_drvdata() on the drm_dev->dev (the master device) to retrieve a struct vidi_context pointer. Because the master device's driver data points to a different structure than the vidi component, this type confusion leads to invalid memory access. Depending on the memory layout, this can manifest as a null pointer dereference, garbage value access, out-of-bounds (OOB) error, or use-after-free (UAF). The fix involves explicitly storing the vidi device pointer in the exynos_drm_private structure during the bind phase and retrieving it correctly during IOCTL calls.

Affected products

  • Linux Linux Kernel All versions prior to the fix in the Exynos DRM driver

Timeline

  • 2026-05-27: disclosed: Initial disclosure and publication of the CVE record.
  • 2026-05-27: patched: Patches were merged into various stable branches of the Linux kernel.

References