platform/x86: lenovo-wmi-helpers: Fix memory leak in lwmi_dev_evaluate_int()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.50, Kernel 7.0.10, Kernel 40a984dd0602e238ad893b167751620e751d1199 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.17 <6.18.50, >=6.19 <7.0.10, =7.1, >=e521d16e76cd9ea99c585e064f4e7daf657b1451 <40a984dd0602e238ad893b167751620e751d1199, >=e521d16e76cd9ea99c585e064f4e7daf657b1451 <ce493f9261cd3f4bffe2f72481d8c3ee01c559a3, =6.17, >=e521d16e76cd9ea99c585e064f4e7daf657b1451 <0c3887a134f191723b53e2a47e501b534c8723ee | 6.18.50, 7.0.10, 40a984dd0602e238ad893b167751620e751d1199, ce493f9261cd3f4bffe2f72481d8c3ee01c559a3, 0c3887a134f191723b53e2a47e501b534c8723ee |
| linux-kernel: Kernel | >=6.17.0 <6.18.50, >=6.19.0 <7.0.10 | 6.18.50, 7.0.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket