CVE-2026-23337
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.
- Score
- CVSS 3.1 5.5 Medium
- Status
- Analyzed - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published
- 2026-03-25
- Last modified
- 2026-05-11
- Weaknesses
- CWE-401
Affected products
References
- https://git.kernel.org/stable/c/63ee429780a5d43b5b4406c6128109b0f47cf2f1
- https://git.kernel.org/stable/c/7a648d598cb8e8c62af3f0e020a25820a3f3a9a7