Linux Kernel NULL Pointer Dereference Vulnerability in DRM/MediaTek DP Handling

Vulnerability

A NULL pointer dereference vulnerability has been identified in the Linux kernel's DRM/MediaTek component, specifically within the DisplayPort (DP) handling. The issue arises in the 'mtk_dp_wait_hpd_asserted()' function, which may be invoked before the 'mtk_dp->drm_dev' pointer is properly assigned. This can occur through the 'mtk_edp_wait_hpd_asserted' call, triggered during the panel probe process. The vulnerability is exploited by using 'drm' level print statements, which introduce a NULL pointer dereference. To address this, the error message in 'mtk_dp_wait_hpd_asserted()' has been changed to 'dev_err()', and similar modifications have been made to the error messages in 'mtk_dp_parse_capabilities()'.

Impact

Exploitation of this vulnerability leads to a NULL pointer dereference, causing a crash or undefined behavior in the system.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.