From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Lee Jones <lee@kernel.org>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>,
Lars Persson <lars.persson@axis.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Peter Griffin <peter.griffin@linaro.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
"SeonGu Kang" <ksk4725@coasia.com>,
Ravi Patel <ravi.patel@samsung.com>,
Varada Pavani <v.pavani@samsung.com>,
Hakyeong Kim <hgkim05@coasia.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-samsung-soc@vger.kernel.org>, <linux-arm-kernel@axis.com>,
<linux-clk@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<stable@vger.kernel.org>
Subject: Re: [PATCH 03/12] clk: samsung: artpec8: Terminate PLL rate table with sentinel
Date: Mon, 30 Nov 2026 15:38:32 +0100 [thread overview]
Message-ID: <aw2KaLEpGqxEpBzb@axis.com> (raw)
In-Reply-To: <20261127180416.3277544-4-lee@kernel.org>
On Fri, Nov 27, 2026 at 06:03:11PM +0000, Lee Jones wrote
> [Some people who received this message don't often get email from lee@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> _samsung_clk_register_pll() sizes each PLL rate table by scanning until
> it encounters an entry with .rate == 0, then copies the counted entries
> into pll->rate_table. However, artpec8_pll_audio_rates omits a
> terminating zero sentinel, causing out-of-bounds reads into adjacent
> read-only data and populating pll->rate_table with bogus entries.
>
> Append a sentinel entry to artpec8_pll_audio_rates.
>
> Fixes: bd5336e3f704 ("clk: samsung: artpec-8: Add initial clock support for ARTPEC-8 SoC")
> Cc: stable@vger.kernel.org
> Signed-off-by: Lee Jones <lee@kernel.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
next prev parent reply other threads:[~2026-11-30 14:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 18:03 [PATCH 00/12] clk: samsung: Fix power-domain, bus clock, and missing PLL sentinel bugs Lee Jones
2026-11-27 18:03 ` [PATCH 01/12] clk: samsung: exynos5-subcmu: Detach power domain on add failure Lee Jones
2026-11-27 18:03 ` [PATCH 02/12] clk: samsung: exynos-arm64: Do not store ERR_PTR in data->clk Lee Jones
2026-11-27 18:03 ` [PATCH 03/12] clk: samsung: artpec8: Terminate PLL rate table with sentinel Lee Jones
2026-11-30 14:38 ` Jesper Nilsson [this message]
2026-11-27 18:03 ` [PATCH 04/12] clk: samsung: artpec9: Terminate PLL rate tables with sentinels Lee Jones
2026-11-30 14:38 ` Jesper Nilsson
2026-11-27 18:03 ` [PATCH 05/12] clk: samsung: exynos5250: Terminate PLL rate table with sentinel Lee Jones
2026-11-27 18:03 ` [PATCH 06/12] clk: samsung: exynos5260: Terminate PLL rate tables with sentinels Lee Jones
2026-11-27 18:03 ` [PATCH 07/12] clk: samsung: exynos5410: Terminate PLL rate table with sentinel Lee Jones
2026-11-27 18:03 ` [PATCH 08/12] clk: samsung: exynos7885: " Lee Jones
2026-11-27 18:03 ` [PATCH 09/12] clk: samsung: exynos850: " Lee Jones
2026-11-27 18:03 ` [PATCH 10/12] clk: samsung: exynos8895: Terminate PLL rate tables with sentinels Lee Jones
2026-11-28 13:38 ` ivaylo ivanov
2026-11-27 18:03 ` [PATCH 11/12] clk: samsung: exynosautov920: Terminate PLL rate table with sentinel Lee Jones
2026-11-27 18:03 ` [PATCH 12/12] clk: samsung: fsd: Terminate PLL rate tables with sentinels 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=aw2KaLEpGqxEpBzb@axis.com \
--to=jesper.nilsson@axis.com \
--cc=alim.akhtar@samsung.com \
--cc=bmasney+clk@redhat.com \
--cc=cw00.choi@samsung.com \
--cc=hgkim05@coasia.com \
--cc=jbrunet+clk@baylibre.com \
--cc=krzk@kernel.org \
--cc=ksk4725@coasia.com \
--cc=lars.persson@axis.com \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@axis.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=ravi.patel@samsung.com \
--cc=s.nawrocki@samsung.com \
--cc=sboyd@kernel.org \
--cc=stable@vger.kernel.org \
--cc=v.pavani@samsung.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
all inboxes | Powered by JetHome®