platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() (Linux Linux)

CVE-2022-50521
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() The ACPI buffer memory (out.pointer) returned by wmi_evaluate_method() is not freed after the call, so it leads to memory leak. The method results in ACPI buffer is not used, so just pass NULL to wmi_evaluate_method() which fixes the memory leak.

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 99b38b4acc0d7dbbab443273577cff60080fcfad < 50ac517d6f5348b276f1f663799cf85dce521518 ; affected 99b38b4acc0d7dbbab443273577cff60080fcfad < 5b0f81b0808235967868e01336c976e840217108 ; affected 99b38b4acc0d7dbbab443273577cff60080fcfad < 14bb4bde3b7b2584734b13747b345caeeb41bea3 ; affected 99b38b4acc0d7dbbab443273577cff60080fcfad < 17cd8c46cbec4e6ad593fb9159928b8e7608c11a ; affected 99b38b4acc0d7dbbab443273577cff60080fcfad < 3cf81501356c9e898ad94b2369ffc805f83f7d7b ; affected 99b38b4acc0d7dbbab443273577cff60080fcfad < 379e7794c5e7485193d25d73614fbbd1e1387f6f
Linux · Linuxaffected 3.0 ; unaffected 0 < 3.0 ; unaffected 4.14.303 ≤ 4.14.* ; unaffected 4.19.270 ≤ 4.19.* ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.163 ≤ 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