Linux Kernel Memory Leak Vulnerability in DRM Subsystem

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's Direct Rendering Manager (DRM) subsystem. The issue arises in the 'drm_dev_init()' function, where a callback 'drm_dev_init_release()' is supposed to be added. If 'drmm_add_action()' fails, the release function is not added, causing a reference count increase from 'device_get()' in 'drm_dev_init()' to remain unbalanced. This oversight leads to a memory leak. The vulnerability can be addressed by using 'drmm_add_action_or_reset()' instead of 'drmm_add_action()' to ensure proper memory management.

Impact

Exploitation of this vulnerability leads 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
4.0
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.