Linux Kernel Dangling Pointer Vulnerability in UVC Video Driver

Vulnerability

A vulnerability in the Linux kernel's UVC video driver allows for the creation of dangling pointers when asynchronous control operations are initiated. The driver copies a pointer to the file handle that started the operation, which is intended to be used later when the device completes the task. If the user closes the file descriptor before the operation is finished, the associated structure is freed, leaving a dangling pointer for each pending asynchronous control. The driver will then attempt to use these invalid pointers, potentially leading to undefined behavior. This issue has been addressed by cleaning up the dangling pointers during the file release process. To prevent performance penalties during normal operations, a counter has been introduced to manage the asynchronous control handling appropriately.

Impact

Exploitation of this vulnerability could lead to use-after-free conditions, where the driver accesses freed memory, potentially causing crashes or allowing for arbitrary code execution.

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