drm/v3d: Fix vaddr leak when indirect CSD has zeroed workgroups (Linux Linux)

CVE-2026-53140
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
É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/v3d: Fix vaddr leak when indirect CSD has zeroed workgroups v3d_rewrite_csd_job_wg_counts_from_indirect() maps both the indirect buffer and the workgroup buffer and is expected to release them before returning. When any of the workgroup counts read from the buffer is zero, the function bailed out early and skipped the cleanup, leaking the vaddr mappings of both BOs. Jump to the cleanup path instead of returning directly, so the mappings are always dropped.

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 18b8413b25b7070fa2e55858a2c808e6909581d0 < 0b59d0946913a0df7d1a033013e259e9b6a76546 ; affected 18b8413b25b7070fa2e55858a2c808e6909581d0 < 90b629269088a9fe24a02c032be9f08357f47873 ; affected 18b8413b25b7070fa2e55858a2c808e6909581d0 < 60ebeb23eaf3d7fd2e0551fe304309305e31d424 ; affected 18b8413b25b7070fa2e55858a2c808e6909581d0 < ae7676952790f421c40918e2586a2c9f12a682b6
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.12.94 ≤ 6.12.* ; unaffected 6.18.36 ≤ 6.18.* ; unaffected 7.0.13 ≤ 7.0.* ; unaffected 7.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