CVE-2025-37995

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

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 942e443127e928a5631c3d5102aca8c8b3c2dd98 < 93799fb988757cdacf19acba57807746c00378e6 ; affected 942e443127e928a5631c3d5102aca8c8b3c2dd98 < a63d99873547d8b39eb2f6db79dd235761e7098a ; affected 942e443127e928a5631c3d5102aca8c8b3c2dd98 < f1c71b4bd721a4ea21da408806964b10468623f2 ; affected 942e443127e928a5631c3d5102aca8c8b3c2dd98 < 9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd ; affected 942e443127e928a5631c3d5102aca8c8b3c2dd98 < faa9059631d3491d699c69ecf512de9e1a3d6649 ; affected 942e443127e928a5631c3d5102aca8c8b3c2dd98 < d63851049f412cdfadaeef7a7eaef5031d11c1e9
Linux · Linuxaffected 3.12 ; unaffected 0 < 3.12 ; unaffected 5.4.294 ≤ 5.4.* ; unaffected 5.10.238 ≤ 5.10.* ; unaffected 5.15.183 ≤ 5.15.* ; unaffected 6.1.139 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD