Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp214229ybh; Tue, 14 Jul 2020 23:26:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuacXuowYBqE3SpG6FFmGRlTqiwVpeQYpXsG6U8CPOKUn23O4BTuvi/iTywPtumb5ic5Y9 X-Received: by 2002:a17:906:1db1:: with SMTP id u17mr7611981ejh.72.1594794377154; Tue, 14 Jul 2020 23:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594794377; cv=none; d=google.com; s=arc-20160816; b=lGGtWrCmG/peGAfq61vh3ihNEZiqRpLZco7ulkv/MFRfNQAOXnUnCGaSDrubyTWOnx AXs/IYkx1nRZ08T/R6+hFB/b6rpxpQp8UQv8pjM4Emm5XO7at7ODrf0vdhrkt3YeBmwu 2CE/W4FBn+M7y5jKPeHR8BobVQ0vE1oc7vkx6/OJsV9y8l/hdcp2JjqIJPFcWKTBYy59 KFsS1Jy+gjAVqgrZpwTyr/Y2WnVH0Okdo78cl+oDjgt/WVo/5FJqLEDibWhsyfPzCLGb gUlAyqvPfgHEHcWDW1sbSTirFWOLvAmvap711ul6FoWHBmW70M72nCnDSaxPfVSXbSE2 vXEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=F0FUc4Wqq0OShJpMBdE07TDO51rOJid0hZSXfbfpWj0=; b=xOdB3ajy9GGXT7fLLoePwXIh0ElfvCkAsvcQ9iOoTjGHDAISn0JVjil/J0MWcabRG0 z6qjXX1Czse0RGRSrs7ov7Vdcy72cY2yrDD+QzzPjs34QXas+4HdPzY2GoqzebHuyJF5 B10FzHoSlpjWhgyRftpB0f+DkErmhqoXO5vbjbiT1cwpAF3O1zDmeZdwc6y0giCRVmN/ sKNDWJk2yXor1r3L+1AJ7U3hOaTwuUq8wbEZFIEgvU0as/cpWpEm3E9jEFHkKYwHwqJL 25Y7u1/rcpoq83bYS1DylhCMKOCwy4r8gomplk9rhDwSKc8mbncF2RxKkRb6jROzf1qV NJnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=IsjSX6Gl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si744528ejx.234.2020.07.14.23.25.54; Tue, 14 Jul 2020 23:26:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=IsjSX6Gl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727990AbgGOGEb (ORCPT + 99 others); Wed, 15 Jul 2020 02:04:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727908AbgGOGEb (ORCPT ); Wed, 15 Jul 2020 02:04:31 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C234EC061755 for ; Tue, 14 Jul 2020 23:04:30 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4B66KQ73r3z9sQt; Wed, 15 Jul 2020 16:04:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1594793068; bh=xOeqp8wg1wzSnVdBuEdXN3kiPlzF1h3So05Ikk8GK1I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IsjSX6GldAgrRTAtMdYr57r1MSZg9kBwHJotUn4NS4gGMWurBny8xWtuo7lBOViYq z0z6lnjn6w9fBEbtTZ7ZFynUxAFb3s6twgor0e67ul8RtElh3TkUXWlM5nHzNCyusi EPADOxaa5UaF/gOfPLvqK8lwh5otjiH8htIcCR3rYb5WRY7Er1dFYR7pm6fVDIObVr q/zvaiKWN3bJFBxbUENxQ7j++dBNXKMk+1plsjPd6oz/wgRa3oqPHy1xNyQEqmwkAq 8adUY5BVxcFr+VGtMiyxJTfNXfefKk3gZjEzQHs9NCyXcEEF4bc/vU48ede17eMztb TaQ2TIxnRb/Mw== Date: Wed, 15 Jul 2020 16:04:26 +1000 From: Stephen Rothwell To: Yafang Shao Cc: syzbot , Andrew Morton , LKML , Linux MM , syzkaller-bugs@googlegroups.com Subject: Re: kernel panic: System is deadlocked on memory Message-ID: <20200715160426.225feefb@canb.auug.org.au> In-Reply-To: References: <000000000000c62c0205aa73a505@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/OZqELQeYl2hzk=93DoC5kM4"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/OZqELQeYl2hzk=93DoC5kM4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Wed, 15 Jul 2020 13:54:04 +0800 Yafang Shao wrote: > > 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=3D11a2fe13100= 000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=3D3fe4fccb94c= bc1a6 > > dashboard link: https://syzkaller.appspot.com/bug?extid=3D98be80110b904= 3885626 > > compiler: gcc (GCC) 10.1.0-syz 20200507 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D101ec9671= 00000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D14a77000900= 000 > > > > 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=3D1432bd77= 100000 > > final oops: https://syzkaller.appspot.com/x/report.txt?x=3D1632bd77= 100000 > > console output: https://syzkaller.appspot.com/x/log.txt?x=3D1232bd77100= 000 > > > > IMPORTANT: if you fix the issue, please add the following tag to the co= mmit: > > 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-20200= 710-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#bise= ction > > syzbot can test patches for this issue, for details see: > > https://goo.gl/tpsmEJ#testing-patches =20 >=20 > 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. #syz fix: mm-oom-make-the-calculation-of-oom-badness-more-accurate-v3 --=20 Cheers, Stephen Rothwell --Sig_/OZqELQeYl2hzk=93DoC5kM4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl8OnGoACgkQAVBC80lX 0GxSOwgAnQvhricRi5/pRseVMAVvmcQHIUSp7ht0HIMwoTXFLM4wMmF1Jo+k3s10 k10vF944IM96X3zCXTtz3v1tIQNDOQUzgs8YwuThUuEIGFTZ4rvh+g7x1p+6uFFA AF8dSFNyajcBrdVNihOoMHP1jNpVx4jAGq/mqfhX4ioSLvECaw9Oo7sd7hbvsg9D 7AbSDHOlaBqomewEQTBhbu8+BhWiZLpop0fs7rRQEcyF25Upof7OqY0EcqxV/Ah8 J0x5hHNsB643odfv0c2zSWIP55sE/edwdSTHLiWPM0kJ1iA8XP9VWJN8IE6ucgjL Onw+CS6I/QLzVleHNoyhx4Uw7CbGgg== =MlP5 -----END PGP SIGNATURE----- --Sig_/OZqELQeYl2hzk=93DoC5kM4--