Linux Kernel NVMEM GPIO Resource Leak Vulnerability

Vulnerability

A vulnerability in the Linux kernel's NVMEM (Non-Volatile Memory) subsystem has been addressed. The issue arose because the cleanup process did not properly release a GPIO resource if the function dev_set_name() failed, leading to a resource leak. The vulnerability was resolved by modifying the device registration process to initialize the device earlier and incorporate a proper cleanup routine, resulting in clearer code.

Impact

The vulnerability could lead to a resource leak, specifically not releasing a GPIO resource, which could cause issues in resource management and potentially lead to other vulnerabilities or system instability.

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

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.3
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.