From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751040AbdLZAzx (ORCPT ); Mon, 25 Dec 2017 19:55:53 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:37966 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbdLZAzu (ORCPT ); Mon, 25 Dec 2017 19:55:50 -0500 X-Google-Smtp-Source: ACJfBosErvK2H0H6nOHTH+vnpeUPURsVAwQIwBQLMqg6JhMsmY+H1s1bgttd8c+brsfxFeGtqjd385/eV1K30Wj5kpQ= MIME-Version: 1.0 In-Reply-To: <001a1141c43a81e725056133453e@google.com> References: <001a113f83b2b3b8b8055cd621f3@google.com> <001a1141c43a81e725056133453e@google.com> From: Wanpeng Li Date: Tue, 26 Dec 2017 08:55:49 +0800 Message-ID: Subject: Re: WARNING in do_debug To: syzbot Cc: David Hildenbrand , Dmitry Vyukov , Haozhong Zhang , kvm , linux-kernel@vger.kernel.org, Ingo Molnar , Paolo Bonzini , Radim Krcmar , syzkaller-bugs@googlegroups.com, Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-12-26 8:22 GMT+08:00 syzbot : > syzkaller has found reproducer for the following crash on > 464e1d5f23cca236b930ef068c328a64cab78fb1 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See https://goo.gl/kgGztJ > for information about syzkaller reproducers > https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?h=queue&id=ed3b37ac63a060bdc184d126c0655c1af8b6de62 There is a fix in kvm/queue. Regards, Wanpeng Li > > WARNING: CPU: 0 PID: 3356 at arch/x86/kernel/traps.c:801 > cond_local_irq_disable arch/x86/kernel/traps.c:86 [inline] > WARNING: CPU: 0 PID: 3356 at arch/x86/kernel/traps.c:801 > do_debug+0x4d8/0x6e0 arch/x86/kernel/traps.c:815 > Kernel panic - not syncing: panic_on_warn set ... > > CPU: 0 PID: 3356 Comm: syzkaller834441 Not tainted 4.15.0-rc5+ #237 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: > <#DB> > __dump_stack lib/dump_stack.c:17 [inline] > dump_stack+0x194/0x257 lib/dump_stack.c:53 > panic+0x1e4/0x41c kernel/panic.c:183 > __warn+0x1dc/0x200 kernel/panic.c:547 > report_bug+0x211/0x2d0 lib/bug.c:184 > fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 > fixup_bug arch/x86/kernel/traps.c:247 [inline] > do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 > do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 > invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1061 > RIP: 0010:cond_local_irq_disable arch/x86/kernel/traps.c:86 [inline] > RIP: 0010:do_debug+0x4d8/0x6e0 arch/x86/kernel/traps.c:815 > RSP: 0018:fffffe800000ee98 EFLAGS: 00010246 > RAX: dffffc0000000000 RBX: fffffe800000ef58 RCX: 0000000000000000 > RDX: 1fffffd000001dfc RSI: 0000000000000001 RDI: ffffffff85ec81f8 > RBP: fffffe800000ef48 R08: fffffe800000efe8 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000e003 > R13: ffff8801c2340040 R14: 1fffffd000001dd8 R15: 0000000000004000 > debug+0x34/0x60 arch/x86/entry/entry_64.S:1214 > RIP: 0010:__put_user_8+0x1f/0x25 arch/x86/lib/putuser.S:83 > RSP: 0018:ffff8801c9f8ff28 EFLAGS: 00000293 > RAX: 000000005a4195b6 RBX: 00007fffffffeff9 RCX: 0000000020000000 > RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000282 > RBP: ffff8801c9f8ff48 R08: 0000000000000000 R09: 1ffff100393f1fc2 > R10: ffff8801c9f8fdd8 R11: 0000000000000000 R12: 000000005a4195b6 > R13: 0000000020000000 R14: 00007f2c937f99c0 R15: 0000000000000001 > > entry_SYSCALL_64_fastpath+0x1f/0x96 > RIP: 0033:0x44aef9 > RSP: 002b:00007f2c937f8ce8 EFLAGS: 00000206 ORIG_RAX: 00000000000000c9 > RAX: ffffffffffffffda RBX: 00000000006dcc24 RCX: 000000000044aef9 > RDX: 000000000044aef9 RSI: 000000000044aef9 RDI: 0000000020000000 > RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 > R13: 00007ffe9191073f R14: 00007f2c937f99c0 R15: 0000000000000001 > > Dumping ftrace buffer: > (ftrace buffer empty) > Kernel Offset: disabled > Rebooting in 86400 seconds.. > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanpeng Li Subject: Re: WARNING in do_debug Date: Tue, 26 Dec 2017 08:55:49 +0800 Message-ID: References: <001a113f83b2b3b8b8055cd621f3@google.com> <001a1141c43a81e725056133453e@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: David Hildenbrand , Dmitry Vyukov , Haozhong Zhang , kvm , linux-kernel@vger.kernel.org, Ingo Molnar , Paolo Bonzini , Radim Krcmar , syzkaller-bugs@googlegroups.com, Thomas Gleixner To: syzbot Return-path: In-Reply-To: <001a1141c43a81e725056133453e@google.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2017-12-26 8:22 GMT+08:00 syzbot : > syzkaller has found reproducer for the following crash on > 464e1d5f23cca236b930ef068c328a64cab78fb1 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See https://goo.gl/kgGztJ > for information about syzkaller reproducers > https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?h=queue&id=ed3b37ac63a060bdc184d126c0655c1af8b6de62 There is a fix in kvm/queue. Regards, Wanpeng Li > > WARNING: CPU: 0 PID: 3356 at arch/x86/kernel/traps.c:801 > cond_local_irq_disable arch/x86/kernel/traps.c:86 [inline] > WARNING: CPU: 0 PID: 3356 at arch/x86/kernel/traps.c:801 > do_debug+0x4d8/0x6e0 arch/x86/kernel/traps.c:815 > Kernel panic - not syncing: panic_on_warn set ... > > CPU: 0 PID: 3356 Comm: syzkaller834441 Not tainted 4.15.0-rc5+ #237 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: > <#DB> > __dump_stack lib/dump_stack.c:17 [inline] > dump_stack+0x194/0x257 lib/dump_stack.c:53 > panic+0x1e4/0x41c kernel/panic.c:183 > __warn+0x1dc/0x200 kernel/panic.c:547 > report_bug+0x211/0x2d0 lib/bug.c:184 > fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 > fixup_bug arch/x86/kernel/traps.c:247 [inline] > do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 > do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 > invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1061 > RIP: 0010:cond_local_irq_disable arch/x86/kernel/traps.c:86 [inline] > RIP: 0010:do_debug+0x4d8/0x6e0 arch/x86/kernel/traps.c:815 > RSP: 0018:fffffe800000ee98 EFLAGS: 00010246 > RAX: dffffc0000000000 RBX: fffffe800000ef58 RCX: 0000000000000000 > RDX: 1fffffd000001dfc RSI: 0000000000000001 RDI: ffffffff85ec81f8 > RBP: fffffe800000ef48 R08: fffffe800000efe8 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000e003 > R13: ffff8801c2340040 R14: 1fffffd000001dd8 R15: 0000000000004000 > debug+0x34/0x60 arch/x86/entry/entry_64.S:1214 > RIP: 0010:__put_user_8+0x1f/0x25 arch/x86/lib/putuser.S:83 > RSP: 0018:ffff8801c9f8ff28 EFLAGS: 00000293 > RAX: 000000005a4195b6 RBX: 00007fffffffeff9 RCX: 0000000020000000 > RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000282 > RBP: ffff8801c9f8ff48 R08: 0000000000000000 R09: 1ffff100393f1fc2 > R10: ffff8801c9f8fdd8 R11: 0000000000000000 R12: 000000005a4195b6 > R13: 0000000020000000 R14: 00007f2c937f99c0 R15: 0000000000000001 > > entry_SYSCALL_64_fastpath+0x1f/0x96 > RIP: 0033:0x44aef9 > RSP: 002b:00007f2c937f8ce8 EFLAGS: 00000206 ORIG_RAX: 00000000000000c9 > RAX: ffffffffffffffda RBX: 00000000006dcc24 RCX: 000000000044aef9 > RDX: 000000000044aef9 RSI: 000000000044aef9 RDI: 0000000020000000 > RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 > R13: 00007ffe9191073f R14: 00007f2c937f99c0 R15: 0000000000000001 > > Dumping ftrace buffer: > (ftrace buffer empty) > Kernel Offset: disabled > Rebooting in 86400 seconds.. >