From: Lee Jones <lee@kernel.org>
To: lee@kernel.org, Heiko Stuebner <heiko@sntech.de>,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org
Cc: linux-kernel@vger.kernel.org,
"Thomas Richard (TI)" <thomas.richard@bootlin.com>,
Andrea della Porta <andrea.porta@suse.com>,
Brian Masney <bmasney+clk@redhat.com>,
Conor Dooley <conor.dooley@microchip.com>,
Dominique Belhachemi <db@domibel.de>,
Doug Anderson <dianders@chromium.org>,
Emil Renner Berthing <kernel@esmil.dk>,
Florian Fainelli <florian.fainelli@broadcom.com>,
Hal Feng <hal.feng@starfivetech.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Joshua Peisach <jpeisach@ubuntu.com>,
Linus Walleij <linusw@kernel.org>,
linux-clk@vger.kernel.org, linux-omap@vger.kernel.org,
linux-tegra@vger.kernel.org,
Michael Turquette <mturquette@linaro.org>,
Michal Wilczynski <m.wilczynski@samsung.com>,
Naushir Patuck <naush@raspberrypi.com>,
Nishanth Menon <nm@ti.com>, Palmer Dabbelt <palmer@rivosinc.com>,
Prashant Gaikwad <pgaikwad@nvidia.com>,
Rob Herring <robh@kernel.org>, Rosen Penev <rosenp@gmail.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
Stephen Boyd <sboyd@kernel.org>, Tero Kristo <kristo@kernel.org>,
Thierry Reding <thierry.reding@kernel.org>,
Thomas Abraham <thomas.ab@samsung.com>,
Timo Alho <talho@nvidia.com>, Tony Lindgren <tony@atomide.com>,
Wentao Liang <vulab@iscas.ac.cn>,
Xingyu Wu <xingyu.wu@starfivetech.com>
Subject: [PATCH 00/10] clk: Fix OOB writes, UAFs, ERR_PTR dereferences, and rate-calc bugs (batch 2)
Date: Fri, 27 Nov 2026 19:25:24 +0000 [thread overview]
Message-ID: <20261127192620.3443537-1-lee@kernel.org> (raw)
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@bootlin.com>
Cc: Andrea della Porta <andrea.porta@suse.com>
Cc: Brian Masney <bmasney+clk@redhat.com>
Cc: Conor Dooley <conor.dooley@microchip.com>
Cc: Dominique Belhachemi <db@domibel.de>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Emil Renner Berthing <kernel@esmil.dk>
Cc: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: Hal Feng <hal.feng@starfivetech.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Jerome Brunet <jbrunet+clk@baylibre.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: Joshua Peisach <jpeisach@ubuntu.com>
Cc: Linus Walleij <linusw@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Michael Turquette <mturquette@linaro.org>
Cc: Michal Wilczynski <m.wilczynski@samsung.com>
Cc: Naushir Patuck <naush@raspberrypi.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Rosen Penev <rosenp@gmail.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Cc: Thierry Reding <thierry.reding@kernel.org>
Cc: Thomas Abraham <thomas.ab@samsung.com>
Cc: Timo Alho <talho@nvidia.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Wentao Liang <vulab@iscas.ac.cn>
Cc: Xingyu Wu <xingyu.wu@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
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next reply other threads:[~2026-11-27 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 19:25 Lee Jones [this message]
2026-11-27 19:25 ` [PATCH 05/10] clk: rockchip: cpu: Allocate rate_table before registering notifier Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261127192620.3443537-1-lee@kernel.org \
--to=lee@kernel.org \
--cc=andrea.porta@suse.com \
--cc=bmasney+clk@redhat.com \
--cc=conor.dooley@microchip.com \
--cc=db@domibel.de \
--cc=dianders@chromium.org \
--cc=florian.fainelli@broadcom.com \
--cc=hal.feng@starfivetech.com \
--cc=heiko@sntech.de \
--cc=jbrunet+clk@baylibre.com \
--cc=jonathanh@nvidia.com \
--cc=jpeisach@ubuntu.com \
--cc=kernel@esmil.dk \
--cc=kristo@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-tegra@vger.kernel.org \
--cc=m.wilczynski@samsung.com \
--cc=mturquette@linaro.org \
--cc=naush@raspberrypi.com \
--cc=nm@ti.com \
--cc=palmer@rivosinc.com \
--cc=pgaikwad@nvidia.com \
--cc=robh@kernel.org \
--cc=rosenp@gmail.com \
--cc=sboyd@kernel.org \
--cc=ssantosh@kernel.org \
--cc=talho@nvidia.com \
--cc=thierry.reding@kernel.org \
--cc=thomas.ab@samsung.com \
--cc=thomas.richard@bootlin.com \
--cc=tony@atomide.com \
--cc=vulab@iscas.ac.cn \
--cc=xingyu.wu@starfivetech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox