Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C3E2C433FE for ; Thu, 3 Nov 2022 18:25:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7B5088493F; Thu, 3 Nov 2022 19:25:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="aaf+YWdF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C1F9B83F4E; Thu, 3 Nov 2022 19:25:49 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5837E84ADF for ; Thu, 3 Nov 2022 19:25:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x832.google.com with SMTP id x15so1761531qtv.9 for ; Thu, 03 Nov 2022 11:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=9M2P+0cTtTWbo3tUU5+lHsaSjs1NP5PDUf3VqRyiFyw=; b=aaf+YWdF4uLLqQM4qBGDO9NsLuRsdtzxUF9vF0pJ/rQ3NGFAMvhzIRs8gluthpGh9g 8RQh3BEOd9kwOwMdhLZNlgSF0wKvh/dsQmG9ndSz0B8Q+W+mnjkpHCLWgYIJ2jvq+iBi O1KoPHjilbODSH3ZuG0euSmBYemClvEHdfYps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9M2P+0cTtTWbo3tUU5+lHsaSjs1NP5PDUf3VqRyiFyw=; b=LGIInT3xXx4qSfxgewhg2bdYVRf31c8ze/6l2htiRoYiNtqOJ2VfKrSqx2NEYQGr3d c/Yk/fBSUevYysuXCdzzIfx669PgtZ2GVbwpouQuv15ygqOVUVjpRT+z8G96brz94Fwj W6urevALBzQOsDA6jSJzMI4w+KroEeUdKyanjbKAZUDls2KcpKqVbW+7G382tcUZ0vOD Ndd4fpwW1/48KA+3fELOOd/QB8NxvdfzWt4qWLG/S/eKqUuwcQ1CpclHRwPUlQQw1Alv h0fakYsP3X1Tb1q6LxOTV6aMvD4vxhjyK1d2a2puWT6bFZdMusZNmnlPvFA7vT73teu8 6c/Q== X-Gm-Message-State: ACrzQf05Sm628MCuJbnuzPVd4yQYs4jHgaZWgMZ+d0daC44uxc9EXrJw xHkcPLJX3xaECSMJ46zE5LIRiEICEwkeOw== X-Google-Smtp-Source: AMsMyM4dn8wsLjxagWigd/Qh+rJzt3tggx52zH7oAOywKBSF8gnHY5tD2KKXDP9bH2cVHY1V8xY3+g== X-Received: by 2002:a05:622a:11c4:b0:39c:d88e:dc93 with SMTP id n4-20020a05622a11c400b0039cd88edc93mr25949026qtk.332.1667499945901; Thu, 03 Nov 2022 11:25:45 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-994c-dfba-30d0-8ee5.res6.spectrum.com. [2603:6081:7b00:6400:994c:dfba:30d0:8ee5]) by smtp.gmail.com with ESMTPSA id s11-20020a05620a254b00b006fa120f979asm1223597qko.43.2022.11.03.11.25.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 11:25:45 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] docs: Add a basic security document Date: Thu, 3 Nov 2022 14:25:44 -0400 Message-Id: <20221103182544.294435-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Based loosely on the Linux kernel Documentation/admin-guide/security-bugs.rst file, create a basic security document for U-Boot. In sum, security issues should be disclosed in public on the mailing list if at all possible as an initial position. Signed-off-by: Tom Rini --- doc/develop/index.rst | 1 + doc/develop/security.rst | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 doc/develop/security.rst diff --git a/doc/develop/index.rst b/doc/develop/index.rst index 5934d9ffb115..04322efe59fd 100644 --- a/doc/develop/index.rst +++ b/doc/develop/index.rst @@ -15,6 +15,7 @@ General process release_cycle system_configuration + security sending_patches Implementation diff --git a/doc/develop/security.rst b/doc/develop/security.rst new file mode 100644 index 000000000000..84b130646f31 --- /dev/null +++ b/doc/develop/security.rst @@ -0,0 +1,32 @@ +.. SPDX-License-Identifier: GPL-2.0+: + +Handling of security vulnerabilities +==================================== + +The U-Boot project takes security very seriously. As such, we'd like to know +when a security bug is found so that it can be fixed and disclosed as quickly +as possible. + +Contact +------- + +The preferred initial point of contact is to send email to +`u-boot@lists.denx.de` and use `scripts/get_maintainers.pl` to also include any +relevant custodians. In addition, Tom Rini should be contacted at +`trini@konsulko.com`. + +CVE assignment +-------------- + +The U-Boot project cannot directly 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 coordinate this on their own. When +such a CVE identifier is known before a patch is provided, it is desirable to +mention it in the commit message if the reporter agrees. + +Non-disclosure agreements +------------------------- + +The U-Boot project is not a formal body and therefore unable to enter any +non-disclosure agreements. -- 2.25.1