What’s Vulnerable › Vulnerabilities
CVE-2025-37995: module: ensure that kobject_put() is safe for module type kobjects
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-29 · updated 2026-06-17
- Weakness: 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 products
- Debian Linux: 11.0
- Linux 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 — fixed in 5.10.238, 5.15.183, 5.4.294, 6.1.139, 6.12.29, 6.14.7
How to fix
Upgrade to a fixed version: Linux kernel 5.10.238, 5.15.183, 5.4.294, 6.1.139. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/31d8df3f303c3ae9115230820977ef8c35c88808
- https://git.kernel.org/stable/c/93799fb988757cdacf19acba57807746c00378e6
- https://git.kernel.org/stable/c/9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd
- https://git.kernel.org/stable/c/a63d99873547d8b39eb2f6db79dd235761e7098a
- https://git.kernel.org/stable/c/a6aeb739974ec73e5217c75a7c008a688d3d5cf1
- https://git.kernel.org/stable/c/d63851049f412cdfadaeef7a7eaef5031d11c1e9
- https://git.kernel.org/stable/c/f1c71b4bd721a4ea21da408806964b10468623f2
- https://git.kernel.org/stable/c/faa9059631d3491d699c69ecf512de9e1a3d6649
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
Get alerted when CVE-2025-37995 or the next vulnerability affects your stack