Linux Kernel Pinmux NULL Pointer Dereference Vulnerability

Vulnerability

A vulnerability in the Linux kernel's pinmux handling can lead to a NULL pointer dereference. This issue arises when two clients of the same GPIO call pinctrl_select_state() for the same functionality. Process A may update the pin's mux_usecount but not the mux_owner, allowing process B to see the updated usecount and attempt to access the mux_owner, resulting in a crash. The vulnerability can be exploited by serializing access to mux-related settings with a mutex lock.

Impact

Exploitation of this vulnerability causes a NULL pointer dereference, leading to a crash of the affected process.

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
3.5
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.