Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp519479lqb; Wed, 29 May 2024 02:53:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJLVfUwKDtN4+wVOpFS3mSo0WPQlgUBpN/J5X6QypvZJt6n8im9kyJgoNSaszSvsNJOWoY2dPYFTCmiGSFWx5ihBrkoiNwQzLkxckTEQ== X-Google-Smtp-Source: AGHT+IFxlfru0gxKR5fuAt5B3noQ954YPKDKB89cdrfv3smYLnGje15GjNf7GAfjN9gSFBH3rbCU X-Received: by 2002:a17:90a:d709:b0:2be:7650:a321 with SMTP id 98e67ed59e1d1-2bf5e14fc2emr12781109a91.8.1716976384968; Wed, 29 May 2024 02:53:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716976384; cv=pass; d=google.com; s=arc-20160816; b=mv7j3ZO0uPy23x7aHnsvClR+wLDPCXPr/MzlCw7Hv5gzcmw81D00DF7Pz8NEW5KVHO v7h4q95dwKszFYeHh2flCtArlUPtGenj6iaBdEgg9b4RVWFM25RLwUVSuyN1VqI8QvPJ hzVRHzIriwNA2P8Xe6TKV9tK5P4dDmPvTS26m4egQg0IgxRS7hB3Z0G6up024pWkI8ZF 4Cq7+jKEMjsumZ5GmYoIT9+no0hFAGxJwSUe796dCYud5q+XEX9kwEjygGXySqnfqORe gg9ynX4OzleZwpFgo8PgM9rQCF2wM2J1JXQPFIiHEa3GJDuamEsU8jGQnycXH6M2HsiY 3K/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ikGVtLAMsZAckB3tASZZalK7iJKEGKMiBKpF0cUp32s=; fh=cJ/KMk8uKsE+DUBrzAmjhIFjcLzLFRAeYDhnZopG4FU=; b=KyH10SO7ZIgR7VjGbJ6LEhLacXbq/AbpQEPAnxDKTfMSZHIS52kwmilL7TVZOAvIQs A7zJb02iG8dA/eNzbIMbrN/Uvp5SYQBOhwGV4PCEPhGElgTeGagKE2j5l0KDvOtyT1sL FD1vBKzu685tHz46nWgIk9BDxHNew/zQ5vr1epGJs1EW7NsR1WgXZGTDBOXC1fWdTydM ++Q7mLYzMI9TYfcb43o03IzYFCu34LE9qVdvM6zaRkBk6XUqPJBy2EgYL/o0qIkJcaHf sanfDu2+QoSAika6jRTN7aj7P7YEGgltF4uIyvM6CF4Zoc7PfkebkiomR4BAoxBuEFqI LV5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qm06aAls; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-193890-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fe3478esi9877058a91.117.2024.05.29.02.53.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:53:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193890-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qm06aAls; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-193890-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E6688288F11 for ; Wed, 29 May 2024 09:51:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03508173346; Wed, 29 May 2024 09:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qm06aAls" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 104AA16EBF0; Wed, 29 May 2024 09:51:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716976267; cv=none; b=lR0P3JbNi9zOGZvObShSntavoS9opdHqTxSHrlAXHa05EL4ZHZdWcpIAEnwwsGp/imhTCrcqn9QhD0pzThmVGH2OCGRp7l6C6PU238ODs9BNNzFMO6aQ6tsRXh6fskM7PU8nWci2H61kxzdNBUHgbt4jSCJW1vuYWeWuERemCkA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716976267; c=relaxed/simple; bh=Ej4XwkzDkEmG6il/14B3rRjy6ji6WOc6Cr9GX+IKhcs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YJ/c8B9iRWBgZfohGsZ4SE9u11yJaar9k1MJXMTQ3wU2dky5AnfwUZ3Ur6HA8rS8t4gzdpe+Iu4cwUGfVbPSdjRWsY5K13UvGKaU5+dED1yAyfqmbwRpbKr1qaxyIV6KTRdlJsCSsT8mXfRGOZpArxwHXFxP4U/JRjd2azsLUxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qm06aAls; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 433C0C2BD10; Wed, 29 May 2024 09:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716976266; bh=Ej4XwkzDkEmG6il/14B3rRjy6ji6WOc6Cr9GX+IKhcs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qm06aAlsY9bZFoqH4rtst1sXhSTpY9t4IX8Dt/A6VBMQ4G0a9LFFf9H3l7hEQTnWo Kvs/rX0XD5ioTwybM3csJxB6d6bgL1E60yrR0EIcPUDnYOJ1/memvf8bIrO3VoHiW/ Nu0VRQVHkbmoohatv8W/Kf3YJ3bdueY50EoViHZk= Date: Wed, 29 May 2024 11:51:10 +0200 From: Greg Kroah-Hartman To: Michal Hocko Cc: cve@kernel.org, linux-kernel@vger.kernel.org, linux-cve-announce@vger.kernel.org, Kees Cook Subject: Re: CVE-2023-52734: net: sched: sch: Bounds check priority Message-ID: <2024052930-dealt-class-f845@gregkh> References: <2024052100-CVE-2023-52734-c8c2@gregkh> <2024052824-justice-lair-14e6@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, May 29, 2024 at 09:30:08AM +0200, Michal Hocko wrote: > On Tue 28-05-24 21:06:39, Greg KH wrote: > > On Tue, May 28, 2024 at 09:53:12AM +0200, Michal Hocko wrote: > > > Is this really soemthing that should be getting a CVE assigned? > > > First the fix is incomplete - 9cec2aaffe96 ("net: sched: sch: Fix off by one in htb_activate_prios()") > > > > Incomplete fixes are still part of a fix :) > > Sigh > > > > Second is this even real problem? https://lore.kernel.org/all/Y9V3mBmLUcrEdrTV@pop-os.localdomain/ > > > suggests it is not. > > > > Ah, good catch, I didn't see that. I'll go revoke this as it's not > > doing anything. > > Thanks! > > I wish the CVE review process would catch something like that before > issuing a CVE for it. I too want a pony :) > > > And third, WARN_ONs are considered a real deal by CVE team because > > > somebody might be running with panic_on_warn. This patch adds one! > > > > Yes, but if you can't hit that by anything from userspace, it's not an > > issue and just dead code. We'll have to wait for a future syzbot report > > to prove that wrong :) > > I am not judging the patch itself. It is maintainers who should decide > whether this is something they want to accept. > > I am questioning the decision to make it a CVE. Because if that was a > real deal then WARN_ON is something kernel CNA is considering a CVE worth > problem! So a CVE has been filed with a fix that is CVE itself. > Seriously how could this pass through the CVE review process? "How" is "this was part of the entries in the GSD records that MITRE asked us to back-fill as CVE entries". Those entries already went through two different rounds of review last year for the GSD record, and I did another one as well now before the CVE creation happened. It was in a batch where I reviewed 124 entries at once, and if I only got one wrong, hey, that's a very good % overall, don't you think? Especially as it has been a publicily listed "vulnerability fix" for well over a year now in the GSD system, and no one objected to it there. Yes, I will get things wrong on the GSD backfill, and I am re-reviewing them all, which is honestly, something that MITRE did NOT ask us to do, but I am doing just because of minor things like this where perhaps the entry should not have been made in the past. And as part of that review, yes, I have found some other entries that didn't deserve a CVE, and so didn't create them. If you would like me to just do a simple "import them all without an additional review", I will be glad to do so as it would be much easier and save me loads of time. I welcome others to help out with this work, including yourself, if you so desire. That would help out a lot. thanks, greg k-h