From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2703C4332F for ; Tue, 22 Nov 2022 12:38:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233232AbiKVMiZ (ORCPT ); Tue, 22 Nov 2022 07:38:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232729AbiKVMiH (ORCPT ); Tue, 22 Nov 2022 07:38:07 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B2912D3A for ; Tue, 22 Nov 2022 04:38:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C8BD6B81AB1 for ; Tue, 22 Nov 2022 12:37:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B77BDC433C1; Tue, 22 Nov 2022 12:37:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1669120677; bh=XqZ44koxRfHZqL+mmtTr62oSj8u/Y3jbpHmCu0bagv8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e0hzmp7Nov8Jrb1JEo/VOY3sspJ4FRcpzR9N610AkaKRgQKChnXrNzBMAUBbz0Nb6 ZzGRiBQsDdjtLhvEP3GN+nvRwMuS3Aj6JHzl4f+rqGSr/6jTcXqMtyauTapFbzHWcm +ZKfrPOpPqeqH1S5od9MDjFKcjrZtMCT6dDQ3XC4= Date: Tue, 22 Nov 2022 13:37:53 +0100 From: Greg KH To: Ovidiu Panait Cc: stable@vger.kernel.org, Keith Busch , Christoph Hellwig Subject: Re: [PATCH 6.0 1/2] nvme: restrict management ioctls to admin Message-ID: References: <20221122110810.3568811-1-ovidiu.panait@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221122110810.3568811-1-ovidiu.panait@windriver.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Nov 22, 2022 at 01:08:09PM +0200, Ovidiu Panait wrote: > From: Keith Busch > > commit 23e085b2dead13b51fe86d27069895b740f749c0 upstream. > > The passthrough commands already have this restriction, but the other > operations do not. Require the same capabilities for all users as all of > these operations, which include resets and rescans, can be disruptive. > > Signed-off-by: Keith Busch > Signed-off-by: Christoph Hellwig > Signed-off-by: Ovidiu Panait > --- > These backports are for CVE-2022-3169. > > drivers/nvme/host/ioctl.c | 6 ++++++ > 1 file changed, 6 insertions(+) All now queued up, thanks. greg k-h