Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2809796imm; Mon, 16 Jul 2018 14:46:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc9WggRRghQ/6/7W6lW+l7sMcfLg7cv+o3tEMy/We5BEDyxjaNXDtedU7nvLtZxXsWbn/M7 X-Received: by 2002:a65:5286:: with SMTP id y6-v6mr16961747pgp.65.1531777607989; Mon, 16 Jul 2018 14:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531777607; cv=none; d=google.com; s=arc-20160816; b=nafSfTdJkzCsNQ0u+7NffmZxGtBXc5fap840njPwyzB7evkTM2FTsjSFB8QHXN/FuJ eovn3XA42aV4tcXAAOYLj8agpcfDxXfDWgZaJXHr15e6ZeTGqnaIgED9ehy0euHxrBpH jGTVfKS1chQez8oSd32ZNL3YFusPMmLemEIpXdmMvMQxLoYFiT7L8PzPSdnl841ff1TT 5f/Aylmpicflj9GlzAB9fGDmbUMRmgVzEE4304dmKOAK2/gU+evW5DRs6Fgr1GBZ9YG6 JyMBMYHPEvWORX7b1BfxyCuasLqQb2l3aM9CxkzRx/wcW0cUHlZjCx2j637fx0Ci5TAq uDfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=XIHEo5/NVc1FSuOjyJldUqZ9jcKTF2/iJUq1Mey3m/s=; b=VgoLKaEYz+rfuTRa/eGAJp2Xm8i38H1AAHSkJgqey9DXTB2eJI3PYp/6L7drSi+eVM 0vnpydohh3WSDEERzdvUgyjxKF9ETNRc42c/hcDSv4nq8ZI24xTcPgedKV07JpeESgXC GyS49B0lUm37rH4xtp/7lMVyHNN4Lpr37FwZK2CI1bWJFtaVsFFcQf4B90JZBPkE/UYU IbbqJd81ZytgCtc7WMGlqpKLVO4CzgBnXhiDPMReRDsykjQjhsO/uR56RrJC/DtNJYHj 3JG9HUFSpD3k6CdGN4ibLfEm9GWxCiiynF6kGp05Y0XWv7698eaVtBYe6NAXHI4MK/Qh l21A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5-v6si30225314plt.468.2018.07.16.14.46.33; Mon, 16 Jul 2018 14:46:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730724AbeGPWPK (ORCPT + 99 others); Mon, 16 Jul 2018 18:15:10 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:60782 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728290AbeGPWPJ (ORCPT ); Mon, 16 Jul 2018 18:15:09 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 3129B13EA8047; Mon, 16 Jul 2018 14:45:50 -0700 (PDT) Date: Mon, 16 Jul 2018 14:45:49 -0700 (PDT) Message-Id: <20180716.144549.1700210071419801130.davem@davemloft.net> To: ubraun@linux.ibm.com Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, raspl@linux.ibm.com, linux-kernel@vger.kernel.org, eric.dumazet@gmail.com, lifeasageek@gmail.com, sbrivio@redhat.com Subject: Re: [PATCH net V2 1/1] net/smc: take sock lock in smc_ioctl() From: David Miller In-Reply-To: <20180716115652.72331-1-ubraun@linux.ibm.com> References: <20180716115652.72331-1-ubraun@linux.ibm.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 16 Jul 2018 14:45:50 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ursula Braun Date: Mon, 16 Jul 2018 13:56:52 +0200 > From: Ursula Braun > > SMC ioctl processing requires the sock lock to work properly in > all thinkable scenarios. > Problem has been found with RaceFuzzer and fixes: > KASAN: null-ptr-deref Read in smc_ioctl > > Reported-by: Byoungyoung Lee > Reported-by: syzbot+35b2c5aa76fd398b9fd4@syzkaller.appspotmail.com > Signed-off-by: Ursula Braun Applied and queued up for -stable.