We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-37995

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



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.

Reserved 2025-04-16 | Published 2025-05-29 | Updated 2025-05-29 | Assigner Linux

Product status

Default status
unaffected

942e443127e928a5631c3d5102aca8c8b3c2dd98 before f1c71b4bd721a4ea21da408806964b10468623f2
affected

942e443127e928a5631c3d5102aca8c8b3c2dd98 before 9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd
affected

942e443127e928a5631c3d5102aca8c8b3c2dd98 before faa9059631d3491d699c69ecf512de9e1a3d6649
affected

942e443127e928a5631c3d5102aca8c8b3c2dd98 before d63851049f412cdfadaeef7a7eaef5031d11c1e9
affected

942e443127e928a5631c3d5102aca8c8b3c2dd98 before 31d8df3f303c3ae9115230820977ef8c35c88808
affected

942e443127e928a5631c3d5102aca8c8b3c2dd98 before a6aeb739974ec73e5217c75a7c008a688d3d5cf1
affected

Default status
affected

3.12
affected

Any version before 3.12
unaffected

5.15.183
unaffected

6.1.139
unaffected

6.6.91
unaffected

6.12.29
unaffected

6.14.7
unaffected

6.15
unaffected

References

git.kernel.org/...c/f1c71b4bd721a4ea21da408806964b10468623f2

git.kernel.org/...c/9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd

git.kernel.org/...c/faa9059631d3491d699c69ecf512de9e1a3d6649

git.kernel.org/...c/d63851049f412cdfadaeef7a7eaef5031d11c1e9

git.kernel.org/...c/31d8df3f303c3ae9115230820977ef8c35c88808

git.kernel.org/...c/a6aeb739974ec73e5217c75a7c008a688d3d5cf1

cve.org (CVE-2025-37995)

nvd.nist.gov (CVE-2025-37995)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-37995

Support options

Helpdesk Chat, Email, Knowledgebase