CVE-2026-45926
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().
- Score
- CVSS 3.1 5.5 Medium
- Status
- Analyzed - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published
- 2026-05-27
- Last modified
- 2026-05-27
- Weaknesses
- CWE-401
Affected products
References
- https://git.kernel.org/stable/c/a2633dc243c35754a0c2270131d8a199c987c9bf
- https://git.kernel.org/stable/c/baa8b7097d9cc68ff85819cf683972a58c2ce32b