syzbot


WARNING in __handle_mm_fault (2)

Status: auto-closed as invalid on 2021/07/17 20:44
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+ce14a1f8667e17a759a5@syzkaller.appspotmail.com
First crash: 1141d, last: 1131d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in __handle_mm_fault (2) 0 (1) 2021/03/09 15:34
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __handle_mm_fault kernel 1 1144d 1144d 0/26 closed as invalid on 2021/03/07 09:48

Sample crash report:
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 0 PID: 8402 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Modules linked in:
CPU: 0 PID: 8402 Comm: syz-fuzzer Not tainted 5.12.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Code: be ff cc cc cc cc cc cc cc cc cc cc cc 80 3d f6 9c ab 04 00 74 01 c3 48 c7 c7 a0 7b 6b 89 c6 05 e5 9c ab 04 01 e8 b1 b8 be ff <0f> 0b c3 48 39 77 10 0f 84 97 00 00 00 66 f7 47 22 f0 ff 74 4b 48
RSP: 0000:ffffc90001c37b70 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880119325a0 RCX: 0000000000000000
RDX: ffff888017a20000 RSI: ffffffff815b6f85 RDI: fffff52000386f60
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815afcee R11: 0000000000000000 R12: 0000000000000003
R13: ffffed10023264b4 R14: 0000000000000001 R15: ffff8880b9c36000
FS:  000000000182c2b0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa47058ef80 CR3: 000000001c2c4000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 spin_lock include/linux/spinlock.h:354 [inline]
 do_anonymous_page mm/memory.c:3567 [inline]
 handle_pte_fault mm/memory.c:4316 [inline]
 __handle_mm_fault+0x21f8/0x4f70 mm/memory.c:4453
RIP: 0033:0x430381
RDX: 0000000001854568 RSI: 000000000182be60 RDI: 000000000182c220
RBP: 000000c000026648 R08: 0000000000000003 R09: 0000000000000002
R13: 0000000000000008 R14: 00007fa4707501b8 R15: 0000000000000001
CPU: 0 PID: 8402 Comm: syz-fuzzer Not tainted 5.12.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 panic+0x306/0x73d kernel/panic.c:231
 __warn.cold+0x35/0x44 kernel/panic.c:605
 report_bug+0x1bd/0x210 lib/bug.c:195
 handle_bug+0x3c/0x60 arch/x86/kernel/traps.c:239
 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:259
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:575
RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Code: be ff cc cc cc cc cc cc cc cc cc cc cc 80 3d f6 9c ab 04 00 74 01 c3 48 c7 c7 a0 7b 6b 89 c6 05 e5 9c ab 04 01 e8 b1 b8 be ff <0f> 0b c3 48 39 77 10 0f 84 97 00 00 00 66 f7 47 22 f0 ff 74 4b 48
RSP: 0000:ffffc90001c37b70 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880119325a0 RCX: 0000000000000000
RDX: ffff888017a20000 RSI: ffffffff815b6f85 RDI: fffff52000386f60
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815afcee R11: 0000000000000000 R12: 0000000000000003
R13: ffffed10023264b4 R14: 0000000000000001 R15: ffff8880b9c36000
 kvm_wait arch/x86/kernel/kvm.c:860 [inline]
 kvm_wait+0xc9/0xe0 arch/x86/kernel/kvm.c:837
 pv_wait arch/x86/include/asm/paravirt.h:564 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x8b8/0xb40 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113
 spin_lock include/linux/spinlock.h:354 [inline]
 do_anonymous_page mm/memory.c:3567 [inline]
 handle_pte_fault mm/memory.c:4316 [inline]
 __handle_mm_fault+0x21f8/0x4f70 mm/memory.c:4453
 handle_mm_fault+0x1bc/0x7e0 mm/memory.c:4551
 do_user_addr_fault+0x483/0x1210 arch/x86/mm/fault.c:1390
 handle_page_fault arch/x86/mm/fault.c:1475 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1531
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:577
RIP: 0033:0x430381
Code: 05 bc c7 42 01 48 89 04 24 e8 fb 03 00 00 48 8b 44 24 08 48 89 44 24 48 48 8b 4c 24 38 48 c1 e1 03 48 8b 54 24 60 48 03 4a 08 <48> 87 01 48 8b 44 24 30 48 ff c0 48 87 42 10 90 90 48 89 14 24 e8
RSP: 002b:000000c0000265f8 EFLAGS: 00010202
RAX: 00007fa47058f780 RBX: 000000000182c220 RCX: 00007fa47058ef80
RDX: 0000000001854568 RSI: 000000000182be60 RDI: 000000000182c220
RBP: 000000c000026648 R08: 0000000000000003 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000007
R13: 0000000000000008 R14: 00007fa4707501b8 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/19 20:43 upstream 8b12a62a4e3e 2af9d324 .config console log report ci-upstream-kasan-gce-selinux-root WARNING in __handle_mm_fault
2021/03/10 02:09 upstream 144c79ef3353 26967e35 .config console log report ci-upstream-kasan-gce-selinux-root WARNING in __handle_mm_fault
2021/03/09 02:48 upstream 144c79ef3353 09fbf400 .config console log report ci-upstream-kasan-gce-selinux-root WARNING in __handle_mm_fault
* Struck through repros no longer work on HEAD.