CVE-2022-49653

i2c: piix4: Fix a memory leak in the EFCH MMIO support

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.28 % · percentile 21 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: piix4: Fix a memory leak in the EFCH MMIO support The recently added support for EFCH MMIO regions introduced a memory leak in that code path. The leak is caused by the fact that release_resource() merely removes the resource from the tree but does not free its memory. We need to call release_mem_region() instead, which does free the memory. As a nice side effect, this brings back some symmetry between the legacy and MMIO paths.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4b965566ca26e83553d92b8c57050e5d59911806 < d2bf1a6480e8d44658a8ac3bdcec081238873212 ; affected 7c148722d074c29fb998578eea5de3c14b9608c9 < a3263e4cf8265f0c9eb0ed8a9b50f132c7a42e19 ; affected 7c148722d074c29fb998578eea5de3c14b9608c9 < 8ad59b397f86a4d8014966fdc0552095a0c4fb2b ; affected f48190bca4b1a397f2e050efea2c8e8e72049ec8 ; affected 5.15.42 < 5.15.54 ; affected 5.17.10 < 5.18
Linux · Linuxaffected 5.18 ; unaffected 0 < 5.18 ; unaffected 5.15.54 ≤ 5.15.* ; unaffected 5.18.11 ≤ 5.18.* ; unaffected 5.19 ≤ *

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