CVE-2022-50521
5.5medium
platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 99b38b4acc0d7dbbab443273577cff60080fcfad before 50ac517d6f5348b276f1f663799cf85dce521518, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 5b0f81b0808235967868e01336c976e840217108, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 14bb4bde3b7b2584734b13747b345caeeb41bea3, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 17cd8c46cbec4e6ad593fb9159928b8e7608c11a, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 3cf81501356c9e898ad94b2369ffc805f83f7d7b, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 379e7794c5e7485193d25d73614fbbd1e1387f6f, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 87426ce3bd57ad414b6e2436434ef8128986a9a5, from 99b38b4acc0d7dbbab443273577cff60080fcfad before 727cc0147f5066e359aca65cc6cc5e6d64cc15d8 and 1 more Not affected: before 3.0, from 4.14.303 up to 4.14.*, from 4.19.270 up to 4.19.*, from 5.4.229 up to 5.4.*, from 5.10.163 up to 5.10.*, from 5.15.86 up to 5.15.* | CVE List |
| linux linux_kernel | from 3.0 before 4.14.303, from 4.15 before 4.19.270, from 4.20 before 5.4.229, from 5.5 before 5.10.163, from 5.11 before 5.15.86, from 5.16 before 6.0.16, from 6.1 before 6.1.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50521 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2022-50521 changed 2026-11-05 | Public domain |