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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 90a18c512884adb49ddc2fb30e94594169aae808, < 63ee429780a5d43b5b4406c6128109b0f47cf2f1; >= 90a18c512884adb49ddc2fb30e94594169aae808, < 7a648d598cb8e8c62af3f0e020a25820a3f3a9a7 |
| Linux | Linux | 6.19 |
References
Timeline
- Published
- Mar 25, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed