Skip to contentSkip to conversation

Documentation: insist on the plain-text requirement for security reports

PATCH In review Willy Tarreau 5 participants 8 messages Nov 29, 2025 – Dec 22, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: insist on the plain-text requirement for security reports

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/process/security-bugs.rst +5 -1
index 84657e7d2e5b..c0cf93e11565 100644
@@ -33,12 +33,16 @@ that can speed up the process considerably.  It is possible that the
 security team will bring in extra help from area maintainers to
 understand and fix the security vulnerability.
 
-Please send plain text emails without attachments where possible.
+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
 :doc:`regular patch submission <../process/submitting-patches>`
 (even if you don't have a patch yet): describe the problem and impact, list
 reproduction steps, and follow it with a proposed fix, all in plain text.
+Markdown, HTML and RST formatted reports are particularly frowned upon since
+they're quite hard to read for humans and encourage to use dedicated viewers,
+sometimes online, which by definition is not acceptable for a confidential
+security report.
 
 Disclosure and embargoed information
 ------------------------------------
Signature · 1 line
2.17.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Willy Tarreau

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Looks good to me! Given the number of non-plain-text emails with binary attachments we still get there, it's obvious not many people seem to read this file, but it can't hurt! :)

I'll queue this up if Jon doesn't, after -rc1 is out. If he wants to take it, here's my:

#2 lore raw
Quoted 7 lines · Greg KH
Quoted 6 lines · Willy Tarreau

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

Quoted 8 lines
Quoted 4 lines
---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Looks good to me! Given the number of non-plain-text emails with binary attachments we still get there, it's obvious not many people seem to read this file, but it can't hurt! :)

At least it gives us a place to point to, saying "look at the rules".

Quoted 4 lines

I'll queue this up if Jon doesn't, after -rc1 is out. If he wants to take it, here's my:

Thanks! Oh BTW I'm noticing a typo in the commit message above "full for" instead of "full of". Feel free to adjust it while applying, though it's really not important (and no, I won't respin a patch just for this :-)).

Willy

maintainer
#3 lore raw
In reply to Greg KH
Quoted 12 lines · Greg KH
Quoted 10 lines · Willy Tarreau

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Quoted 8 lines

Looks good to me! Given the number of non-plain-text emails with binary attachments we still get there, it's obvious not many people seem to read this file, but it can't hurt! :)

I'll queue this up if Jon doesn't, after -rc1 is out. If he wants to take it, here's my:

I grabbed it, thanks.

jon

#4 lore raw
In reply to Willy Tarreau
Quoted 16 lines · Willy Tarreau

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/process/security-bugs.rst +0 -0
index 84657e7d2e5b..c0cf93e11565 100644

Documentation/process/security-bugs.rst that can speed up the process considerably. It is possible that the · line 36

Quoted 5 lines
Documentation/process/security-bugs.rst +1 -1
@@ -33,12 +33,16 @@ that can speed up the process considerably.  It is possible that the
 security team will bring in extra help from area maintainers to
 understand and fix the security vulnerability.
 
-Please send plain text emails without attachments where possible.
+Please send **plain text** emails without attachments where possible.

So maybe part of the confusion is that this sentence can be read permissively, depending how the 'where possible' qualifier is interpreted:

Please send plain text emails without attachments, where possible.

Note how "it's not possible because my report is in PDF" seems to allow for that in the permissive reading.

What that sentence should really say is something like:

Please send plain text emails only. Please do not include any attachments, where possible.

This makes it clear that only plain text emails are acceptable.

Ie. something like the patch below?

Thanks,

Ingo

============================================>

 Documentation/process/security-bugs.rst | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
Documentation/process/security-bugs.rst +8 -4
index 84657e7d2e5b..4a76928a700e 100644
@@ -33,12 +33,16 @@ that can speed up the process considerably.  It is possible that the
 security team will bring in extra help from area maintainers to
 understand and fix the security vulnerability.
 
-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
-:doc:`regular patch submission <../process/submitting-patches>`
+Please send **plain text** emails only. Please do not include any
+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 :doc:`regular patch submission <../process/submitting-patches>`
 (even if you don't have a patch yet): describe the problem and impact, list
 reproduction steps, and follow it with a proposed fix, all in plain text.
+Markdown, HTML and RST formatted reports are particularly frowned upon since
+they're quite hard to read for humans and encourage to use dedicated viewers,
+sometimes online, which by definition is not acceptable for a confidential
+security report.
 
 Disclosure and embargoed information
 ------------------------------------
#5 lore raw

Hi Ingo,

Quoted 35 lines · Ingo Molnar
Quoted 16 lines · Willy Tarreau

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

---
 Documentation/process/security-bugs.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/process/security-bugs.rst +0 -0
index 84657e7d2e5b..c0cf93e11565 100644

Documentation/process/security-bugs.rst that can speed up the process considerably. It is possible that the · line 36

Quoted 5 lines
Documentation/process/security-bugs.rst +1 -1
@@ -33,12 +33,16 @@ that can speed up the process considerably.  It is possible that the
 security team will bring in extra help from area maintainers to
 understand and fix the security vulnerability.
 
-Please send plain text emails without attachments where possible.
+Please send **plain text** emails without attachments where possible.

So maybe part of the confusion is that this sentence can be read permissively, depending how the 'where possible' qualifier is interpreted:

Please send plain text emails without attachments, where possible.

Note how "it's not possible because my report is in PDF" seems to allow for that in the permissive reading.

Quoted 7 lines

What that sentence should really say is something like:

Please send plain text emails only. Please do not include any attachments, where possible.

This makes it clear that only plain text emails are acceptable.

Well, honestly I don't think it *really* makes a difference. Either the message is read, understood, and compatible with the rules in place, or it is not. As you know, we're getting regular reports as a password-protected ZIP and stuff like this, and it's not changing because people follow the rules in place. However those who quickly glance at the text above might have been believing that markdown and HTML were plain text. With the extra addition it clarifies this specific point, and since most returning submitters try to improve on their second submission after our feedback I think it will help us deliver this "feedback" prior to their first message.

Quoted 1 line

Ie. something like the patch below?

I have nothing against it but I'm not convinced at all that it brings any extra benefit over the first one. I'm fine with both in fact.

Thanks,
Willy

#6 lore raw
In reply to Willy Tarreau
Quoted 26 lines · Willy Tarreau

As the trend of AI-generated reports is growing, the trend of unreadable reports in gimmicky formats is following, and we cannot request that developers rely on online viewers to be able to read a security report full for formatting tags. Let's just insist on the plain text requirement a bit more.

---
Documentation/process/security-bugs.rst | 6 +++++-

1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/process/security-bugs.rst +0 -0
index 84657e7d2e5b..c0cf93e11565 100644
@@ -33,12 +33,16 @@ that can speed up the process considerably.  It is possible that the

security team will bring in extra help from area maintainers to understand and fix the security vulnerability.

Documentation/process/security-bugs.rst +1 -1
-Please send plain text emails without attachments where possible.
+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 :doc:regular patch submission <../process/submitting-patches> (even if you don't have a patch yet): describe the problem and impact, list reproduction steps, and follow it with a proposed fix, all in plain text.

Documentation/process/security-bugs.rst that can speed up the process considerably. It is possible that the · line 45

Quoted 4 lines
Documentation/process/security-bugs.rst +4 -0
+Markdown, HTML and RST formatted reports are particularly frowned upon since
+they're quite hard to read for humans and encourage to use dedicated viewers,
+sometimes online, which by definition is not acceptable for a confidential
+security report.

HTML sure. But why discourage .md and .rst? Markdown is pretty well the defacto "human readable" markup format and our own kernel documentation is .rst. Those are good for seeing code snippets, etc.

I would call out PDF and ZIP instead. We especially don't want _binary_ formats.

-Kees

Signature · 1 line
Kees Cook
#7 lore raw
Quoted 8 lines · Kees Cook

Documentation/process/security-bugs.rst that can speed up the process considerably. It is possible that the · line 45

Quoted 4 lines
Documentation/process/security-bugs.rst +4 -0
+Markdown, HTML and RST formatted reports are particularly frowned upon since
+they're quite hard to read for humans and encourage to use dedicated viewers,
+sometimes online, which by definition is not acceptable for a confidential
+security report.

HTML sure. But why discourage .md and .rst? Markdown is pretty well the defacto "human readable" markup format and our own kernel documentation is .rst. Those are good for seeing code snippets, etc.

Quite frankly, have you tried to read the latest reports ? They're full of "**" everywhere with no spacing nor indent at all, it's particularly hard to find the relevant information in them. It's super tempting to copy-paste them to the plenty of online viewers to render them correctly, except we'd rather not do that for obvious reasons. And when you start to discuss it gets even worse with ``` formating tags isolated between quoted paragraphs and no longer being relevant.

And let's be honest, these ones are close to 100% of the time generated by AI tools which are almost unable to produce anything else anymore by default because that's what they're using to interact with the chatbot's UI. If at least that forces those seeking a CVE number to actually *read* what their favorite AI bot produced, it will be a huge gain for everyone. Right now I'm really ashamed to forward AI-generated garbage to subsystem maintainers just in case there would be anything valid despite the format already strongly hinting otherwise.

Quoted 2 lines

I would call out PDF and ZIP instead. We especially don't want _binary_ formats.

IMHO we don't want useless nor hard-to-exploit reports in the first place, and to date I don't remember seeing a really valid and immediately actionable one using such decorations, since they were not written by the reporters.

Willy