From: Krzysztof Kozlowski <krzk@kernel.org>
To: Myeonghun Pak <mhun512@gmail.com>,
thierry.reding@kernel.org, jonathanh@nvidia.com
Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org,
ae878000@gmail.com
Subject: Re: [PATCH] memory: tegra: Shut down Tegra210 EMC timers before teardown
Date: Mon, 12 Oct 2026 07:57:58 +0200 [thread overview]
Message-ID: <6bb8cb0b-e614-4d7b-9b61-fdea34c2f793@kernel.org> (raw)
In-Reply-To: <20261011160034.93d011b386c2-1-mhun512@gmail.com>
On 11/10/2026 22:00, Myeonghun Pak wrote:
> The training and refresh timers can outlive the EMC state on removal
> or probe failure after clock attachment, causing use-after-free.
>
> Shut down both timers before detaching the clock provider and releasing
> the timing tables to wait for callbacks and prevent rearming. Initialize
> them before clock attachment, since set_rate() can start training.
>
> This issue was found by static analysis.
You are expected to name the tool or be silent. Reading code by LLM is
not static analysis. It's statistical guessing, nothing to do with
static analysis.
Best regards,
Krzysztof
prev parent reply other threads:[~2026-10-12 5:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-11 20:00 Myeonghun Pak
2026-10-12 5:57 ` Krzysztof Kozlowski [this message]
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=6bb8cb0b-e614-4d7b-9b61-fdea34c2f793@kernel.org \
--to=krzk@kernel.org \
--cc=ae878000@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mhun512@gmail.com \
--cc=thierry.reding@kernel.org \
/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®