Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5056313imm; Tue, 9 Oct 2018 09:04:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61BgqniXT5GM8uGH8gxyIm9j1VS9BkoDD3/WUnJwnGSA7YyKCng0+Szyvg1Wv5vUyiX+JX+ X-Received: by 2002:a63:5558:: with SMTP id f24-v6mr26840157pgm.37.1539101081816; Tue, 09 Oct 2018 09:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539101081; cv=none; d=google.com; s=arc-20160816; b=bsBfaScD0Uv7wVjlKFHabcWgs3/f+GxPFNFxIHB3vNAwnWIJ2/ivwSPr/FhkqgL5Ii YlKFXg3BZ9fXOz81gRv/+mk+Rf5sSsliqBIlbLKpep9y5e/gFU/t2qzwPE/GZHxs77h1 kpxqu7ww9MTak91fMmNWVYkj2+oE+50xdwPQcfhk5gxzkNuLjcBajvDEADBAJdhEazke 8/NnhC1gnJDCOQ9+hfJXWNSVIe8FrRb3JeAuWBSmJRbaAK1EaTk30+rFZ0THCvXwmDw6 ym151RTRbytbmqjoH2SM4mK2gOkpLob7oOlvzR1cHdNvjlVcoWEX1BYYQFvoVdSI832Z hMEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mvvdkev32BaIlAbDDS17DKGzCuvIU+cyIKqtYO1MPaA=; b=gTSU8qQsfU1itjpRbqbwE8wUkcu+Sqqk9S8Pwnpk/fI66fipaXqA7+LQh10++QilXK kyiPoiNfp7i4eBJsOCSO1VB/GAawgQf02BFD2+aq8DOFHRlQP9Z2VOBrdZuNggs85os/ jKh6s2bxga9j3Z7MnT6BB0x81pvvFedLCrPL99JKSltrIkad4Iusvj6iRm+gaoN/AWj+ fO7o7l0KjsONFCk40XzaG8WzsOjou34yhfucD+Y0yanxI9vKmnRP2Q5weyPDD4bhP7ob Rta/jMfTRT7H/OByRm/MDgQnQ0EtfJn8YaOaWfREeMmXPEORscUehsG6HFwY0CUWpYPG kXJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BbKPDm6K; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1-v6si23541071pfx.105.2018.10.09.09.04.27; Tue, 09 Oct 2018 09:04:41 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BbKPDm6K; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726903AbeJIXVO (ORCPT + 99 others); Tue, 9 Oct 2018 19:21:14 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:43541 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeJIXVN (ORCPT ); Tue, 9 Oct 2018 19:21:13 -0400 Received: by mail-ed1-f68.google.com with SMTP id y20-v6so2184629eds.10; Tue, 09 Oct 2018 09:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mvvdkev32BaIlAbDDS17DKGzCuvIU+cyIKqtYO1MPaA=; b=BbKPDm6KL9ho8uFsJ7poT1fle5GkGEnijT8acnGO9Oc1DGpx2t1B3oI6J+E8cTY8pK dpsBJyYDwmunbdWkrOgX/dspak9zyIuM1ThqSm2NI6zUF/KsnSRzwuOYKlL/YymPWrfP e/26j1TCk3BXliSCQGZpnvlWSpMQyjY6Gmh0M48W2uulRL61MRhRgy27mEiP8A4nLun0 BHwt76GAmEynQUDGlv6Dx0P9RR+MOPPqOv+LoFSidvpcqfbyFtsGXRFxetsjNtT5EkC1 0vISuo2817fcaFi8//x1oaqJXEJZ05pBuss5rE7DH5mLpm5+Y95iWMjuwV8MVAcsXOf/ Wrlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mvvdkev32BaIlAbDDS17DKGzCuvIU+cyIKqtYO1MPaA=; b=GT25pgTOPzCCav9YnwzUz3+DRXw9lSQbni/73x6DIoVhH3vV0RWN9TJud8ZIOFQ+f8 c8Q4ofCoJP/wSlsjrUrvANzAfelOqrkwrHbQGSmXgNR/XEbHDxS56r5rPOtQDGhziOQR jtwkM+SJCz/p6Fk2xUZJvyN/FiFBT2wklwBO5+wDR5CNFRSHuXHpTXz/q4ltJq+vYNu7 I4Nhy/xI6ElwVT9wQO3ckz7RugsAX/V3F9iTvzr2sOf4VcISZiwBgMqirkaWup06fwJr Mo22VYAi1WgJ+mUOLqXv1OZArkriXnGuMIaj3Fp2I4O3vZQ8rIHrCMnSUtL67PA0X8kt 3DwA== X-Gm-Message-State: ABuFfoi3umA+50KurcpVJGS+bHIPXc3XVa7XAOVw8Z7BkungJXC0lanS AIgesd63lgzgEgSTI8cUe8rQioLRgTkuZqj1WVA= X-Received: by 2002:a50:f9c7:: with SMTP id a7-v6mr34911936edq.138.1539101015196; Tue, 09 Oct 2018 09:03:35 -0700 (PDT) MIME-Version: 1.0 References: <0000000000009d47b2057782bab4@google.com> <87va6bwlfg.fsf@linux.ibm.com> <48d891dd-3f45-c03c-a55b-bb153080881a@gmail.com> In-Reply-To: <48d891dd-3f45-c03c-a55b-bb153080881a@gmail.com> From: Willem de Bruijn Date: Tue, 9 Oct 2018 12:02:58 -0400 Message-ID: Subject: Re: general protection fault in __handle_mm_fault To: Eric Dumazet Cc: aneesh.kumar@linux.ibm.com, syzbot+1577fbe983d20fe2e88f@syzkaller.appspotmail.com, David Miller , Eric Dumazet , Alexey Kuznetsov , LKML , Network Development , syzkaller-bugs@googlegroups.com, Hideaki YOSHIFUJI , Andrew Morton , kirill.shutemov@linux.intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 9, 2018 at 11:00 AM Eric Dumazet wrote: > > > > On 10/09/2018 01:53 AM, Aneesh Kumar K.V wrote: > ... > > >>>> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13cdb67e400000 > ... > > > > > Can you check with this patch Thanks. With that patch the crash indeed does not occur. > > Well, this is a C repro, you can test this yourself instead of asking Willem who > already did a painful bisection. Thanks Eric. It does take some effort to get the syzkaller environment up and running [1] and I happen to have it ready, so I don't mind testing a few patches. It just had to wait until I got to the office. Somehow the debug kernel produces so much output that it consistently locked up my shell over ssh. [1] for reference: https://github.com/google/syzkaller/blob/master/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md