Linux Kernel Memory Leak Vulnerability in GPU Host1X Context Management

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's GPU host1x context management. The issue arises because device names allocated by the 'dev_set_name()' function are not properly freed before the module is unloaded. This failure occurs because the reference count of the kobject, set during 'device_initialize()', is not decremented to zero. As a result, the allocated names cannot be released. The vulnerability affects the Linux kernel stable tree.

Impact

Exploitation of this vulnerability leads to a memory leak, where allocated device names are not properly released, potentially causing increased memory usage and degradation of system performance over time.

Reproduction

The vulnerability can be reproduced by adding context devices in the host1x GPU driver without properly managing the device lifecycle. When 'device_add()' fails, the reference count is not correctly dropped, leaving allocated names in memory. This can be observed by monitoring memory usage for leaks after unloading the module.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.

Added: Oct 1, 2025, 1:42 PM
Updated: Oct 1, 2025, 1:42 PM

Vulnerability Rating

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