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 5D819C4332F for ; Thu, 3 Nov 2022 21:20:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 45C7C850AF; Thu, 3 Nov 2022 22:20:26 +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="JXP0aTM5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5AC10850A6; Thu, 3 Nov 2022 22:20:24 +0100 (CET) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 DA64A850AC for ; Thu, 3 Nov 2022 22:20:21 +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-x82b.google.com with SMTP id e15so2081068qts.1 for ; Thu, 03 Nov 2022 14:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NWElHvXAJ+KmiBZoazxBaY+TwbTb7OmnREm7uhVNyiw=; b=JXP0aTM5wBNRkNT5xvOmggaxxJ+Sao8AqVBEl6UztfYWNUhcHUIkrldm9pvxP2LEe5 BnEziwkWZK2/tCfrKXuiSlUW/0tX9LF6gAvtdWAqdJYUQABJvS4LvCa+m5C/Jzg52mbY Yxdwbtp8nwYz9gYkwNABg7SjnqcfwHNUKcYls= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NWElHvXAJ+KmiBZoazxBaY+TwbTb7OmnREm7uhVNyiw=; b=QKZb+bGpqDFK1CNs0JgI37A8Ft5eulaIdaxjtbL/uXt5Yw7g6+aMRvyhSEvAi/Avu7 kPhB6NJb+tcmV6HTyB/dPpPKA0vMf0MD4fR2Bo97JOd+LMfv1ctxNTbas4sgLNhwDapE cYRorxvkPyMmn7rN9gC0Cyzh9VoQiRwEACztLMQO+QvA1M5wKadAUHgw8ZsSPWhmik8N ZPRByzsZ+f5LbKdUnr372G2zidrMD4KdLOjGRyX8+p3vQHAx02YtR2u49t0fuQ4221PC itPt+ApSUxKam7oj7/DN8WzUWHGGueIg+H9/11f6xnq9dozJapqxJNWoxiTvChGi+0bk wwKA== X-Gm-Message-State: ACrzQf0bTEXnOuQoGnrwu7+9v173xiZR+qPP8ZON0OnY4I2fyvLNSxHq mv1eeCrgc/OqFuVMo/FiABiX0A== X-Google-Smtp-Source: AMsMyM75Ns+l9SyBBLTh5UHM0bCTpmwbWmNBuAsVbWvuTJPKmxlJ1lyM8LhCJt5O0+YPMMRoPSWA1g== X-Received: by 2002:a05:622a:170c:b0:3a5:3cb7:59c6 with SMTP id h12-20020a05622a170c00b003a53cb759c6mr13449556qtk.582.1667510420608; Thu, 03 Nov 2022 14:20:20 -0700 (PDT) Received: from bill-the-cat (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 h15-20020a05620a244f00b006fa468342a3sm1528080qkn.108.2022.11.03.14.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 14:20:20 -0700 (PDT) Date: Thu, 3 Nov 2022 17:20:18 -0400 From: Tom Rini To: Heinrich Schuchardt Cc: u-boot@lists.denx.de Subject: Re: [PATCH] docs: Add a basic security document Message-ID: <20221103212018.GU2116612@bill-the-cat> References: <20221103182544.294435-1-trini@konsulko.com> <7959518d-2fe8-aa22-34e6-0b27a3305632@gmx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dsOl/BEZn+65LpCE" Content-Disposition: inline In-Reply-To: <7959518d-2fe8-aa22-34e6-0b27a3305632@gmx.de> X-Clacks-Overhead: GNU Terry Pratchett 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 --dsOl/BEZn+65LpCE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 03, 2022 at 09:05:59PM +0100, Heinrich Schuchardt wrote: > On 11/3/22 19:25, Tom Rini wrote: > > 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. > >=20 > > 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 > >=20 > > 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 >=20 > Should we get this into alphabetic order? >=20 Whoops, can you fix when applying please? > > sending_patches > >=20 > > 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 > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > + > > +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 in= clude 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 ma= y delay > > +the bug handling. If a reporter wishes to have a CVE identifier assign= ed 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 desir= able 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. >=20 > Otherwise > Reviewed-by: Heinrich Schuchardt --=20 Tom --dsOl/BEZn+65LpCE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNkMIsACgkQFHw5/5Y0 tyw6dAwAllVAn/mZ4wm4mF/9VXP8qaItaFu9hFpScdErojVC92FBSzL08KWyycRk EJsV9/aDLPa9OpDDXf3q2J7urDoIl59UGrrFP9WLgLE+wWL8XX+Vyk0pg3sBOf9+ 8R8PCki4XnqE10kvO0wrlTtgaLg8Qi3bCVTuReS+IBHr/ZY6gvCw6Yhhb8HdjoYz Q1Uf2Gyx1EvzHTyr7PtQk0TFuMUg3f29VxGu5mRJLvjcM1u3uy5MToYB7EhKaDB/ uPzPG9g3JEP5lV+iG/X5SaObbKrqpt6LxZsAj4EEkrgNHssBxcHDCfr9ashqNlTE 3RugJYRk4koubxRlWqLCsTVziO9tVK3NWORVtGkLcY3tv3rPQj9s5RGSSHmN7imC cg4ZAkhBsrK94N6vdfauTa7UMHIaVMO3R1HpsIbxKbA03l4/vKNFcjs49CTFEX/5 LrGghFiJ2jHPBsy7gtvPIq8m7PdlY5fucpFjBWyX/PtTBr+Eu7AcwS6AwYQtFKo1 LlC/Sg0N =REFZ -----END PGP SIGNATURE----- --dsOl/BEZn+65LpCE--