CVEvulnerability

CVE-2025-37995

5.5 MEDIUM Published 2025-05-29 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-05-29
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-824

Description

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 configurations

• linux linux kernel (>= 3.12 < 5.4.294) • linux linux kernel (>= 5.5 < 5.10.238) • linux linux kernel (>= 5.11 < 5.15.183) • linux linux kernel (>= 5.16 < 6.1.139) • linux linux kernel (>= 6.2 < 6.6.91) • linux linux kernel (>= 6.7 < 6.12.29) • linux linux kernel (>= 6.13 < 6.14.7) • linux linux kernel 6.15 • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-824 Access of Uninitialized Pointer weakness

References