# CVE-2025-37995: module: ensure that kobject_put() is safe for module type kobjects

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-05-29T13:15:54.095Z
- Modified: 2026-11-05T21:18:01.970Z
- Weaknesses: CWE-824
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before 93799fb988757cdacf19acba57807746c00378e6; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before a63d99873547d8b39eb2f6db79dd235761e7098a; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before f1c71b4bd721a4ea21da408806964b10468623f2; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before 9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before faa9059631d3491d699c69ecf512de9e1a3d6649; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before d63851049f412cdfadaeef7a7eaef5031d11c1e9; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before 31d8df3f303c3ae9115230820977ef8c35c88808; from 942e443127e928a5631c3d5102aca8c8b3c2dd98 before a6aeb739974ec73e5217c75a7c008a688d3d5cf1; 3.12 (not affected: before 3.12; from 5.4.294 up to 5.4.*; from 5.10.238 up to 5.10.*; from 5.15.183 up to 5.15.*; from 6.1.139 up to 6.1.*; from 6.6.91 up to 6.6.*; from 6.12.29 up to 6.12.*; from 6.14.7 up to 6.14.*; from 6.15 up to *)
- linux 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; from 6.13 before 6.14.7; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/93799fb988757cdacf19acba57807746c00378e6> (patch)
- <https://git.kernel.org/stable/c/a63d99873547d8b39eb2f6db79dd235761e7098a> (patch)
- <https://git.kernel.org/stable/c/f1c71b4bd721a4ea21da408806964b10468623f2> (patch)
- <https://git.kernel.org/stable/c/9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd> (patch)
- <https://git.kernel.org/stable/c/faa9059631d3491d699c69ecf512de9e1a3d6649> (patch)
- <https://git.kernel.org/stable/c/d63851049f412cdfadaeef7a7eaef5031d11c1e9> (patch)
- <https://git.kernel.org/stable/c/31d8df3f303c3ae9115230820977ef8c35c88808> (patch)
- <https://git.kernel.org/stable/c/a6aeb739974ec73e5217c75a7c008a688d3d5cf1> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-37995](https://www.cve.org/CVERecord?id=CVE-2025-37995), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-37995](https://nvd.nist.gov/vuln/detail/CVE-2025-37995), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-37995 · Whole record: https://cve.day/CVE-2025-37995.json · Rebuilt by cve.day 2026-11-25T22:58:58.553Z
