CVE-2026-23337
publishedpinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux90a18c512884adb49ddc2fb30e94594169aae808 to < 63ee429780a5d43b5b4406c6128109b0f47cf2f1 · 90a18c512884adb49ddc2fb30e94594169aae808 to < 7a648d598cb8e8c62af3f0e020a25820a3f3a9a7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.7 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: pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config() In pinconf_generic_parse_dt_config(), if parse_dt_cfg() fails, it returns directly. This bypasses the cleanup logic and results in a memory leak of the cfg buffer. Fix this by jumping to the out label on failure, ensuring kfree(cfg) is called before returning.
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 | 90a18c512884adb49ddc2fb30e94594169aae808 to < 63ee429780a5d43b5b4406c6128109b0f47cf2f1 (affected · git)90a18c512884adb49ddc2fb30e94594169aae808 to < 7a648d598cb8e8c62af3f0e020a25820a3f3a9a7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.7 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
pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0db304ca9b9567c48d0b92a540a289de2e8922c079b1b7e9373d2252ccd57687
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record