Bug 2482049 (CVE-2026-45926) - CVE-2026-45926 kernel: rust: pwm: Fix potential memory leak on init error
Summary: CVE-2026-45926 kernel: rust: pwm: Fix potential memory leak on init error
Keywords:
Status: NEW
Alias: CVE-2026-45926
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:08 UTC by OSIDB Bzimport
Modified: 2026-05-28 01:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:08:48 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.