Linux Kernel Memory Leak Vulnerability in RTL8712 Staging Driver

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's staging RTL8712 driver. The issue arises in the 'r871xu_drv_init()' function, where the 'r8712_init_drv_sw()' failure prevents proper release of memory allocated by 'r8712_alloc_io_queue()'. This memory leak occurs because 'r8712_usb_dvobj_deinit()' does not execute under these failure conditions. The vulnerability can be exploited by causing 'r8712_init_drv_sw()' to fail, leading to an unaddressed memory allocation. The problem is exacerbated because 'r8712_usb_dvobj_deinit()' is not called in a way that accounts for the driver's initialization state, leaving allocated resources unreleased.

Impact

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

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.