CVE-2025-37995 module: ensure that kobject_put() is safe for module type kobjects
A null pointer dereference in the Linux kernel module subsystem can cause a system crash when handling specific kobject errors.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37995?
CVE-2025-37995 is a medium-severity vulnerability in Debian Debian Linux, published on 29 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-824
Which versions are affected by CVE-2025-37995?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37995?
Apply the vendor's patch.
Is CVE-2025-37995 being exploited?
There is no known exploitation of CVE-2025-37995 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-37995, DEBIAN-CVE-2025-37995, GHSA-8q5q-7mvv-w97x, ROOT-OS-DEBIAN-11-CVE-2025-37995, ROOT-OS-DEBIAN-12-CVE-2025-37995, ROOT-OS-UBUNTU-2204-CVE-2025-37995 and 2 more.