Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10776505ybi; Thu, 25 Jul 2019 05:06:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+t46UaJVHJBY1aXSypNAKIQFczzgFfBVlC0rGu8+6kWaOgUL+JdyMm4NudOR/pLhlQsX3 X-Received: by 2002:a65:62c4:: with SMTP id m4mr84152222pgv.243.1564056382970; Thu, 25 Jul 2019 05:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564056382; cv=none; d=google.com; s=arc-20160816; b=gS3sOgRA74WK6Bqt8l1JGpgBPQJg563TzhU/KcJJZ/HiA+i0oiL6ngPTjD/CFtyb5U cifsMeX8+JA1hH5IolI7Tn6M3+MCF1vpFo5qmWJTLDhi99AWnNxHYsyEPoImLMBnJakp gVCg6iiN2HY4nDAVxgKP9Bz+ozqBOi6yZxHhXChXE+dty2yXQ4IyqX8yQ2zyPnZFfrQc h/ht0MWAv8zPnU/7K497U2A+VUhrhDSyCayEkHJnr1x4d2mAlGc+43km6aHbShATA4dW 8AWw4pTm/f0VaAF9532gsXXIVliUUJ/bq/pPmQ14JUf9t6hoMqrOznIpvIOjTjOpXpFt 7ctw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=zOvrC4jRrz0ugoagicTAba2I/X1iVC+b4ZZraA+kmso=; b=rOlLKeSqCvkFCWKhk6maVTUabLvTmbGs3rKo4DB8GTo9Gr867TTU8y02+AQgUeeVMg MWSyw6xGwVypje2K4JFprEjhI+XVlVCI8U02/VqB75YFUzmA7tlxegSVs2FAefJPppeh h5GgN7SxdmbDRvqj1eEX9FOKdx34JXMfIa5I2dS1DFSuuVD/PrRRdRaO/QTJrF8U/fkq hftrGgpCS6nowCdm8X+6tlNwFcOWGihuq0cE5A5egahyMW12w03J8hSiB5hhM2tmqRbk A4kOY0D/ph55mU9qkB7KssgxfcOxdqtMOjgUCXTvYvccAU5R0NULGWBtwaXLqrzvn0WC //cw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si4338239pld.385.2019.07.25.05.06.08; Thu, 25 Jul 2019 05:06:22 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729389AbfGYGCx (ORCPT + 99 others); Thu, 25 Jul 2019 02:02:53 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:38199 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726547AbfGYGCw (ORCPT ); Thu, 25 Jul 2019 02:02:52 -0400 Received: by mail-qk1-f196.google.com with SMTP id a27so35611323qkk.5 for ; Wed, 24 Jul 2019 23:02:52 -0700 (PDT) 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; bh=zOvrC4jRrz0ugoagicTAba2I/X1iVC+b4ZZraA+kmso=; b=ZzWI7O/fN98tTQkI3qHL6OagWDYbr9Ft4HU+TDYKP5+jeZg8SZjNWZ+gmufBXeY15m 7sN3V+SnaFhEHHl1YxswC7bQi/qrwcKbiGsSqmCXATMFE3W5J8D1c2Pk7k6ljjib70V1 3crSxUwo+r4ouCnKSJnuoImhat/voniA+LkQ/lop0BP4g4Y5UuZG3obWDmrjF2fat9JO vyRCLoy15wmI+j2NTNkiRe8n6S5zXZHxqBdbvPs0JqXA9XI5PjPPSJl3mv8bR0jelSJv bfR66k76cFYMWiOZU4DZ4OEAksHhNRqWYb/wlE/Uiyqg5XCRB5Zpa/l1EcqqgfSsm1V5 WEsw== X-Gm-Message-State: APjAAAX0lATPQ9D/Nm8L7zS70IQRPUMdQuwHwcH0icpY+dclyQr71YBh hVxjg4oDELwHk8aeopCYq1fa0g== X-Received: by 2002:a37:aa04:: with SMTP id t4mr57308995qke.359.1564034571775; Wed, 24 Jul 2019 23:02:51 -0700 (PDT) Received: from redhat.com (bzq-79-181-91-42.red.bezeqint.net. [79.181.91.42]) by smtp.gmail.com with ESMTPSA id i62sm22519634qke.52.2019.07.24.23.02.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 23:02:50 -0700 (PDT) Date: Thu, 25 Jul 2019 02:02:41 -0400 From: "Michael S. Tsirkin" To: Jason Gunthorpe Cc: syzbot , aarcange@redhat.com, akpm@linux-foundation.org, christian@brauner.io, davem@davemloft.net, ebiederm@xmission.com, elena.reshetova@intel.com, guro@fb.com, hch@infradead.org, james.bottomley@hansenpartnership.com, jasowang@redhat.com, jglisse@redhat.com, keescook@chromium.org, ldv@altlinux.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-parisc@vger.kernel.org, luto@amacapital.net, mhocko@suse.com, mingo@kernel.org, namit@vmware.com, peterz@infradead.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk, wad@chromium.org Subject: Re: WARNING in __mmdrop Message-ID: <20190725015402-mutt-send-email-mst@kernel.org> References: <0000000000008dd6bb058e006938@google.com> <000000000000964b0d058e1a0483@google.com> <20190721044615-mutt-send-email-mst@kernel.org> <20190722141152.GA13711@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190722141152.GA13711@ziepe.ca> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 11:11:52AM -0300, Jason Gunthorpe wrote: > On Sun, Jul 21, 2019 at 06:02:52AM -0400, Michael S. Tsirkin wrote: > > On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote: > > > syzbot has bisected this bug to: > > > > > > commit 7f466032dc9e5a61217f22ea34b2df932786bbfc > > > Author: Jason Wang > > > Date: Fri May 24 08:12:18 2019 +0000 > > > > > > vhost: access vq metadata through kernel virtual address > > > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=149a8a20600000 > > > start commit: 6d21a41b Add linux-next specific files for 20190718 > > > git tree: linux-next > > > final crash: https://syzkaller.appspot.com/x/report.txt?x=169a8a20600000 > > > console output: https://syzkaller.appspot.com/x/log.txt?x=129a8a20600000 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=3430a151e1452331 > > > dashboard link: https://syzkaller.appspot.com/bug?extid=e58112d71f77113ddb7b > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10139e68600000 > > > > > > Reported-by: syzbot+e58112d71f77113ddb7b@syzkaller.appspotmail.com > > > Fixes: 7f466032dc9e ("vhost: access vq metadata through kernel virtual > > > address") > > > > > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > > > > > OK I poked at this for a bit, I see several things that > > we need to fix, though I'm not yet sure it's the reason for > > the failures: > > This stuff looks quite similar to the hmm_mirror use model and other > places in the kernel. I'm still hoping we can share this code a bit more. Right. I think hmm is something we should look at. -- MST