What happened
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.
Affected versions
Linux: e521d16e76cd9ea99c585e064f4e7daf657b1451 through before ce493f9261cd3f4bffe2f72481d8c3ee01c559a3 (git); e521d16e76cd9ea99c585e064f4e7daf657b1451 through before 40a984dd0602e238ad893b167751620e751d1199 (git); e521d16e76cd9ea99c585e064f4e7daf657b1451 through before 0c3887a134f191723b53e2a47e501b534c8723ee (git); 6.17 Fixed: See vendor advisory.
Why it matters
Review the vendor advisory and exposure of the affected product to determine operational impact.
Detection & mitigation
- Apply vendor-provided updates or mitigations.
- Review affected product exposure and access logs.
Public PoC references
No public PoC reference has passed the current publication threshold.