i2c: acpi: fix resource leak in reconfiguration device addition (Linux Linux)

CVE-2021-47425
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: acpi: fix resource leak in reconfiguration device addition acpi_i2c_find_adapter_by_handle() calls bus_find_device() which takes a reference on the adapter which is never released which will result in a reference count leak and render the adapter unremovable. Make sure to put the adapter after creating the client in the same manner that we do for OF. [wsa: fixed title]

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 525e6fabeae286848592363bda13bc34b59bb5ac < b8090a84d7758b929d348bafbd86bb7a10c5fb63 ; affected 525e6fabeae286848592363bda13bc34b59bb5ac < 3d9d458a8aaafa47268ea4f1b4114a9f12927989 ; affected 525e6fabeae286848592363bda13bc34b59bb5ac < 60bacf259e8c2eb2324f3e13275200baaee9494b ; affected 525e6fabeae286848592363bda13bc34b59bb5ac < f86de018fd7a24ee07372d55ffa7824f0c674a95 ; affected 525e6fabeae286848592363bda13bc34b59bb5ac < 90f1077c9184ec2ae9989e4642f211263f301694 ; affected 525e6fabeae286848592363bda13bc34b59bb5ac < 6558b646ce1c2a872fe1c2c7cb116f05a2c1950f
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 4.14.251 ≤ 4.14.* ; unaffected 4.19.211 ≤ 4.19.* ; unaffected 5.4.153 ≤ 5.4.* ; unaffected 5.10.73 ≤ 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