Linux Kernel Use-After-Free Vulnerability in Media Driver Unbind

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's media subsystem, specifically within the Davinci VPIF driver. This issue arises because the driver allocates and registers two platform device structures during the probe phase, but fails to deregister them when the driver is unbound. As a result, the device structures, which are managed by the device resource management system, are freed by the driver core after the remove() function returns, leading to a use-after-free condition. The vulnerability has been addressed by adding the missing deregistration calls to the remove() callback and ensuring that the probe function fails on registration errors. It is important to properly release the platform device structures using a designated release callback to prevent resource leaks, such as lingering device names.

Impact

Exploitation of this vulnerability can lead to a use-after-free condition, which may be exploited to execute arbitrary code or cause a denial-of-service by crashing the system.

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.