Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26643525rwd; Mon, 3 Jul 2023 12:38:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFb8mWF3v9xtwYsmIchFR3+Q9FHYZs4jO7APjpHCiPKHxVjVBBihM8nBsQzwcJklJZKOl19 X-Received: by 2002:a05:6a20:3c87:b0:12e:b2e6:5782 with SMTP id b7-20020a056a203c8700b0012eb2e65782mr3956897pzj.53.1688413096779; Mon, 03 Jul 2023 12:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688413096; cv=none; d=google.com; s=arc-20160816; b=de57HwSlF3wYfh1Q2/kj4YNwH1wu0yABeyAO6twWgC/kyMFZlmgQ6+GHAAFDl9spBT v/8wv0GI7SiRIDKR38t826PXZB2UjPf5zcX4gTmEswlAX2E16jykDbm3G0krq166Xgow S/OMu0mWzJFm9/iP/sQ9kWBqEGHFpudTRluwlyhluEaH8ydOozL623BQL2dG9RGV1yEn yw8PRlpnNi7Yk9hr0WtfCNUTlqBF+ADA0OSxsCYPnyJWwj7ihHOpTl5puRGU6mFvOt2G oeAceDFWg8Oqp9ZdjhaEWRo6qocTIIDOtLFc9IIFbXFhAzotk+8V5jMsoQvbDZxnasu7 XHvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J3p3eNAqggHvOy+dCovJCM+vn6jIvZSGl56iQugvFzQ=; fh=3ZCWNKpOYLCo0NDqiFesLZezcbWZWPc9O0mR7/kl4rE=; b=Jxpq6wTtTYCmZsxeqcrTaA8th+TFYEXeql/Osp95+GlBSsBqUW04m9rjwZ8w+UzWd+ Hnl6xhtDPlvXjsqXlMkMKrFJcXwZw472bZJS2LRKtz9uhfvDSzBA3kxGKdmUJnEsK1oS Z0etqug3SbWP2dlEkjrex1j6nsM+qNcNy1EmkKn+GHccch655oiAkGmNiC+KpeosmfQ7 mdEB0rjcyNf0sxMFin/TxJ3iN1g33IkdPE5skRGQksjcTUT033DWbzL6IhEWrKKaGgol NmeqQ1LUopnpTbyOOKknMSBdicQEtnv2I5JTHse87UZGZt2MuQyqsRG8UQ75x8V3mo9h UhZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="JvOj5N/t"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs7-20020a632807000000b0055b618c77f1si7663860pgb.194.2023.07.03.12.38.02; Mon, 03 Jul 2023 12:38:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="JvOj5N/t"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230403AbjGCT0h (ORCPT + 99 others); Mon, 3 Jul 2023 15:26:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231129AbjGCT0g (ORCPT ); Mon, 3 Jul 2023 15:26:36 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 079BCE52 for ; Mon, 3 Jul 2023 12:26:34 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1b88e84bfb8so14816905ad.2 for ; Mon, 03 Jul 2023 12:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688412393; x=1691004393; 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=J3p3eNAqggHvOy+dCovJCM+vn6jIvZSGl56iQugvFzQ=; b=JvOj5N/tPXqoXKZPklVGbU+WslPQ4ST7IRwV4EWSHBeAoe7yIXnwvdtwDouc4KfQBt 5VkiccR26A0nCpCw6fRstWwArbXQTvcpYBOlLjx/Y7iMYGFskit08QSXc3HHIWF61EHy tTAFyr4T1VWyQ07Fk5oaGETFhJfstluuBzMAM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688412393; x=1691004393; 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=J3p3eNAqggHvOy+dCovJCM+vn6jIvZSGl56iQugvFzQ=; b=gYd+KnT2rudxBeM5z5SZikaGn3J6TIqVrlI3F5smUVmaMIJ+6adserfM0/MLisjihS 5rbj1Ptp8Dsdq+YYyfONTqX2NO+1xnmAg9oegQUqTx6saPf5noINdETxlhxOqsgCP21m 0dshpWtGiOSbXkGk7LtwbtCgoRHIzzgy7aogBFVH6Z3I2F0uVO5OSLgxgGjzT91XXty/ i+PYBMVw4bbihZ5J5j9sPFIMUAwTPT0PL/hRe4qYQkV15PGzNaaSjee70nG8yRoeTp2g YSwbfxF8hVPZJl6mw5Vi50YellMt5/U9HJP8qjNxPezFU+h/LfW4ab63PoLbyCBTKeq0 Ppdw== X-Gm-Message-State: ABy/qLasl2TpufWc8R1pFtIBFpdPhLyzirCvEyjaE2Su+l29j0gVzQkz s6pKeq8xT6F5fFMH+0vqvdojvA== X-Received: by 2002:a17:902:cecb:b0:1b8:715:210 with SMTP id d11-20020a170902cecb00b001b807150210mr13913361plg.34.1688412393503; Mon, 03 Jul 2023 12:26:33 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id jl3-20020a170903134300b001ac6b926621sm15597702plb.292.2023.07.03.12.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 12:26:32 -0700 (PDT) Date: Mon, 3 Jul 2023 12:26:32 -0700 From: Kees Cook To: Greg Kroah-Hartman Cc: Willy Tarreau , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, security@kernel.org, corbet@lwn.net, workflows@vger.kernel.org Subject: Re: [PATCH 2/2] Documentation: security-bugs.rst: clarify CVE handling Message-ID: <202307031217.95B8803@keescook> References: <2023063020-throat-pantyhose-f110@gregkh> <2023063022-retouch-kerosene-7e4a@gregkh> <202306301114.E199B136@keescook> <2023070213-capacity-moneybags-3668@gregkh> <2023070335-groggily-catfish-9ad5@gregkh> <202307031131.51907BC65@keescook> <2023070329-mangy-dipping-2ebd@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023070329-mangy-dipping-2ebd@gregkh> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 03, 2023 at 09:05:15PM +0200, Greg Kroah-Hartman wrote: > On Mon, Jul 03, 2023 at 11:35:37AM -0700, Kees Cook wrote: > > On Mon, Jul 03, 2023 at 05:00:15PM +0200, Greg Kroah-Hartman wrote: > > > On Mon, Jul 03, 2023 at 06:08:00AM +0200, Willy Tarreau wrote: > > > > The security team does not 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, they should find one by themselves, for example by contacting > > > > MITRE directly. However under no circumstances will a patch inclusion > > > > be delayed to wait for a CVE identifier to arrive. > > > > > > > > This puts the responsibility for finding one in time on the reporter > > > > depending on what they expect, and if they want it in the commit > > > > message, they'd rather have one before reporting the problem. > > > > > > Oh, nice wording, let me steal that! :) > > > > Yeah, this is good. The last sentence is a little hard to parse, so how > > about this, with a little more rationale expansion: > > > > However under no circumstances will patch publication be delayed for > > CVE identifier assignment. Getting fixes landed takes precedence; the > > CVE database entry will already reference the commit, so there is no loss > > of information if the CVE is assigned later. > > "simple is better" should be the key here, reading a wall of text is > hard for people, so let me just keep the one new sentance that Willy > proposed and if people still struggle with the whole CVEs and > security@k.o mess in the future, we can revise it again. > > Also, there is not really a "CVE database", I think that's what NVD from > NIST does and CNNVD from China does, and "Something to be named in the > future soon" will do for the EU. There is a "CVE List" at cve.org, but > that thing is always out of date, and for all of this I don't want to > have to try to explain it in our document as that's nothing we want to > mess with :) Okay, fair, though please include something about it in the commit log so that other folks with concerns similar to Mathias Krause's will be answered: https://infosec.exchange/@minipli/110632971830936754 I still think this version of the sentence is more readable: However under no circumstances will patch publication be delayed for CVE identifier assignment. "patch inclusion" is less clear to me that "publication", and "be delayed to wait for" is redundant: a delay is a wait, and "to arrive" is just the assignment, which is the subject of the paragraph, so better to keep the language for that consistent. -Kees -- Kees Cook