pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 63ee429780a5d43b5b4406c6128109b0f47cf2f1 and Kernel 7a648d598cb8e8c62af3f0e020a25820a3f3a9a7.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=90a18c512884adb49ddc2fb30e94594169aae808 <63ee429780a5d43b5b4406c6128109b0f47cf2f1, >=90a18c512884adb49ddc2fb30e94594169aae808 <7a648d598cb8e8c62af3f0e020a25820a3f3a9a7 | 63ee429780a5d43b5b4406c6128109b0f47cf2f1, 7a648d598cb8e8c62af3f0e020a25820a3f3a9a7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket