drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor(). (Linux Linux)

CVE-2025-39679
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor(). When the nvif_vmm_type is invalid, we will return error directly without freeing the args in nvif_vmm_ctor(), which leading a memory leak. Fix it by setting the ret -EINVAL and goto done.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

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 6b252cf42281045a9f803d2198023500cfa6ebd2 < 72553fe19317fe93cb8591c83095c446bc7fe292 ; affected 6b252cf42281045a9f803d2198023500cfa6ebd2 < cabcb52d76d3d42f16c344a96e098dd9d18602f8 ; affected 6b252cf42281045a9f803d2198023500cfa6ebd2 < 7d9110e3b35d08832661da1a1fc2d24455981a04 ; affected 6b252cf42281045a9f803d2198023500cfa6ebd2 < bb8aeaa3191b617c6faf8ae937252e059673b7ea
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.103 ≤ 6.6.* ; unaffected 6.12.44 ≤ 6.12.* ; unaffected 6.16.4 ≤ 6.16.* ; unaffected 6.17 ≤ *

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