{"id":"CVE-2026-45926","summary":"rust: pwm: Fix potential memory leak on init error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust: pwm: Fix potential memory leak on init error\n\nWhen initializing a PWM chip using pwmchip_alloc(), the allocated device\nowns an initial reference that must be released on all error paths.\n\nIf __pinned_init() were to fail, the allocated pwm_chip would currently\nleak because the error path returns without calling pwmchip_put().","modified":"2026-07-08T08:13:39.844256839Z","published":"2026-05-27T12:17:45.351Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45926.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/a2633dc243c35754a0c2270131d8a199c987c9bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/baa8b7097d9cc68ff85819cf683972a58c2ce32b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45926.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45926"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7b3dce814a15bc5d9fb6124cd945291012c4ebb9"},{"fixed":"baa8b7097d9cc68ff85819cf683972a58c2ce32b"},{"fixed":"a2633dc243c35754a0c2270131d8a199c987c9bf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45926.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45926.json"}}],"schema_version":"1.7.5"}