From mboxrd@z Thu Jan 1 00:00:00 1970 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 717677470 for ; Wed, 5 Apr 2023 17:04:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A64FC433D2; Wed, 5 Apr 2023 17:04:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680714278; bh=9XZaACGA8FEx/xawf4gzfj0QBSYDuFw19q/kCaTroBM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b4VTVAKIlzv23U87D5TYG7fhsx8AhXzWs5HSkIS3HaLutWQ4ktBaeXtqBeuLEXTKZ 7pGoqWaeEqXnp45FgilVfDJleRC5mDakhYQrDROHsAPxkiVyaF/aFNL2Yrrezjbc/v jFvLe/g7uJuotDXTVKqCKCcjzy7iH2wl0eIsmPVY= Date: Wed, 5 Apr 2023 19:04:35 +0200 From: Greg Kroah-Hartman To: Pratyush Yadav Cc: Steve French , Amir Goldstein , Aurelien Aptel , stable@vger.kernel.org, patches@lists.linux.dev, Sasha Levin Subject: Re: [PATCH 5.4] smb3: fix problem with null cifs super block with previous patch Message-ID: <2023040514-ravishing-problem-9302@gregkh> References: <20230405135709.100174-1-ptyadav@amazon.de> <2023040523-delusion-corrode-f466@gregkh> Precedence: bulk X-Mailing-List: patches@lists.linux.dev 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, Apr 05, 2023 at 04:34:00PM +0200, Pratyush Yadav wrote: > On Wed, Apr 05 2023, Greg Kroah-Hartman wrote: > > > On Wed, Apr 05, 2023 at 03:57:09PM +0200, Pratyush Yadav wrote: > >> From: Steve French > >> > >> [ Upstream commit 87f93d82e0952da18af4d978e7d887b4c5326c0b ] > >> > >> Add check for null cifs_sb to create_options helper > >> > >> Signed-off-by: Steve French > >> Reviewed-by: Amir Goldstein > >> Reviewed-by: Aurelien Aptel > >> Signed-off-by: Pratyush Yadav > >> --- > >> > >> Only compile-tested. This was discovered by our static code analysis > >> tool. I do not use CIFS and do not know how to actually reproduce the > >> NULL dereference. > >> > >> Follow up from [0]. Original patch is at [1]. > >> > >> Mandatory text due to licensing terms: > >> > >> This bug was discovered and resolved using Coverity Static Analysis > >> Security Testing (SAST) by Synopsys, Inc. > > > > What? That's funny. And nothing I'm going to be adding to the > > changelog text, sorry, as that's not what is upstream. > > That is fine by me. I placed this text below the 3 dashed lines so it > does _not_ end up in the commit message, but still discloses this > information. > > > Please go poke your lawyers, that's not ok. > > Yes, perhaps I should. But let's go forward with this patch since it > keeps the original commit message? It's already been queued up, you should have gotten an email saying that, right? thanks, greg k-h