Linux Kernel GPIO Character Device Event Notification Vulnerability

Vulnerability

A vulnerability in the Linux kernel's GPIO character device handling has been addressed. The issue arose because the final call to release a file descriptor could be deferred and processed later, leaving the reference count at zero. This situation created a use-after-free condition, as a GPIO change meant to notify user space could occur after the file descriptor was marked for release but before the release callback was executed. The vulnerability has been fixed by ensuring that the file descriptor is still active before emitting events, using a variant of the file access function that safely handles released descriptors.

Impact

The vulnerability could lead to a use-after-free condition, allowing potential exploitation scenarios such as accessing freed memory, which could be manipulated for arbitrary code execution or causing a system crash.

Added: Dec 4, 2025, 4:41 PM
Updated: Dec 4, 2025, 5:44 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.0
remediation
7.7
relevance
1.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.