Linux Kernel Kobject Management Vulnerability in Module Handling

Vulnerability

A vulnerability has been identified in the Linux kernel's module kobject management. The issue arises in the 'lookup_or_create_module_kobject()' function, where an internal kobject is created using 'module_ktype'. If an error occurs, the subsequent call to 'kobject_put()' in the error handling path can lead to the use of an uninitialized completion pointer in 'module_kobject_release()'. This situation requires releasing the kobject without the usual synchronization needed for a standard module unloading process. To address this, an additional check has been introduced to determine whether 'complete()' is necessary, making 'kobject_put()' safe.

Impact

The vulnerability could potentially lead to improper handling of kobjects, causing synchronization issues during module unloading and possibly allowing for the use of uninitialized memory.

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
3.5
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.