CVE-2026-43196: soc: ti: pruss: Fix double free in pruss_clk_mux_setup()
From: Greg Kroah-Hartman <[email protected]>
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().
The Linux kernel CVE team has assigned CVE-2026-43196 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 5.10.252 with commit dbda01bf2dfe5af33163e1e5fca1b82b619c2803 Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 5.15.202 with commit 24c40076e3bc3d73c839c886d6bda1da6c4d9b93 Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 6.1.165 with commit 818cf66d91c8ef09b01664a12d5f4ea786d64396 Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 6.6.128 with commit e113339cc7d23be4948891f3a702e9dce5b47035 Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 6.12.75 with commit 69aa67c1e22d13e9aad4b08c86304ad8e743dcab Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 6.18.16 with commit b7db9953c2f8da37de498198623b05b46f8e2ca0 Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 6.19.6 with commit 04dbbb18cc9c8795c9ff47d8994bc03ebfef9d68 Issue introduced in 5.10 with commit ba59c9b43c86b2c2396acac94e41d946cbaec9fe and fixed in 7.0 with commit 80db65d4acfb9ff12d00172aed39ea8b98261aad
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43196
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/soc/ti/pruss.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
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