clk: Fix OOB writes, UAFs, ERR_PTR dereferences, and rate-calc bugs (batch 2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] clk: Fix OOB writes, UAFs, ERR_PTR dereferences, and rate-calc bugs (batch 2)
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.
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(-)
Signature · 1 line
2.56.1.839.g22a8290db9-goog