---
id: CVE-2022-50521
title: 'platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()'
summary: |-
  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 i…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    50ac517d6f5348b276f1f663799cf85dce521518
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    5b0f81b0808235967868e01336c976e840217108
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    14bb4bde3b7b2584734b13747b345caeeb41bea3
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    17cd8c46cbec4e6ad593fb9159928b8e7608c11a
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    3cf81501356c9e898ad94b2369ffc805f83f7d7b
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    379e7794c5e7485193d25d73614fbbd1e1387f6f
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    87426ce3bd57ad414b6e2436434ef8128986a9a5
  - >-
    Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad <
    727cc0147f5066e359aca65cc6cc5e6d64cc15d8
  - Linux 3.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:12:59.158598Z'
published: '2025-10-07'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:50.723Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50521'
references:
  - url: 'https://git.kernel.org/stable/c/50ac517d6f5348b276f1f663799cf85dce521518'
  - url: 'https://git.kernel.org/stable/c/5b0f81b0808235967868e01336c976e840217108'
  - url: 'https://git.kernel.org/stable/c/14bb4bde3b7b2584734b13747b345caeeb41bea3'
  - url: 'https://git.kernel.org/stable/c/17cd8c46cbec4e6ad593fb9159928b8e7608c11a'
  - url: 'https://git.kernel.org/stable/c/3cf81501356c9e898ad94b2369ffc805f83f7d7b'
  - url: 'https://git.kernel.org/stable/c/379e7794c5e7485193d25d73614fbbd1e1387f6f'
  - url: 'https://git.kernel.org/stable/c/87426ce3bd57ad414b6e2436434ef8128986a9a5'
  - url: 'https://git.kernel.org/stable/c/727cc0147f5066e359aca65cc6cc5e6d64cc15d8'
tags:
  - cve.org
epss: 0.0016
epssPercentile: 0.05159
ingestedAt: '2026-11-05T22:38:31.746Z'
---

## Overview

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

- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 50ac517d6f5348b276f1f663799cf85dce521518`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 5b0f81b0808235967868e01336c976e840217108`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 14bb4bde3b7b2584734b13747b345caeeb41bea3`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 17cd8c46cbec4e6ad593fb9159928b8e7608c11a`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 3cf81501356c9e898ad94b2369ffc805f83f7d7b`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 379e7794c5e7485193d25d73614fbbd1e1387f6f`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 87426ce3bd57ad414b6e2436434ef8128986a9a5`
- `Linux >= 99b38b4acc0d7dbbab443273577cff60080fcfad < 727cc0147f5066e359aca65cc6cc5e6d64cc15d8`
- `Linux 3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
