CVE-2026-45926
publishedrust: pwm: Fix potential memory leak on init error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7b3dce814a15bc5d9fb6124cd945291012c4ebb9 to < baa8b7097d9cc68ff85819cf683972a58c2ce32b · 7b3dce814a15bc5d9fb6124cd945291012c4ebb9 to < a2633dc243c35754a0c2270131d8a199c987c9bf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7b3dce814a15bc5d9fb6124cd945291012c4ebb9 to < baa8b7097d9cc68ff85819cf683972a58c2ce32b (affected · git)7b3dce814a15bc5d9fb6124cd945291012c4ebb9 to < a2633dc243c35754a0c2270131d8a199c987c9bf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
rust: pwm: Fix potential memory leak on init error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b33097a9f0d54b00d66c1968ecb615e689b221bd879010933efa435f8053d651
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record