linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: Clarify details for reporting security bugs
@ 2017-03-06 19:13 Kees Cook
  2017-03-07  7:27 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Kees Cook @ 2017-03-06 19:13 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-doc,
	linux-kernel, security

The kernel security team is regularly asked to provide CVE identifiers,
which we don't normally do. This updates the documentation to mention
this and adds some more details about coordination and patch handling
that come up regularly. Based on an earlier draft by Willy Tarreau.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Willy Tarreau <w@1wt.eu>
---
Related question: shouldn't security-bugs.rst and submitting-patches.rst live
in /process/ rather than /admin-guide/ ?
---
 Documentation/admin-guide/security-bugs.rst | 39 +++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 5 deletions(-)

diff --git a/Documentation/admin-guide/security-bugs.rst b/Documentation/admin-guide/security-bugs.rst
index 4f7414cad586..47574b382d75 100644
--- a/Documentation/admin-guide/security-bugs.rst
+++ b/Documentation/admin-guide/security-bugs.rst
@@ -14,14 +14,17 @@ Contact
 The Linux kernel security team can be contacted by email at
 <security@kernel.org>.  This is a private list of security officers
 who will help verify the bug report and develop and release a fix.
-It is possible that the security team will bring in extra help from
-area maintainers to understand and fix the security vulnerability.
+If you already have a fix, please include it with your report, as
+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.
 
 As it is with any bug, the more information provided the easier it
 will be to diagnose and fix.  Please review the procedure outlined in
-admin-guide/reporting-bugs.rst if you are unclear about what information is helpful.
-Any exploit code is very helpful and will not be released without
-consent from the reporter unless it has already been made public.
+admin-guide/reporting-bugs.rst if you are unclear about what
+information is helpful.  Any exploit code is very helpful and will not
+be released without consent from the reporter unless it has already been
+made public.
 
 Disclosure
 ----------
@@ -39,6 +42,32 @@ disclosure is from immediate (esp. if it's already publicly known)
 to a few weeks.  As a basic default policy, we expect report date to
 disclosure date to be on the order of 7 days.
 
+Coordination
+------------
+
+Fixes for sensitive bugs, such as those that might lead to privilege
+escalations, may need to be coordinated with the private
+<linux-distros@vs.openwall.org> mailing list so that distribution vendors
+are well prepared to issue a fixed kernel upon public disclosure of the
+upstream fix. Distros will need some time to test the proposed patch and
+will generally request at least a few days of embargo, and vendor update
+publication prefers to happen Tuesday through Thursday. When appropriate,
+the security team can assist with this coordination, or the reporter can
+include linux-distros from the start. In this case, remember to prefix
+the email Subject line with "[vs]" as described in the linux-distros wiki:
+<http://oss-security.openwall.org/wiki/mailing-lists/distros#how-to-use-the-lists>
+
+CVE assignment
+--------------
+
+The security team does not normally assign CVEs, nor do we require them
+for reports or fixes, as this can needlessly complicate the process and
+may delay the bug handling. If a reporter wishes to have a CVE identifier
+assigned ahead of public disclosure, they will need to contact the private
+linux-distros list, described above. When such a CVE identifier is known
+before a patch is provided, it is desirable to mention it in the commit
+message, though.
+
 Non-disclosure agreements
 -------------------------
 
-- 
2.7.4


-- 
Kees Cook
Pixel Security

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: Clarify details for reporting security bugs
  2017-03-06 19:13 [PATCH] docs: Clarify details for reporting security bugs Kees Cook
@ 2017-03-07  7:27 ` Jonathan Corbet
  2017-03-07  7:47   ` Kees Cook
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2017-03-07  7:27 UTC (permalink / raw)
  To: Kees Cook
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-doc,
	linux-kernel, security

On Mon, 6 Mar 2017 11:13:51 -0800
Kees Cook <keescook@chromium.org> wrote:

> The kernel security team is regularly asked to provide CVE identifiers,
> which we don't normally do. This updates the documentation to mention
> this and adds some more details about coordination and patch handling
> that come up regularly. Based on an earlier draft by Willy Tarreau.
> 
> Signed-off-by: Kees Cook <keescook@chromium.org>
> Acked-by: Willy Tarreau <w@1wt.eu>

Seems good, applied to the docs tree, thanks.

> Related question: shouldn't security-bugs.rst and submitting-patches.rst live
> in /process/ rather than /admin-guide/ ?

The former should maybe be there, depending on just who we think it
should be aimed at, I guess.  submitting-patches.rst is already in
process/, though, so I'm not quite sure I understand that question?

Thanks,

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: Clarify details for reporting security bugs
  2017-03-07  7:27 ` Jonathan Corbet
@ 2017-03-07  7:47   ` Kees Cook
  0 siblings, 0 replies; 3+ messages in thread
From: Kees Cook @ 2017-03-07  7:47 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-doc, LKML, security

On Mon, Mar 6, 2017 at 11:27 PM, Jonathan Corbet <corbet@lwn.net> wrote:
> On Mon, 6 Mar 2017 11:13:51 -0800
> Kees Cook <keescook@chromium.org> wrote:
>
>> The kernel security team is regularly asked to provide CVE identifiers,
>> which we don't normally do. This updates the documentation to mention
>> this and adds some more details about coordination and patch handling
>> that come up regularly. Based on an earlier draft by Willy Tarreau.
>>
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>> Acked-by: Willy Tarreau <w@1wt.eu>
>
> Seems good, applied to the docs tree, thanks.

Thanks!

>
>> Related question: shouldn't security-bugs.rst and submitting-patches.rst live
>> in /process/ rather than /admin-guide/ ?
>
> The former should maybe be there, depending on just who we think it
> should be aimed at, I guess.  submitting-patches.rst is already in
> process/, though, so I'm not quite sure I understand that question?

Ah, maybe I was looking at the wrong thing. Regardless, it seems like
security-bugs.rst is the same "type" as "submitting-patches.rst", so
perhaps it should move?

-Kees

-- 
Kees Cook
Pixel Security

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-07  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 19:13 [PATCH] docs: Clarify details for reporting security bugs Kees Cook
2017-03-07  7:27 ` Jonathan Corbet
2017-03-07  7:47   ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).