Re: [PATCH v4 1/3] drm/sched: cache the timeline name to fix a use-after-free
From: Jonghyuk Kim(MalHyuk)
Date: Fri Sep 04 2026 - 05:19:24 EST
On Fri, 2026-09-04 at 10:39 +0200, Philipp Stanner wrote:
> Please wait a bit until we discussed it for a bit.
Understood. No respin from me until you and Christian have settled the
direction.
> Do you generate part of your mails with an LLM? It seems to be a huge
> corpus for 11min of time between receiving and answer
Yes, I draft them with LLM assistance. I should have said so up front,
sorry. What I do not delegate is the checking: I verify the claims against
the tree before sending, and I am answerable for whatever goes out under my
name. The bug report itself came out of my own KASAN testing.
Your point about the volume is fair, and there is a concrete example of why
you are right to push back. In the v4 commit message I asserted that "every
in-tree driver passes a string literal". That is wrong: panthor kasprintf()s
the name (panthor_sched.c:3591) and kfree()s it in group_free_queue(). So
Christian's objection to caching holds for an in-tree driver today, not just
in theory, and I should have caught that before sending rather than after.
I will keep the mails shorter and slower.
Tvrtko, thanks for the quick answer on the tracepoints - the comment makes it
clear those call sites are fine, so I will drop that point.
Jonghyuk