7.8high
soc: ti: pruss: Fix double free in pruss_clk_mux_setup()
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: soc: ti: pruss: Fix double free in pruss_clk_mux_setup() In the pruss_clk_mux_setup(), the devm_add_action_or_reset() indirectly calls pruss_of_free_clk_provider(), which calls of_node_put(clk_mux_np) on the error path. However, after the devm_add_action_or_reset() returns, the of_node_put(clk_mux_np) is called again, causing a double free. Fix by returning directly, to avoid the duplicate of_node_put().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before dbda01bf2dfe5af33163e1e5fca1b82b619c2803, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 24c40076e3bc3d73c839c886d6bda1da6c4d9b93, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 818cf66d91c8ef09b01664a12d5f4ea786d64396, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before e113339cc7d23be4948891f3a702e9dce5b47035, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 69aa67c1e22d13e9aad4b08c86304ad8e743dcab, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before b7db9953c2f8da37de498198623b05b46f8e2ca0, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 04dbbb18cc9c8795c9ff47d8994bc03ebfef9d68, from ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 80db65d4acfb9ff12d00172aed39ea8b98261aad and 1 more Not affected: before 5.10, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.10 before 5.10.252, from 5.11 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: soc: ti: pruss: Fix double free in pruss_clk_mux_setup() In the pruss_clk_mux_setup(), the devm_add_action_or_reset() indirectly calls pruss_of_free_clk_provider(), which calls of_node_put(clk_mux_np) on the error path. However, after the devm_add_action_or_reset() returns, the of_node_put(clk_mux_np) is called again, causing a double free. Fix by returning directly, to avoid the duplicate of_node_put().
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: soc: ti: pruss: Arreglo de doble liberación en pruss_clk_mux_setup() En pruss_clk_mux_setup(), devm_add_action_or_reset() llama indirectamente a pruss_of_free_clk_provider(), que llama a of_node_put(clk_mux_np) en la ruta de error. Sin embargo, después de que devm_add_action_or_reset() retorna, of_node_put(clk_mux_np) es llamada de nuevo, causando una doble liberación. Se corrige retornando directamente, para evitar la llamada duplicada a of_node_put().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43196 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43196 changed 2026-11-11 | Public domain |