Junglewise Threat Intelligence

CVE-2024-40916: Linux Kernel Exynos HDMI Denial of Service in EDID Fallback

CVE-2024-40916 · Severity: medium · CVSS 5.5 · Published 2024-07-12

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's display driver for Samsung Exynos processors can cause a system crash or instability when a monitor's identification data (EDID) cannot be read. In such cases, the system attempts to use a default high-resolution display mode that the hardware cannot handle, leading to internal timing errors and system hangs. This primarily affects devices using Exynos4 series chips, such as certain mobile development boards.

Technical details

A vulnerability in the 'drm/exynos' HDMI driver occurs when EDID reading fails. In this scenario, the DRM core defaults to a 1024x768 resolution. However, certain hardware variants (specifically Exynos4 SoCs) cannot drive this mode, resulting in PLL steady-state failures and VSYNC timeouts. This triggers a kernel WARNING at 'drivers/gpu/drm/drm_atomic_helper.c' due to vblank wait timeouts, potentially leading to a denial-of-service (system hang). The fix involves explicitly reporting a safe 640x480 fallback mode when no modes are available from EDID.

Affected products

  • Linux Linux Kernel Exynos4 SoCs; fixed in 6.9.0-rc5-next-20240424 and various stable branches

Timeline

  • 2024-04-25: patched: Initial patch authored
  • 2024-07-12: disclosed: CVE published

References