CVE-2026-45926

rust: pwm: Fix potential memory leak on init error

published May 27, 2026

CVSS
—
EPSS
0%
Percentile
3.3
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00143 · 3.3th percentile
Published
2026-05-27T12:17Z
EPSS history
Timeline
  • 27 MAY 12:17Z
    rust: pwm: Fix potential memory leak on init error
    cvelistv5