Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3895007imu; Sat, 24 Nov 2018 13:21:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/V5O7zby9ILi6OLy78kPwZnUr/T8jIOH23WXBBHle5KxL7L8tDlDMk2+EMynInaKE+oqiKQ X-Received: by 2002:a63:4a0a:: with SMTP id x10mr19016163pga.237.1543094473399; Sat, 24 Nov 2018 13:21:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543094473; cv=none; d=google.com; s=arc-20160816; b=N41Ad4TinmSYoNxqtWmz3BuipxPw7SIXh1ZBK2UOHoSKTWknhJTJhC+rjUZNgMDL+p Cnl1FdzIcx5sqT/DaTLOts5gSP/SEiMTqy24THriWjq3QqECP7RRIkY31MmnIlloKkE8 cBJ2FVKw3W9snvy5aHIVcfx/pRCcxfZzRp9AQREx8tImjUl8nbYZbRtw8XPVUJfn6cSw VAm8S6Jk9Tlc/9T0BnAZHzwaQgD8SRMEt9SPh8qgMueR9MDMx1QwNMuEMgxhzzCKe3Hh ozoT5g9DbXw+6Ynjp9eiglhZ/aD4mN0GBHKB699+VETnAiNP4K85sDhJys8y68pqsiwT ToCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9K8bOxJv3ckrE+VIJSJ0LJjb71TbkrvWZ4pLGxtphHc=; b=zTasGpWWsFAG+rThhU3M0oFdbZPbbZL+38xbL2VAfq6rehIq4y7XVM3w7KQ7JqMVKj 3YxNkG/d1zLcf5WEhpq9fdqcCpVlkntXAtYNlmRSzGeLX2Z3O4VWaBu3oIA/1gw0jbFD PVV6Cy0sEJlc4k0g5P7YblaqTQAR+TYE4blmsiswH1XUKMwV39d0LeROI8z8K2NQvwD7 U3AeXyN+pmZ6by4XOVeQnvnDbx2XOB8mhlsNvMjbNwRdxAH8pibOR+nfGGs9OS681b5o DC4GAvtYAMZqmkvC5sW11Z/5Nw4cb4xkF8N1RXtoryyDWJcVBn+yJlWckIX9Qu9tGBx6 mZEg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v75si22257662pfd.157.2018.11.24.13.20.58; Sat, 24 Nov 2018 13:21:13 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726447AbeKYIJn (ORCPT + 99 others); Sun, 25 Nov 2018 03:09:43 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43226 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbeKYIJn (ORCPT ); Sun, 25 Nov 2018 03:09:43 -0500 Received: by mail-wr1-f66.google.com with SMTP id r10so15230638wrs.10; Sat, 24 Nov 2018 13:20:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9K8bOxJv3ckrE+VIJSJ0LJjb71TbkrvWZ4pLGxtphHc=; b=Cbe6dkarU+O/cua6ilKuyR+rOURdSi1DvAL4Tr1W5BAdgeZhsga+m4wSTRLNdmn93Z FDUkaiT7svA1NfC7IM42VnbXwFcWrFymtqXYS7S9k14AsPfZtRKc1pF6K1FVOmU/ZsLJ qj9Fyt9QiHT4rbG5l3+G/BqGYc/1YB792HPKDgNAQY2UQWe74ZgnN14cVOvmgR+yD5yY MCSmtr/RWrweNkqL5BvqQKf66sXJXeAFbNZ9IBgpC7vxkxsZoF5F56MvaNqDRsI1OmxB jfQSN4iwkqILvlL3Xh1CYmjYBFsfbj167+D0sqVLFNIhO3RbUT6s+Lw1EPUgzC/1ZPMd K33g== X-Gm-Message-State: AA+aEWaB8Nfxhor0XEmOQLg3r1FNYjiR+1uUbe0tw5e6cTgIVADxZLc0 UrGwUYNPt5Szr+GzK/SK/A== X-Received: by 2002:a5d:5351:: with SMTP id t17mr18209302wrv.288.1543094422717; Sat, 24 Nov 2018 13:20:22 -0800 (PST) Received: from box ([213.145.108.55]) by smtp.gmail.com with ESMTPSA id a12sm22244650wrm.45.2018.11.24.13.20.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 24 Nov 2018 13:20:21 -0800 (PST) Date: Sat, 24 Nov 2018 23:20:14 +0200 From: Slavomir Kaslev To: Al Viro Cc: syzbot , davem@davemloft.net, gregkh@linuxfoundation.org, kgraul@linux.ibm.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, stranche@codeaurora.org, syzkaller-bugs@googlegroups.com Subject: Re: WARNING in csum_and_copy_to_iter Message-ID: <20181124211918.GA20435@box> References: <0000000000001ecaa1057b6e4489@google.com> <20181124200357.GC2217@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181124200357.GC2217@ZenIV.linux.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 24, 2018 at 08:03:57PM +0000, Al Viro wrote: > On Sat, Nov 24, 2018 at 11:40:03AM -0800, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit: edeca3a769ad Merge tag 'sound-4.20-rc4' of git://git.kerne.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=12bee26d400000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446 > > dashboard link: https://syzkaller.appspot.com/bug?extid=ce18da013d76d837144d > > compiler: gcc (GCC) 8.0.1 20180413 (experimental) > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15ccd1f5400000 > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+ce18da013d76d837144d@syzkaller.appspotmail.com > > Caused by commit 95506588d2c1d72ca29adef8ae9bf771bcfb4ced > Author: Slavomir Kaslev > Date: Fri Nov 16 11:27:53 2018 +0200 > > socket: do a generic_file_splice_read when proto_ops has no splice_read > > exposing all ->recvmsg() instances to pipe-backed iov_iter as possible destination. > It's not all that hard to fix (I'll probably have a candidate patch by tonight, > it's just a matter of adding the only missing primitive), but... shouldn't that > patch have sat in -next for at least some testing first? Because it's very > easy to reproduce - splice from e.g. UDP socket will step into it. Sure, the > sky is not falling (unless you set panic-on-WARN, that is); the damn thing > would've failed anyway, but... My bad for not sending the patch tagged as net-next, feel free to revert it.