i2c: viai2c-wmt: Fix clock leak in wmt_i2c_probe()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1875de656370c89b99a150d220df876288ee0344, Kernel 5d476bb76b7d72d8b7ed04a9c614900b097e3af7, Kernel 9504c8b6644f3c8799206c2e2840260bd416f341 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: i2c: viai2c-wmt: Fix clock leak in wmt_i2c_probe() In wmt_i2c_probe(), i2c->clk is acquired using of_clk_get(). If any subsequent operation fails or when the module is unloaded, the clock reference count is never decremented via clk_put(), leading to a resource leak. Switch to devm_clk_get() so that the clock is automatically managed and released.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.11, >=560746eb79d3124a278452c8dd968682b521cc82 <1875de656370c89b99a150d220df876288ee0344, >=560746eb79d3124a278452c8dd968682b521cc82 <5d476bb76b7d72d8b7ed04a9c614900b097e3af7, >=560746eb79d3124a278452c8dd968682b521cc82 <9504c8b6644f3c8799206c2e2840260bd416f341, >=560746eb79d3124a278452c8dd968682b521cc82 <a1b0b91c663be67072a76d76d980577a160ce694, >=560746eb79d3124a278452c8dd968682b521cc82 <aa910d9d4c2711478ed1567bc691d0f9651166cb, >=560746eb79d3124a278452c8dd968682b521cc82 <aaabefc79b0ff0018e8e3832169bbe359d0551fc, >=560746eb79d3124a278452c8dd968682b521cc82 <e48754da403f61a347d2198fd8b50111319b3a52, >=560746eb79d3124a278452c8dd968682b521cc82 <f66341404d6ee3f5d451cc97c2f2c5b771e48d25 | 1875de656370c89b99a150d220df876288ee0344, 5d476bb76b7d72d8b7ed04a9c614900b097e3af7, 9504c8b6644f3c8799206c2e2840260bd416f341, a1b0b91c663be67072a76d76d980577a160ce694, aa910d9d4c2711478ed1567bc691d0f9651166cb, aaabefc79b0ff0018e8e3832169bbe359d0551fc, e48754da403f61a347d2198fd8b50111319b3a52, f66341404d6ee3f5d451cc97c2f2c5b771e48d25 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket