From: Willy Tarreau <w@1wt.eu>
To: Sasha Levin <sashal@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>,
Linus Torvalds <torvalds@linux-foundation.org>,
Leon Romanovsky <leon@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Mark Brown <broonie@kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Borislav Petkov <bp@alien8.de>, Marc Zyngier <maz@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Hans de Goede <hansg@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
Jonathan Cameron <jic23@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Theodore Ts'o" <tytso@mit.edu>,
David Hildenbrand <david@kernel.org>,
Security Officers <security@kernel.org>,
workflows@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] docs: security-bugs: ask AI-assisted fixes for their cover letter
Date: Fri, 27 Nov 2026 06:29:04 +0100 [thread overview]
Message-ID: <awkVIG1fGfgGX-nr@1wt.eu> (raw)
In-Reply-To: <20261126171926.2766137-3-sashal@kernel.org>
On Thu, Nov 26, 2026 at 12:19:25PM -0500, Sasha Levin wrote:
> coding-assistants.rst asks for a cover letter with the evidence behind
> every patch an AI assistant prepares. A fix for a security bug needs
> that evidence as much as any other fix, so name the cover letter in the
> summary of that procedure and in the list of recipients.
>
> The cover letter goes where the patch goes, which usually includes a
> public list, while the reproducer goes to the maintainers only. Say
> that the reproducer and the steps to trigger the problem stay out of
> the cover letter, which only mentions that a reproducer exists.
>
> "Length" asks for short reports. With the complete output in the cover
> letter the report has no reason to carry it.
>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> ---
> Documentation/process/security-bugs.rst | 17 +++++++++++------
> 1 file changed, 11 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/process/security-bugs.rst b/Documentation/process/security-bugs.rst
> index c7dfecc87764c..0423a814c6a1e 100644
> --- a/Documentation/process/security-bugs.rst
> +++ b/Documentation/process/security-bugs.rst
> @@ -233,8 +233,8 @@ At the very least, when using an AI assistant to find and report bugs, make the
> assistant read this file and threat-model.rst before proceeding, and have it
> follow the procedure described in coding-assistants.rst: work on an up-to-date
> mainline tree and note the commit ID, verify the bug is real, write a fix,
> -build it warning-free and checkpatch-clean, commit it with a Fixes tag, and
> -identify the maintainers with get_maintainer.pl.
> +build it warning-free and checkpatch-clean, commit it with a Fixes tag,
> +identify the maintainers with get_maintainer.pl, and write the cover letter.
>
> On top of that procedure, the AI assistant **MUST**:
>
> @@ -244,10 +244,15 @@ On top of that procedure, the AI assistant **MUST**:
> the description of the problem, the reproducer or its status, and the
> triggering conditions.
> 2. Start the report with a temporary section listing the recipients' addresses
> - (maintainers+list for the patch, maintainers only for the report and
> - reproducer), and with instructions reminding the reporter to check that
> - their email client is properly setup (see email-clients.rst), and leave it
> - to the reporter to remove that temporary section.
> + (maintainers+list for the patch and its cover letter, maintainers only for
> + the report and reproducer), and with instructions reminding the reporter to
> + check that their email client is properly setup (see email-clients.rst), and
> + leave it to the reporter to remove that temporary section.
> +3. Keep the reproducer, and the steps that trigger the problem, out of the
> + cover letter that coding-assistants.rst asks for. The cover letter goes
> + where the patch goes, which usually includes a public list, so it only says
> + that a reproducer exists. With the complete output in the cover letter, the
> + report itself can stay short.
>
> A more detailed process is covered at https://github.com/masoncl/kres.git.
Good points above. And the cover letter might help for one case we've seen
a few times: among the few reporters who follow the rules (patch to the list,
report+repro private), a few forgot to mention the patch had been posted
publicly so we asked for the patch again. If a maintainer (or security team)
receives a 2/2 message, it's more obvious that 1/2 was posted somewhere else.
Reviewed-by: Willy Tarreau <w@1wt.eu>
Willy
prev parent reply other threads:[~2026-11-27 5:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 17:19 [PATCH 0/2] docs: ask AI-assisted patches for short changelogs and a " Sasha Levin
2026-11-26 17:19 ` [PATCH 1/2] docs: coding-assistants: ask " Sasha Levin
2026-11-27 1:34 ` Krzysztof Kozlowski
2026-11-27 1:49 ` Borislav Petkov
2026-11-27 2:19 ` Sasha Levin
2026-11-27 5:23 ` Willy Tarreau
2026-11-26 17:19 ` [PATCH 2/2] docs: security-bugs: ask AI-assisted fixes for their " Sasha Levin
2026-11-27 5:29 ` Willy Tarreau [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=awkVIG1fGfgGX-nr@1wt.eu \
--to=w@1wt.eu \
--cc=akpm@linux-foundation.org \
--cc=andrew@lunn.ch \
--cc=bp@alien8.de \
--cc=broonie@kernel.org \
--cc=corbet@lwn.net \
--cc=david@kernel.org \
--cc=edumazet@google.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=hansg@kernel.org \
--cc=jic23@kernel.org \
--cc=krzk@kernel.org \
--cc=leon@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=rdunlap@infradead.org \
--cc=sashal@kernel.org \
--cc=security@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
--cc=workflows@vger.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®