What’s Vulnerable › Vulnerabilities
CVE-2026-45926: rust: pwm: Fix potential memory leak on init error
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-06-25
- Weakness: CWE-401
Description
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 products
- Linux kernel: from 6.19 before 6.19.4 — fixed in 6.19.4
How to fix
Upgrade to a fixed version: Linux kernel 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/a2633dc243c35754a0c2270131d8a199c987c9bf
- https://git.kernel.org/stable/c/baa8b7097d9cc68ff85819cf683972a58c2ce32b
Get alerted when CVE-2026-45926 or the next vulnerability affects your stack