auxdisplay: lcd2s: Fix memory leak in ->remove() (Linux Linux)

CVE-2022-48907
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: auxdisplay: lcd2s: Fix memory leak in ->remove() Once allocated the struct lcd2s_data is never freed. Fix the memory leak by switching to devm_kzalloc().

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:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b < 5d53cd33f4253aa4cf02bf7e670b3c6a99674351 ; affected 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b < 3585ed5f9b11a6094dd991d76a1541e5d03b986a ; affected 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b < 898c0a15425a5bcaa8d44bd436eae5afd2483796
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.27 ≤ 5.15.* ; unaffected 5.16.13 ≤ 5.16.* ; unaffected 5.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