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.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a memory leak in the Lenovo WMI helper module. When lwmi_dev_evaluate_int() returns NULL, the output pointer is not freed, leading to a gradual increase in memory usage. This flaw does not grant direct execution of arbitrary code but can degrade system performance or cause a denial of service if the leak is repeatedly exercised over time. It is identified as CWE‑772, improper handling of resource lifetimes.

Affected Systems

All Linux systems that use the Lenovo WMI helpers and run a kernel version before the commit that moves the cleanup outside the conditional block are vulnerable. The fix is present in newer kernel releases that include the patch, but distribution backports may provide the update at different version points. Because the vulnerability exists in the kernel, any distribution kernel that contains the line remains at risk until the patch is applied.

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. 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. 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.

Generated by OpenCVE AI on August 3, 2026 at 02:38 UTC.

Remediation

No vendor fix or workaround currently provided.

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 August 3, 2026 at 02:38 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
History

Tue, 21 Jul 2026 00:15:00 +0000


Sun, 19 Jul 2026 14:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:04:35.146Z

Reserved: 2026-07-19T07:54:57.015Z

Link: CVE-2026-63839

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63839 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T02:45:03Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime