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=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 F00C1C433E1 for ; Wed, 15 Jul 2020 05:54:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 84E4F2065E for ; Wed, 15 Jul 2020 05:54:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UoQI0SD7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84E4F2065E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C15D96B0002; Wed, 15 Jul 2020 01:54:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BC7168D0001; Wed, 15 Jul 2020 01:54:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A8F136B0005; Wed, 15 Jul 2020 01:54:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0112.hostedemail.com [216.40.44.112]) by kanga.kvack.org (Postfix) with ESMTP id 900E26B0002 for ; Wed, 15 Jul 2020 01:54:42 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 0DEE9824999B for ; Wed, 15 Jul 2020 05:54:42 +0000 (UTC) X-FDA: 77039246004.03.brass84_5517c5d26ef7 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin03.hostedemail.com (Postfix) with ESMTP id DC0AF28A4ED for ; Wed, 15 Jul 2020 05:54:41 +0000 (UTC) X-HE-Tag: brass84_5517c5d26ef7 X-Filterd-Recvd-Size: 6198 Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Wed, 15 Jul 2020 05:54:41 +0000 (UTC) Received: by mail-il1-f196.google.com with SMTP id x9so986792ila.3 for ; Tue, 14 Jul 2020 22:54:41 -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=gk5gOqeFa/8PMvpifJgWYM8DdQwMhfdSs+BEeyN+lWk=; b=UoQI0SD76HK2T2Ii1JDnPdT+PvnZKyeQNP5UmgmjtqqWMDNfNsVrdgvL9u9M5OQZlw jWrBK3/1I9ifUK3yzB4KfK9lOHDw4p0BzIC5h/sDKaOykLj4+l7aWhW2AcUSjjs7qgNZ M7STbp38ZNWWnAWiFOarV5AhpT1URj2fwrYq50SL6mLM/LYFTnSLElzJscEtLJ+9Zz0n Oa2TzPSZSz/7qJsnECRTf0821GGtOQCmci9mkNjjmldHSRRWa/8oKRwO7UUfdlHX225H LUwS/nKN/wlPMPapFZQYX1VrhI4SxAnljlwzTAzvXhrPIX/eu7C+Ke0rRiWcwEkDZZD3 UJig== 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=gk5gOqeFa/8PMvpifJgWYM8DdQwMhfdSs+BEeyN+lWk=; b=poKxEL3YjLcqa3ocx/7YCG63VWGooKkNtS8ucoqFw0S5LtyWFBD7fYkbvshBiTUmBR X1BrkEJvX5OhJ8DHH+/DqEKtxk7SRAawT+0tjzEVCYDCvmONVdvQYMjsMrhoLtTrEoj/ aUzHoBQLvDP3JxEgxuliCi6FsNspOWUk8tXBOuln/BNWr8NLA4CaqJGjd7Yw9PCWFOs+ 1mEhRRqFF30kdwFCe6vAr6uL6uQ/HENbgM22p5f8jQOk8cTHu7e5r+U7p6Y7aRWjvg0+ I1iIavghyupp3bSWC0sjTc6taW1TWc2MrexCXwk5sX7EiWwJFv+ku6AcCcVgt1oTDLuo rO2w== X-Gm-Message-State: AOAM531PWzFQ/rJwm2YtT9Z+pOs9diRRpPO0RcsGN1dYV3DfH7xwYP3D lWJNcFFBGdQuh2rm/+DOYTDE6iPzKrgTh8o2Sls= X-Google-Smtp-Source: ABdhPJwspStu4Zb030bC5qMPQEqoOaI5xV2h4ZHgDrLom89QLQGaTQpOFqgl2TanB03FGAUqF4FOLmXEjoBkqs8B314= X-Received: by 2002:a92:da4c:: with SMTP id p12mr8327803ilq.142.1594792480756; Tue, 14 Jul 2020 22:54:40 -0700 (PDT) MIME-Version: 1.0 References: <000000000000c62c0205aa73a505@google.com> In-Reply-To: <000000000000c62c0205aa73a505@google.com> From: Yafang Shao Date: Wed, 15 Jul 2020 13:54:04 +0800 Message-ID: Subject: Re: kernel panic: System is deadlocked on memory To: syzbot Cc: Andrew Morton , LKML , Linux MM , Stephen Rothwell , syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: DC0AF28A4ED X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000943, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Jul 15, 2020 at 12:49 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: d31958b3 Add linux-next specific files for 20200710 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=11a2fe13100000 > kernel config: https://syzkaller.appspot.com/x/.config?x=3fe4fccb94cbc1a6 > dashboard link: https://syzkaller.appspot.com/bug?extid=98be80110b9043885626 > compiler: gcc (GCC) 10.1.0-syz 20200507 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=101ec967100000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14a77000900000 > > The issue was bisected to: > > commit e642d9be463d02c735cd99a9a904063324ee03d6 > Author: Yafang Shao > Date: Fri Jul 10 04:58:08 2020 +0000 > > mm, oom: make the calculation of oom badness more accurate > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1432bd77100000 > final oops: https://syzkaller.appspot.com/x/report.txt?x=1632bd77100000 > console output: https://syzkaller.appspot.com/x/log.txt?x=1232bd77100000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+98be80110b9043885626@syzkaller.appspotmail.com > Fixes: e642d9be463d ("mm, oom: make the calculation of oom badness more accurate") > > Out of memory and no killable processes... > Kernel panic - not syncing: System is deadlocked on memory > CPU: 0 PID: 6810 Comm: syz-executor919 Not tainted 5.8.0-rc4-next-20200710-syzkaller #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > Call Trace: > __dump_stack lib/dump_stack.c:77 [inline] > dump_stack+0x18f/0x20d lib/dump_stack.c:118 > panic+0x2e3/0x75c kernel/panic.c:231 > out_of_memory mm/oom_kill.c:1106 [inline] > out_of_memory.cold+0xa6/0x182 mm/oom_kill.c:1041 > pagefault_out_of_memory+0x109/0x11c mm/oom_kill.c:1135 > mm_fault_error+0x123/0x380 arch/x86/mm/fault.c:930 > do_user_addr_fault+0x5f8/0xbf0 arch/x86/mm/fault.c:1317 > handle_page_fault arch/x86/mm/fault.c:1351 [inline] > exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1404 > asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:544 > RIP: 0033:0x40154d > Code: Bad RIP value. > RSP: 002b:00007ffddf4649b0 EFLAGS: 00010202 > RAX: 0000000000000001 RBX: 0000000000000000 RCX: fffffffffffffffd > RDX: 0000000000000001 RSI: 00007ffddf4665e0 RDI: ffffffffffffffff > RBP: 00007ffddf4665e0 R08: 0000000000000000 R09: 0000000000000001 > R10: 0000000000000064 R11: 0000000000000246 R12: ffffffffffffffff > R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 > Kernel Offset: disabled > Rebooting in 86400 seconds.. > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > syzbot can test patches for this issue, for details see: > https://goo.gl/tpsmEJ#testing-patches Thanks for the report. This issue has been already fixed by "mm-oom-make-the-calculation-of-oom-badness-more-accurate-v3", which is already in the -next tree. -- Thanks Yafang