NetSight
medium5.5

CVE-2025-37995

In the Linux kernel, the following vulnerability has been resolved: module: ensure that kobject_put() is safe for module type kobjects In 'lookup_or_create_mod…

Impact

In the Linux kernel, the following vulnerability has been resolved: module: ensure that kobject_put() is safe for module type kobjects In 'lookup_or_create_module_kobject()', an internal kobject is created using 'module_ktype'. So call to 'kobject_put()' on error handling path causes an attempt to use an uninitialized completion pointer in 'module_kobject_release()'. In this scenario, we just want to release kobject without an extra synchronization required for a regular module unloading process, so adding an extra check whether 'complete()' is actually required makes 'kobject_put()' safe.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 3.12 before 5.4.294
from 5.5 before 5.10.238
from 5.11 before 5.15.183
from 5.16 before 6.1.139
from 6.2 before 6.6.91
from 6.7 before 6.12.29
DebianDebian Linux
Version 11.0

Weakness classification

References