[PATCH 00/10] clk: Assorted bug fixes across clock core and drivers

From: Lee Jones

Date: Mon Nov 23 2026 - 11:48:48 EST


These issues were reported by Sashiko.

None of these changes have been tested on physical hardware.

Cc: "Uwe Kleine-König" <u.kleine-koenig@xxxxxxxxxxxxxx>
Cc: "Zhao, Linaro" <richard.zhao@xxxxxxxxxx>
Cc: Abel Vesa <abelvesa@xxxxxxxxxx>
Cc: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
Cc: Amit Daniel Kachhap <amit.daniel@xxxxxxxxxxx>
Cc: Anirudh Srinivasan <asrinivasan@xxxxxxxxxxxxxxxxxxx>
Cc: Brian Masney <bmasney+clk@xxxxxxxxxx>
Cc: Chander Kashyap <k.chander@xxxxxxxxxxx>
Cc: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
Cc: Dong Aisheng <aisheng.dong@xxxxxxx>
Cc: Drew Fustini <fustini@xxxxxxxxxx>
Cc: Fabio Estevam <festevam@xxxxxxxxx>
Cc: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
Cc: Frank Li <Frank.Li@xxxxxxx>
Cc: Heiko Stuebner <heiko@xxxxxxxxx>
Cc: imx@xxxxxxxxxxxxxxx
Cc: Jerome Brunet <jbrunet+clk@xxxxxxxxxxxx>
Cc: Joel Stanley <jms@xxxxxxxxxxxxxxxxxxx>
Cc: Jonathan Hunter <jonathanh@xxxxxxxxxx>
Cc: Jyri Sarha <jsarha@xxxxxx>
Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Cc: Liam Beguin <lvb@xxxxxxxxxx>
Cc: Linaro Ltd <mturquette@xxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-clk@xxxxxxxxxxxxxxx
Cc: linux-riscv@xxxxxxxxxxxxxxxxxxx
Cc: linux-samsung-soc@xxxxxxxxxxxxxxx
Cc: linux-tegra@xxxxxxxxxxxxxxx
Cc: Lubomir Rintel <lkundrak@xxxxx>
Cc: Lukasz Luba <lukasz.luba@xxxxxxx>
Cc: Marian Mihailescu <mihailescu2m@xxxxxxxxx>
Cc: Maxime Coquelin <maxime.coquelin@xxxxxx>
Cc: Mike Looijmans <mike.looijmans@xxxxxxxx>
Cc: Peng Fan <peng.fan@xxxxxxx>
Cc: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
Cc: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx>
Cc: Peter Griffin <peter.griffin@xxxxxxxxxx>
Cc: Prashant Gaikwad <pgaikwad@xxxxxxxxxx>
Cc: Rosen Penev <rosenp@xxxxxxxxx>
Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Cc: Sergej Sawazki <ce3a@xxxxxx>
Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
Cc: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
Cc: Thierry Reding <thierry.reding@xxxxxxxxxx>
Cc: Thomas Abraham <thomas.ab@xxxxxxxxxxx>
Cc: Tomasz Figa <t.figa@xxxxxxxxxxx>

Lee Jones (10):
clk: imx: imx8qxp-lpcg: Prevent stack overflow when parsing clocks
clk: lmk04832: Validate child reg index in lmk04832_probe()
clk: tegra: bpmp: Bound num_parents by MRQ_CLK_MAX_PARENTS
clk: composite: Initialise sub-hw pointers in determine_rate()
clk: divider: Avoid division by zero in _div_round_closest()
clk: gpio: Reject gate clocks with multiple parents
clk: samsung: exynos5420: Terminate PLL rate tables with sentinels
clk: tenstorrent: Poll atomically in atlantis_clk_pll_enable()
clk: cdce925: Use devm_of_clk_add_hw_provider() to avoid UAF on unbind
clk: mmp: audio: Use devm_of_clk_add_hw_provider() to prevent UAF

drivers/clk/clk-cdce925.c | 4 ++--
drivers/clk/clk-composite.c | 2 ++
drivers/clk/clk-divider.c | 3 +++
drivers/clk/clk-gpio.c | 3 +++
drivers/clk/clk-lmk04832.c | 10 ++++++++--
drivers/clk/imx/clk-imx8qxp-lpcg.c | 4 ++++
drivers/clk/mmp/clk-audio.c | 4 ++--
drivers/clk/samsung/clk-exynos5420.c | 4 ++++
drivers/clk/tegra/clk-bpmp.c | 14 +++++++-------
drivers/clk/tenstorrent/atlantis-prcm.c | 9 +++++----
10 files changed, 40 insertions(+), 17 deletions(-)

--
2.56.1.750.gf70dc682cf-goog