Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50521

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 50ac517d6f5348b276f1f663799cf85dce521518affected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 5b0f81b0808235967868e01336c976e840217108affected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 14bb4bde3b7b2584734b13747b345caeeb41bea3affected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 17cd8c46cbec4e6ad593fb9159928b8e7608c11aaffected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 3cf81501356c9e898ad94b2369ffc805f83f7d7baffected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 379e7794c5e7485193d25d73614fbbd1e1387f6faffected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 87426ce3bd57ad414b6e2436434ef8128986a9a5affected
  • 99b38b4acc0d7dbbab443273577cff60080fcfad to < 727cc0147f5066e359aca65cc6cc5e6d64cc15d8affected

Linux Linux

Default version status: affected

  • 3.0affected
  • 0 to < 3.0unaffected
  • 4.14.303 to ≤ 4.14.*unaffected
  • 4.19.270 to ≤ 4.19.*unaffected
  • 5.4.229 to ≤ 5.4.*unaffected
  • 5.10.163 to ≤ 5.10.*unaffected
  • 5.15.86 to ≤ 5.15.*unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References