xref: /linux/Documentation/process/security-bugs.rst (revision 37a93dd5c49b5fda807fd204edf2547c3493319c)
1.. _securitybugs:
2
3Security bugs
4=============
5
6Linux kernel developers take security very seriously.  As such, we'd
7like to know when a security bug is found so that it can be fixed and
8disclosed as quickly as possible.  Please report security bugs to the
9Linux kernel security team.
10
11The security team and maintainers almost always require additional
12information beyond what was initially provided in a report and rely on
13active and efficient collaboration with the reporter to perform further
14testing (e.g., verifying versions, configuration options, mitigations, or
15patches). Before contacting the security team, the reporter must ensure
16they are available to explain their findings, engage in discussions, and
17run additional tests.  Reports where the reporter does not respond promptly
18or cannot effectively discuss their findings may be abandoned if the
19communication does not quickly improve.
20
21As it is with any bug, the more information provided the easier it
22will be to diagnose and fix.  Please review the procedure outlined in
23'Documentation/admin-guide/reporting-issues.rst' if you are unclear about what
24information is helpful.  Any exploit code is very helpful and will not
25be released without consent from the reporter unless it has already been
26made public.
27
28The Linux kernel security team can be contacted by email at
29<security@kernel.org>.  This is a private list of security officers
30who will help verify the bug report and develop and release a fix.
31If you already have a fix, please include it with your report, as
32that can speed up the process considerably.  It is possible that the
33security team will bring in extra help from area maintainers to
34understand and fix the security vulnerability.
35
36Please send **plain text** emails without attachments where possible.
37It is much harder to have a context-quoted discussion about a complex
38issue if all the details are hidden away in attachments.  Think of it like a
39:doc:`regular patch submission <../process/submitting-patches>`
40(even if you don't have a patch yet): describe the problem and impact, list
41reproduction steps, and follow it with a proposed fix, all in plain text.
42Markdown, HTML and RST formatted reports are particularly frowned upon since
43they're quite hard to read for humans and encourage to use dedicated viewers,
44sometimes online, which by definition is not acceptable for a confidential
45security report.
46
47Disclosure and embargoed information
48------------------------------------
49
50The security list is not a disclosure channel.  For that, see Coordination
51below.
52
53Once a robust fix has been developed, the release process starts.  Fixes
54for publicly known bugs are released immediately.
55
56Although our preference is to release fixes for publicly undisclosed bugs
57as soon as they become available, this may be postponed at the request of
58the reporter or an affected party for up to 7 calendar days from the start
59of the release process, with an exceptional extension to 14 calendar days
60if it is agreed that the criticality of the bug requires more time.  The
61only valid reason for deferring the publication of a fix is to accommodate
62the logistics of QA and large scale rollouts which require release
63coordination.
64
65While embargoed information may be shared with trusted individuals in
66order to develop a fix, such information will not be published alongside
67the fix or on any other disclosure channel without the permission of the
68reporter.  This includes but is not limited to the original bug report
69and followup discussions (if any), exploits, CVE information or the
70identity of the reporter.
71
72In other words our only interest is in getting bugs fixed.  All other
73information submitted to the security list and any followup discussions
74of the report are treated confidentially even after the embargo has been
75lifted, in perpetuity.
76
77Coordination with other groups
78------------------------------
79
80While the kernel security team solely focuses on getting bugs fixed,
81other groups focus on fixing issues in distros and coordinating
82disclosure between operating system vendors.  Coordination is usually
83handled by the "linux-distros" mailing list and disclosure by the
84public "oss-security" mailing list, both of which are closely related
85and presented in the linux-distros wiki:
86<https://oss-security.openwall.org/wiki/mailing-lists/distros>
87
88Please note that the respective policies and rules are different since
89the 3 lists pursue different goals.  Coordinating between the kernel
90security team and other teams is difficult since for the kernel security
91team occasional embargoes (as subject to a maximum allowed number of
92days) start from the availability of a fix, while for "linux-distros"
93they start from the initial post to the list regardless of the
94availability of a fix.
95
96As such, the kernel security team strongly recommends that as a reporter
97of a potential security issue you DO NOT contact the "linux-distros"
98mailing list UNTIL a fix is accepted by the affected code's maintainers
99and you have read the distros wiki page above and you fully understand
100the requirements that contacting "linux-distros" will impose on you and
101the kernel community.  This also means that in general it doesn't make
102sense to Cc: both lists at once, except maybe for coordination if and
103while an accepted fix has not yet been merged.  In other words, until a
104fix is accepted do not Cc: "linux-distros", and after it's merged do not
105Cc: the kernel security team.
106
107CVE assignment
108--------------
109
110The security team does not assign CVEs, nor do we require them for
111reports or fixes, as this can needlessly complicate the process and may
112delay the bug handling.  If a reporter wishes to have a CVE identifier
113assigned for a confirmed issue, they can contact the :doc:`kernel CVE
114assignment team<../process/cve>` to obtain one.
115
116Non-disclosure agreements
117-------------------------
118
119The Linux kernel security team is not a formal body and therefore unable
120to enter any non-disclosure agreements.
121