Description
In the Linux kernel, the following vulnerability has been resolved: soc: fsl: cpm1: tsa: Fix clock leak in tsa_of_parse_tdms() The error cleanup loop puts l1rsync_clk and l1rclk_clk a second time and never puts l1tsync_clk or l1tclk_clk, because the branches that guard the transmit clocks use the receive clock field names. Use the matching field in each branch so every clock acquired by tsa_of_parse_tdms() is released exactly once. [chleroy: Fixed the same in tsa_remove()]
Affected products and versions
Linux Linux1d4ba0b81c1cf2bfc0c55658f53809846ae9de52 – < ec692d8787dc8ea2d21716131b28a96d4c1221e5 · 1d4ba0b81c1cf2bfc0c55658f53809846ae9de52 – < bc9b557bff30d005cc92de4ba58425c461890ebc · 1d4ba0b81c1cf2bfc0c55658f53809846ae9de52 – < 7bc4323b464d134ded51822fb5b9930c8f682e46 · 1d4ba0b81c1cf2bfc0c55658f53809846ae9de52 – < c074497c77c10504dd25702d660784147ff9d4c7 · 1d4ba0b81c1cf2bfc0c55658f53809846ae9de52 – < 46201d760c48e771fa2febfcb0787f22c3b71387Fixed in: ec692d8787dc8ea2d21716131b28a96d4c1221e5 · bc9b557bff30d005cc92de4ba58425c461890ebc · 7bc4323b464d134ded51822fb5b9930c8f682e46 · c074497c77c10504dd25702d660784147ff9d4c7 · 46201d760c48e771fa2febfcb0787f22c3b71387
Linux Linux6.4Fixed in: 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1
References
- git.kernel.org/stable/c/ec692d8787dc8ea2d21716131b28a96d4c1221e5
- git.kernel.org/stable/c/bc9b557bff30d005cc92de4ba58425c461890ebc
- git.kernel.org/stable/c/7bc4323b464d134ded51822fb5b9930c8f682e46
- git.kernel.org/stable/c/c074497c77c10504dd25702d660784147ff9d4c7
- git.kernel.org/stable/c/46201d760c48e771fa2febfcb0787f22c3b71387
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.