rust: pwm: Fix potential memory leak on init error
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a2633dc243c35754a0c2270131d8a199c987c9bf and Kernel baa8b7097d9cc68ff85819cf683972a58c2ce32b.
In the Linux kernel, the following vulnerability has been resolved: rust: pwm: Fix potential memory leak on init error When initializing a PWM chip using pwmchip_alloc(), the allocated device owns an initial reference that must be released on all error paths. If __pinned_init() were to fail, the allocated pwm_chip would currently leak because the error path returns without calling pwmchip_put().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=7b3dce814a15bc5d9fb6124cd945291012c4ebb9 <a2633dc243c35754a0c2270131d8a199c987c9bf, >=7b3dce814a15bc5d9fb6124cd945291012c4ebb9 <baa8b7097d9cc68ff85819cf683972a58c2ce32b | a2633dc243c35754a0c2270131d8a199c987c9bf, baa8b7097d9cc68ff85819cf683972a58c2ce32b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket