iommu/vt-d: Clean up si_domain in the init_dmars() error path (Linux Linux)

CVE-2022-50482
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: iommu/vt-d: Clean up si_domain in the init_dmars() error path A splat from kmem_cache_destroy() was seen with a kernel prior to commit ee2653bbe89d ("iommu/vt-d: Remove domain and devinfo mempool") when there was a failure in init_dmars(), because the iommu_domain cache still had objects. While the mempool code is now gone, there still is a leak of the si_domain memory if init_dmars() fails. So clean up si_domain in the init_dmars() error path.

Faiblesses (CWE)

  • CWE-908 — Utilisation d'une ressource non initialisée

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 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 < 749bea542b67513e99240dc58bbfc099e842d508 ; affected 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 < 5cecfe151874b835331efe086bbdcaeaf64f6b90 ; affected 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 < 724483b585a1b1e063d42ac5aa835707ff2ec165 ; affected 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 < d74196bb278b8f8af88e16bd595997dfa3d6fdb0 ; affected 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 < 0365d6af75f9f2696e94a0fef24a2c8464c037c8 ; affected 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 < c4ad3ae4c6be9d8b0701761c839771116bca6ea3
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 4.14.298 ≤ 4.14.* ; unaffected 4.19.264 ≤ 4.19.* ; unaffected 5.4.221 ≤ 5.4.* ; unaffected 5.10.152 ≤ 5.10.*

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