Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before dbda01bf2dfe5af33163e1e5fca1b82b619c2803; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 24c40076e3bc3d73c839c886d6bda1da6c4d9b93; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 818cf66d91c8ef09b01664a12d5f4ea786d64396; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before e113339cc7d23be4948891f3a702e9dce5b47035; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 69aa67c1e22d13e9aad4b08c86304ad8e743dcab; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before b7db9953c2f8da37de498198623b05b46f8e2ca0; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 04dbbb18cc9c8795c9ff47d8994bc03ebfef9d68; affected ba59c9b43c86b2c2396acac94e41d946cbaec9fe before 80db65d4acfb9ff12d00172aed39ea8b98261aad |
| Linux / Linux | affected 5.10; unaffected 0 before 5.10; unaffected 5.10.252 through 5.10.*; unaffected 5.15.202 through 5.15.*; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/dbda01bf2dfe5af33163e1e5fca1b82b619c2803
- https://git.kernel.org/stable/c/24c40076e3bc3d73c839c886d6bda1da6c4d9b93
- https://git.kernel.org/stable/c/818cf66d91c8ef09b01664a12d5f4ea786d64396
- https://git.kernel.org/stable/c/e113339cc7d23be4948891f3a702e9dce5b47035
- https://git.kernel.org/stable/c/69aa67c1e22d13e9aad4b08c86304ad8e743dcab
- https://git.kernel.org/stable/c/b7db9953c2f8da37de498198623b05b46f8e2ca0
- https://git.kernel.org/stable/c/04dbbb18cc9c8795c9ff47d8994bc03ebfef9d68
- https://git.kernel.org/stable/c/80db65d4acfb9ff12d00172aed39ea8b98261aad