CVE-2026-63839

platform/x86: lenovo-wmi-helpers: Fix memory leak in lwmi_dev_evaluate_int()

Published Jul 19, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

platform/x86: lenovo-wmi-helpers: Fix memory leak in lwmi_dev_evaluate_int()

lwmi_dev_evaluate_int() leaks output.pointer when retval == NULL (found
by sashiko.dev [1]).

Fix it by moving `ret_obj = output.pointer' outside of the `if (retval)'
block so that it is always freed by the __free cleanup callback.

No functional change intended.

Analysis

AI-generated

Technical impact

In the Linux kernel, a memory leak was discovered in the Lenovo WMI helper module. The function lwmi_dev_evaluate_int() fails to free the output pointer when it returns NULL, causing a gradual increase in memory usage on the system. This flaw does not allow arbitrary code execution but can degrade system performance or interrupt operations if the leak is repeatedly exercised over time.

Affected Systems

All Linux kernels that include the Lenovo WMI helper code before the commit that moves the cleanup outside the conditional block are vulnerable. The issue applies to kernel versions covered in the listed CPE strings, including the mainline Linux kernel and release candidates 7.1-rc1 through 7.1-rc3. Distribution backports may vary, so administrators should verify if their kernel version contains the patch.

Risk and Exploitability

The exploitation probability is very low, indicated by an EPSS score of less than 1%, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.5 indicates moderate severity. Based on the description, it is inferred that attackers would need local or privileged access to invoke the affected WMI interface, and the flaw cannot be triggered remotely over standard network protocols. The flaw is classified as CWE-772 and CWE-401, indicating improper resource handling and memory allocation misuse. Consequently, the risk is primarily theoretical for an attacker who can repeatedly invoke the function, and the vulnerability is most relevant to administrators of systems that expose WMI services via Lenovo firmware.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the patch for lwmi_dev_evaluate_int() and reboot to activate the new kernel.
  • If an update cannot be applied immediately, blacklist the Lenovo WMI helper module (e.g., add 'blacklist lenovo' to /etc/modprobe.d/blacklist.conf) or rebuild the kernel without the module to eliminate the vulnerable code path.
  • Until a kernel update is available, limit or disable external access to the Lenovo WMI interface to prevent administrators or users from invoking the vulnerable function repeatedly.

Generated by OpenCVE AI on November 15, 2026 at 12:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: platform/x86: lenovo-wmi-helpers: Fix memory leak in lwmi_dev_evaluate_int() lwmi_dev_evaluate_int() leaks output.pointer when retval == NULL (found by sashiko.dev [1]). Fix it by moving `ret_obj = output.pointer' outside of the `if (retval)' block so that it is always freed by the __free cleanup callback. No functional change intended.
Title platform/x86: lenovo-wmi-helpers: Fix memory leak in lwmi_dev_evaluate_int()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Sep 7, 2026, 3:45 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 3:16 PM
Modified
Nov 12, 2026, 3:15 PM
Severity
Public date
Jul 19, 2026, 12:00 AM