CVE-2025-37995

module: ensure that kobject_put() is safe for module type kobjects

State
Published
Severity
Not scored
Published
May 29, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before 93799fb988757cdacf19acba57807746c00378e6Affected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before a63d99873547d8b39eb2f6db79dd235761e7098aAffected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before f1c71b4bd721a4ea21da408806964b10468623f2Affected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before 9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0ddAffected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before faa9059631d3491d699c69ecf512de9e1a3d6649Affected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before d63851049f412cdfadaeef7a7eaef5031d11c1e9Affected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before 31d8df3f303c3ae9115230820977ef8c35c88808Affected
  • 942e443127e928a5631c3d5102aca8c8b3c2dd98 to before a6aeb739974ec73e5217c75a7c008a688d3d5cf1Affected
LinuxLinux
  • 3.12Affected
  • before 3.12Not affected
  • 5.4.294 through 5.4.*Not affected
  • 5.10.238 through 5.10.*Not affected
  • 5.15.183 through 5.15.*Not affected
  • 6.1.139 through 6.1.*Not affected
  • 6.6.91 through 6.6.*Not affected
  • 6.12.29 through 6.12.*Not affected
  • 6.14.7 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.