CVE-2025-37995

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

MEDIUM
5.5
CVSS Score
Published: May 29, 2025 at 01:15 PM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.12 ≤ v < 5.10.2383.12 ≤ v < 5.15.1833.12 ≤ v < 5.4.2943.12 ≤ v < 6.1.1393.12 ≤ v < 6.12.293.12 ≤ v < 6.14.73.12 ≤ v < 6.153.12 ≤ v < 6.6.915.11 ≤ v < 5.15.1835.16 ≤ v < 6.1.1395.5 ≤ v < 5.10.2386.13 ≤ v < 6.14.76.2 ≤ v < 6.6.916.7 ≤ v < 6.12.293.126.15 rc16.15 rc26.15 rc36.15 rc46.15 rc5942e443127e928a5631c3d5102aca8c8b3c2dd98
Vendor states this is fixed in 31d8df3f303c3ae9115230820977ef8c35c88808 (fixed)
Vendor states this is fixed in 93799fb988757cdacf19acba57807746c00378e6 (fixed)
Vendor states this is fixed in 9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd (fixed)
Vendor states this is fixed in a63d99873547d8b39eb2f6db79dd235761e7098a (fixed)
Vendor states this is fixed in a6aeb739974ec73e5217c75a7c008a688d3d5cf1 (fixed)
Vendor states this is fixed in d63851049f412cdfadaeef7a7eaef5031d11c1e9 (fixed)
Vendor states this is fixed in f1c71b4bd721a4ea21da408806964b10468623f2 (fixed)
Vendor states this is fixed in faa9059631d3491d699c69ecf512de9e1a3d6649 (fixed)
Vendor states this is fixed in 3.12 (unaffected)
Vendor states this is fixed in 5.10.238 (unaffected)
Vendor states this is fixed in 5.15.183 (unaffected)
Vendor states this is fixed in 5.4.294 (unaffected)
Vendor states this is fixed in 6.1.139 (unaffected)
Vendor states this is fixed in 6.12.29 (unaffected)
Vendor states this is fixed in 6.14.7 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.91 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31d8df3f303c3ae9115230820977ef8c35c88808
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93799fb988757cdacf19acba57807746c00378e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a63d99873547d8b39eb2f6db79dd235761e7098a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6aeb739974ec73e5217c75a7c008a688d3d5cf1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d63851049f412cdfadaeef7a7eaef5031d11c1e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1c71b4bd721a4ea21da408806964b10468623f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/faa9059631d3491d699c69ecf512de9e1a3d6649

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-824

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card