What’s Vulnerable › Vulnerabilities
CVE-2026-23337: pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-25 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 6.19.1 before 6.19.7; 6.19, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+2) — fixed in 6.19.7
How to fix
Upgrade to a fixed version: Linux kernel 6.19.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/63ee429780a5d43b5b4406c6128109b0f47cf2f1
- https://git.kernel.org/stable/c/7a648d598cb8e8c62af3f0e020a25820a3f3a9a7
Get alerted when CVE-2026-23337 or the next vulnerability affects your stack