Linux Kernel DVB Core Double Free Vulnerability in Device Registration

Vulnerability

A double free vulnerability has been identified in the Linux kernel's DVB core media device registration process. This issue arises in the 'dvb_register_device()' function, specifically within the 'dvb_create_media_entity()' call. The vulnerability occurs when 'dvb->entity' is allocated and initialized, but the initialization fails. In such cases, the function frees 'dvb->entity' and returns an error code. The caller then handles this error by calling 'dvb_media_device_free()', which unregisters the entity and frees the field again if it is not NULL. However, 'dvb->entity' may not be set to NULL in 'dvb_create_media_entity()' if the allocation of 'dvbdev->pad' fails, leading to a double free situation. This flaw can also cause a use-after-free condition in 'media_device_unregister_entity()'. The vulnerability affects several versions of the Linux kernel.

Added: Oct 4, 2025, 7:24 PM
Updated: Oct 4, 2025, 7:24 PM

Vulnerability Rating

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