{"id":"CVE-2025-37995","summary":"module: ensure that kobject_put() is safe for module type kobjects","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmodule: ensure that kobject_put() is safe for module type kobjects\n\nIn 'lookup_or_create_module_kobject()', an internal kobject is created\nusing 'module_ktype'. So call to 'kobject_put()' on error handling\npath causes an attempt to use an uninitialized completion pointer in\n'module_kobject_release()'. In this scenario, we just want to release\nkobject without an extra synchronization required for a regular module\nunloading process, so adding an extra check whether 'complete()' is\nactually required makes 'kobject_put()' safe.","modified":"2026-04-02T12:47:43.600909Z","published":"2025-05-29T13:15:54.095Z","related":["SUSE-SU-2025:02249-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02335-1","SUSE-SU-2025:02538-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20475-1","SUSE-SU-2025:20483-1","SUSE-SU-2025:20493-1","SUSE-SU-2025:20498-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37995.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/31d8df3f303c3ae9115230820977ef8c35c88808"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93799fb988757cdacf19acba57807746c00378e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a63d99873547d8b39eb2f6db79dd235761e7098a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6aeb739974ec73e5217c75a7c008a688d3d5cf1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d63851049f412cdfadaeef7a7eaef5031d11c1e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1c71b4bd721a4ea21da408806964b10468623f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/faa9059631d3491d699c69ecf512de9e1a3d6649"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37995.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37995"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"942e443127e928a5631c3d5102aca8c8b3c2dd98"},{"fixed":"93799fb988757cdacf19acba57807746c00378e6"},{"fixed":"a63d99873547d8b39eb2f6db79dd235761e7098a"},{"fixed":"f1c71b4bd721a4ea21da408806964b10468623f2"},{"fixed":"9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd"},{"fixed":"faa9059631d3491d699c69ecf512de9e1a3d6649"},{"fixed":"d63851049f412cdfadaeef7a7eaef5031d11c1e9"},{"fixed":"31d8df3f303c3ae9115230820977ef8c35c88808"},{"fixed":"a6aeb739974ec73e5217c75a7c008a688d3d5cf1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37995.json"}}],"schema_version":"1.7.5"}