Linux Kernel Memory Leak Vulnerability in DIO Driver Initialization

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's DIO (Direct I/O) driver initialization process. This issue arises when the device_register() function fails, as the associated device and its name are not properly freed. The vulnerability is present in the Linux kernel stable tree.

Impact

The vulnerability can lead to a memory leak, where allocated memory is not released, potentially causing increased memory usage and degradation of system performance over time.

Reproduction

The vulnerability can be reproduced by initializing a DIO device and forcing the device_register() function to return an error. This can be done by simulating a failure condition that the function does not handle properly, such as providing invalid device information or resources. When the error occurs, the 'dev' and name are not freed, leading to a memory leak.

Remediation

The vulnerability has been addressed in the Linux kernel. Users can upgrade to the latest version of the stable kernel to apply the fix.

Added: Dec 30, 2025, 5:21 PM
Updated: Dec 30, 2025, 5:21 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
1.6
threat
4.8
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.