Re: [PATCH v2] docs: submitting-patches: ask bug fixes for their user-visible impact
From: Leon Romanovsky
Date: Wed Nov 25 2026 - 07:57:55 EST
On Sun, Nov 22, 2026 at 10:50:22AM +0200, Leon Romanovsky wrote:
> On Thu, Nov 19, 2026 at 02:01:13PM +0100, Willy Tarreau wrote:
> > On Thu, Nov 19, 2026 at 02:59:47PM +0200, Leon Romanovsky wrote:
> > > On Thu, Nov 19, 2026 at 01:34:45PM +0100, Willy Tarreau wrote:
> > > > On Tue, Nov 17, 2026 at 05:27:21PM +0200, Leon Romanovsky wrote:
> > > > > > > Since you're already making changes in that area, could you add a sentence
> > > > > > > asking reporters to provide the full dmesg stack trace?
> > > > > >
> > > > > > In this doc, we already ask them not to [1] :)
> > > > >
> > > > > This is really bad. You assumed they would trim the logs correctly, and I,
> > > > > as the recipient was expected to trust that they were accurate. They are not.
> > > > >
> > > > > They trim everything, which makes these logs useless to me. As I said, they
> > > > > include AI-generated reports, cases with reproductions that are impossible
> > > > > with upstream code, and reports for completely out-of-tree code. Everything
> > > > > like that was visible in original dump stack and it is lost now.
> > > > >
> > > > > >
> > > > > > > Many AI-generated patches reduce it to one or two lines, which gives no
> > > > > > > indication of whether the report is genuine or fabricated. Early in the AI
> > > > > > > era, I saw some completely fabricated stack traces.
> > > > > >
> > > > > > Is it still an issue?
> > > > >
> > > > > I don't know about faked, but useless yes, especially in the cases where
> > > > > in-kernel API is involved.
> > > >
> > > > The situation completely changed over the last year. LLMs that would
> > > > hallucinate bugs and dmesg in single-turn conversations have been
> > > > replaced with agents/harnesses calling shell commands and able to
> > > > capture contents without inventing them. I agree that we should ask
> > > > them to capture such dmesg which nowadays have no reason to be faked
> > > > anymore.
> > >
> > > The meaning of "faked" has shifted. As you said, it previously referred to a
> > > completely imaginary call stack, now it refers to a custom module that abuses
> > > the in-kernel API. The latter is still "faked" because it cannot be done with
> > > the current code and unlikely will be possible in the future.
> >
> > Ah OK we were indeed not speaking about the same cases.
>
> Over the weekend, I realized that after this wave of incorrect and deliberate
> misuse of kernel APIs, we’ll see the next level - misuse of internal driver
> APIs as well.
>
> I’m referring to the various EXPORT_SYMBOL()s in large, complex drivers
> such as mlx5, bnxt, and Intel’s drivers.
>
> The idea that “let’s trim the dmesg stack” is going to be a disaster for
> everyone involved.
And here comes example of this:
https://lore.kernel.org/all/20261111105346.3220427-1-lee@xxxxxxxxxxx/
with very brief, trimmed version of log:
BUG: KASAN: slab-use-after-free in _raw_spin_lock_irqsave
complete
rsc_event_notifier
and here comes full log:
https://lore.kernel.org/all/20261122103855.51859-1-lee@xxxxxxxxxxx/
with completely faked situation in the driver:
[ 13.847526] mlx5_dct_repro: loading out-of-tree module taints kernel.
[ 13.915884] MLX5-DCT-REPRO: forcing DRAIN_DCT to fail with command interface down
[ 13.916736] MLX5-DCT-REPRO: destroy failed as required: -67
[ 13.916817] MLX5-DCT-REPRO: failed destroy retained DCT ffff88800b112c58 in dct_xa
[ 13.916862] MLX5-DCT-REPRO: mimicking DEVX create unwind kfree(ffff88800b112c00)
[ 13.916924] MLX5-DCT-REPRO: delivering DCT_DRAINED event through actual notifier
mlx5_dct_repro is an out-of-tree module that has nothing in common with the
real hardware device or the flows it handles.
Thanks
>
> Thanks
>
> >
> > Willy
>