Linux Kernel Mediatek Pinctrl Invalid Pointer Dereference Vulnerability on V1 Platforms

Vulnerability

A vulnerability in the Linux kernel's Mediatek pinctrl driver for version 1 platforms has been identified, leading to an invalid pointer dereference. This issue arose after a commit introduced a dependency on a structure that includes a 'soc' field, while the v1 drivers relied on a version of the structure that omitted this field. As a result, when the initialization function is called by v1 drivers, it attempts to dereference a non-existent pointer, causing a crash early in the boot process. This vulnerability has been observed on the Genio 350 EVK (MT8365) device.

Impact

Exploitation of this vulnerability causes a kernel crash during the boot process, with the crash trace only visible through earlycon.

Remediation

The vulnerability has been addressed by modifying the initialization function to accept a parameter that specifies the pin configuration, thereby eliminating the reliance on a specific structure version. Users should ensure they are using the patched version of the kernel where this fix has been implemented.

Added: Jul 10, 2025, 10:17 AM
Updated: Jul 10, 2025, 10:17 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.2
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.