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 X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58EB4C2B9F4 for ; Fri, 25 Jun 2021 19:00:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 322B061942 for ; Fri, 25 Jun 2021 19:00:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbhFYTCc (ORCPT ); Fri, 25 Jun 2021 15:02:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:44398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229764AbhFYTCb (ORCPT ); Fri, 25 Jun 2021 15:02:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id C4F8161962; Fri, 25 Jun 2021 19:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624647610; bh=f29Zac1eZgbbZ2ew08ooxqpKBjFM7Sg3qK5bgln2Hng=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Op6lZNMd4Ph+KF+UfFn3hOdzpiqf7klVmLcxv1XLQosCEp8q99yCeDoUHyX3puYsD v77pKUFCjS56MwusEKKBD5oaSxYK2wUNG92IAU9od9JATFHQQuZudB0hzqgaubr3h+ RkeXFshERWgzLHz+oQ2IJATOsAyNTEdVb/mqF3GEMHBjzavLjUSU4j2l9Rjn+coH3q 3GFqaejC3qREyPgUuGKiuTf3flsLvz8kKVyRP+4NBOKXdFwTHxXFYAPvMMwn4kEZ0l QHbP2bWS41vu9+ZyPfuizbSe4bzo3ft/dDpgDygkmhbTaDMajE0arZ7y5Il5OWpPZ+ tAyYv22u3U42w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net/smc: Ensure correct state of the socket in send path From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162464761073.5473.13624606874255845272.git-patchwork-notify@kernel.org> Date: Fri, 25 Jun 2021 19:00:10 +0000 References: <20210625151102.447198-1-kgraul@linux.ibm.com> In-Reply-To: <20210625151102.447198-1-kgraul@linux.ibm.com> To: Karsten Graul Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-s390@vger.kernel.org, hca@linux.ibm.com, guvenc@linux.ibm.com Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 25 Jun 2021 17:11:02 +0200 you wrote: > From: Guvenc Gulce > > When smc_sendmsg() is called before the SMC socket initialization has > completed, smc_tx_sendmsg() will access un-initialized fields of the > SMC socket which results in a null-pointer dereference. > Fix this by checking the socket state first in smc_tx_sendmsg(). > > [...] Here is the summary with links: - [net-next] net/smc: Ensure correct state of the socket in send path https://git.kernel.org/netdev/net-next/c/17081633e22d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html