[PATCH 00/10] clk: Fix OOB writes, UAFs, ERR_PTR dereferences, and rate-calc bugs (batch 2)
Lee Jones
lee at kernel.org
Fri Nov 27 11:25:24 PST 2026
These issues were reported by Sashiko.
This is batch 2 of Common Clock Framework fixes, based on clk/clk-next.
It addresses output array OOB writes in ti/fapll, ERR_PTR dereferences
and double-unregister in tegra/bpmp, notifier UAFs and global array
mutation in starfive/jh7110 and rockchip/cpu, rate and parent lookup
bugs in rp1, and allocation error handling in sci-clk and icst.
Cc: "Thomas Richard (TI)" <thomas.richard at bootlin.com>
Cc: Andrea della Porta <andrea.porta at suse.com>
Cc: Brian Masney <bmasney+clk at redhat.com>
Cc: Conor Dooley <conor.dooley at microchip.com>
Cc: Dominique Belhachemi <db at domibel.de>
Cc: Doug Anderson <dianders at chromium.org>
Cc: Emil Renner Berthing <kernel at esmil.dk>
Cc: Florian Fainelli <florian.fainelli at broadcom.com>
Cc: Hal Feng <hal.feng at starfivetech.com>
Cc: Heiko Stuebner <heiko at sntech.de>
Cc: Jerome Brunet <jbrunet+clk at baylibre.com>
Cc: Jonathan Hunter <jonathanh at nvidia.com>
Cc: Joshua Peisach <jpeisach at ubuntu.com>
Cc: Linus Walleij <linusw at kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-clk at vger.kernel.org
Cc: linux-omap at vger.kernel.org
Cc: linux-rockchip at lists.infradead.org
Cc: linux-tegra at vger.kernel.org
Cc: Michael Turquette <mturquette at linaro.org>
Cc: Michal Wilczynski <m.wilczynski at samsung.com>
Cc: Naushir Patuck <naush at raspberrypi.com>
Cc: Nishanth Menon <nm at ti.com>
Cc: Palmer Dabbelt <palmer at rivosinc.com>
Cc: Prashant Gaikwad <pgaikwad at nvidia.com>
Cc: Rob Herring <robh at kernel.org>
Cc: Rosen Penev <rosenp at gmail.com>
Cc: Santosh Shilimkar <ssantosh at kernel.org>
Cc: Stephen Boyd <sboyd at kernel.org>
Cc: Tero Kristo <kristo at kernel.org>
Cc: Thierry Reding <thierry.reding at kernel.org>
Cc: Thomas Abraham <thomas.ab at samsung.com>
Cc: Timo Alho <talho at nvidia.com>
Cc: Tony Lindgren <tony at atomide.com>
Cc: Wentao Liang <vulab at iscas.ac.cn>
Cc: Xingyu Wu <xingyu.wu at starfivetech.com>
Lee Jones (10):
clk: ti: fapll: Fix output clock array allocation and bounds check
clk: tegra: bpmp: Drop manual clock unregister on provider failure
clk: starfive: jh7110-sys: Use devres for PLL0 clock and notifier
clk: starfive: jh7110: Duplicate top clock bulk arrays per device
clk: rockchip: cpu: Allocate rate_table before registering notifier
clk: tegra: bpmp: Skip ERR_PTR entries in tegra_bpmp_clk_of_xlate()
clk: rp1: Propagate determine_rate() return value for PLL dividers
clk: rp1: Reference secondary PLL divider clk_hw in parent tables
clk: keystone: sci-clk: Check allocation failure before copying clock
array
clk: versatile: icst: Check kasprintf() and put parent node on error
drivers/clk/clk-rp1.c | 32 +++++++++----------
drivers/clk/keystone/sci-clk.c | 8 +++--
drivers/clk/rockchip/clk-cpu.c | 26 +++++++--------
.../clk/starfive/clk-starfive-jh7110-isp.c | 9 ++++--
.../clk/starfive/clk-starfive-jh7110-sys.c | 5 +--
.../clk/starfive/clk-starfive-jh7110-vout.c | 9 ++++--
drivers/clk/tegra/clk-bpmp.c | 14 +-------
drivers/clk/ti/fapll.c | 13 +++++---
drivers/clk/versatile/clk-icst.c | 5 +++
9 files changed, 66 insertions(+), 55 deletions(-)
--
2.56.1.839.g22a8290db9-goog
More information about the Linux-rockchip
mailing list