Linux Kernel Pin Control Function Name Handling Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's pin control subsystem, specifically within the function name handling of the pin multiplexing operations. The issue arises because the generic implementation of the 'get_function_name()' callback can fail and return a null value. This potential failure was not properly checked in the 'pinmux_func_name_to_selector()' function, leading to a null pointer dereference risk. The vulnerability affects the Linux kernel stable tree.

Impact

The vulnerability could lead to a null pointer dereference, causing a crash or undefined behavior in the kernel.

Reproduction

The vulnerability can be reproduced by invoking the 'pinmux_func_name_to_selector()' function with a pin multiplexing operation that returns a null function name. This can occur when the 'get_function_name()' callback fails, which is not explicitly documented in the API contract but is a known possibility.

Remediation

The vulnerability has been addressed by adding a check for null values returned by the 'get_function_name()' callback before comparing the function names. Users should upgrade to the latest version of the Linux kernel stable tree where this fix has been applied.

Added: Oct 28, 2025, 1:36 PM
Updated: Oct 28, 2025, 1:36 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.8
threat
4.8
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.