🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
3 messages
3 total messages Started by Willy Tarreau Sat, 14 Nov 2026 19:00
[PATCH v2 06/14] docs: security-bugs: do not send archives or binary attachments
#16421
Author: Willy Tarreau
Date: Sat, 14 Nov 2026 19:00
38 lines
10001 bytes
Many reports still come with zip files or other archives attached, which
are a pain to deal with, may be blocked by filtering on some maintainers'
end, and that also encourage recipients to adopt risky practices of
opening binary files. The doc only used to say to avoid attachments
"where possible".

Let's clarify that archives, binary files and documents are never
acceptable, that large reproducers should be attached as plain text
source files, and that scripts generating the required files (e.g. file
system images) are a better solution.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/process/security-bugs.rst b/Documentation/process/security-bugs.rst
index 42b7926f3021c..38bdb2354353e 100644
--- a/Documentation/process/security-bugs.rst
+++ b/Documentation/process/security-bugs.rst
@@ -305,7 +305,11 @@ at once by the same commit, then it may be acceptable to report them at once.
 
 Please send **plain text** emails without attachments where possible.
 It is much harder to have a context-quoted discussion about a complex
-issue if all the details are hidden away in attachments.  Think of it like a
+issue if all the details are hidden away in attachments. Archives (zip, tar,
+etc.), binary files and documents (PDF, etc.) are never acceptable: when a
+reproducer is too large to be placed in the message, attach its source files
+as plain text, and provide scripts that generate the required files (e.g. file
+system images) instead of the files themselves. Think of it like a
 :doc:`regular patch submission <../process/submitting-patches>`
 (even if you don't have a patch yet): describe the problem and impact, and
 list reproduction steps, all in plain text, then provide a proposed fix as
-- 
2.52.0
Re: [PATCH v2 06/14] docs: security-bugs: do not send archives or binary attachments
#22800
Author: Bagas Sanjaya
Date: Wed, 25 Nov 2026 23:16
49 lines
12943 bytes
--Yd+Dybq0Bn8RY/CL
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 14, 2026 at 08:00:06PM +0100, Willy Tarreau wrote:
>  Please send **plain text** emails without attachments where possible.
>  It is much harder to have a context-quoted discussion about a complex
> -issue if all the details are hidden away in attachments.  Think of it li=
ke a
> +issue if all the details are hidden away in attachments. Archives (zip, =
tar,
> +etc.), binary files and documents (PDF, etc.) are never acceptable: when=
 a
> +reproducer is too large to be placed in the message, attach its source f=
iles
> +as plain text, and provide scripts that generate the required files (e.g=
=2E file
> +system images) instead of the files themselves. Think of it like a
>  :doc:`regular patch submission <../process/submitting-patches>`
>  (even if you don't have a patch yet): describe the problem and impact, a=
nd
>  list reproduction steps, all in plain text, then provide a proposed fix =
as

What if the issue can only be reproduced with specific binary files? Should=
 I
send it as e.g. ASCII-armored, OpenPGP-encrypted attachment or should I put
it somewhere else on the Internet (as privately-accessed file) and share its
link instead?

Confused...

--=20
An old man doll... just what I always wanted! - Clara

--Yd+Dybq0Bn8RY/CL
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCawdsPgAKCRD2uYlJVVFO
o5lbAQCf+HFr4dpqHo/NjE5YZQjZhBumSvZxjxGVy4Bc+rJ6OwD/dQ9wDciflsw8
W5Gcx2EYKEBwUYE42WbwBHghakXKQQc=
=0aJI
-----END PGP SIGNATURE-----

--Yd+Dybq0Bn8RY/CL--
Re: [PATCH v2 06/14] docs: security-bugs: do not send archives or binary attachments
#22900
Author: Willy Tarreau
Date: Thu, 26 Nov 2026 04:08
30 lines
9915 bytes
On Thu, Nov 26, 2026 at 06:16:14AM +0700, Bagas Sanjaya wrote:
> On Sat, Nov 14, 2026 at 08:00:06PM +0100, Willy Tarreau wrote:
> >  Please send **plain text** emails without attachments where possible.
> >  It is much harder to have a context-quoted discussion about a complex
> > -issue if all the details are hidden away in attachments.  Think of it like a
> > +issue if all the details are hidden away in attachments. Archives (zip, tar,
> > +etc.), binary files and documents (PDF, etc.) are never acceptable: when a
> > +reproducer is too large to be placed in the message, attach its source files
> > +as plain text, and provide scripts that generate the required files (e.g. file
> > +system images) instead of the files themselves. Think of it like a
> >  :doc:`regular patch submission <../process/submitting-patches>`
> >  (even if you don't have a patch yet): describe the problem and impact, and
> >  list reproduction steps, all in plain text, then provide a proposed fix as
> 
> What if the issue can only be reproduced with specific binary files? Should I
> send it as e.g. ASCII-armored, OpenPGP-encrypted attachment or should I put
> it somewhere else on the Internet (as privately-accessed file) and share its
> link instead?

In this case what happens is that reporters ask us :-)  We're documenting
the rules to reduce the huge overload we're having due to imperfect report
that require a lot of extra work to process them, but the team remains made
of humans who adapt to each and every situation. We've had binary contents
in the past and if some are strictly necessary it will continue to happen.
The point is to avoid them as much as possible and prefer generation scripts
rather than images (especially for file systems which are produced with a
10-line script).

Willy
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads