syzbot


WARNING in huge_pmd_set_accessed

Status: closed as dup on 2021/03/12 08:52
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+edb1179c837e79cc2fc3@syzkaller.appspotmail.com
First crash: 1384d, last: 1374d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in kvm_wait kvm C error 119882 1366d 1383d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in huge_pmd_set_accessed 1 (2) 2021/03/12 08:52

Sample crash report:
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 1 PID: 8403 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Modules linked in:
CPU: 1 PID: 8403 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 c2 c9 ab 04 00 74 01 c3 48 c7 c7 60 79 6b 89 c6 05 b1 c9 ab 04 01 e8 61 bc 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:ffffc90001387ac8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff888028be1000 RCX: 0000000000000000
RDX: ffff888023274400 RSI: ffffffff815b4085 RDI: fffff52000270f4b
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815acdee R11: 0000000000000000 R12: 0000000000000003
R13: ffffed100517c200 R14: 0000000000000001 R15: ffff8880b9d36000
FS:  000000c000257090(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0001cefe0 CR3: 0000000019805000 CR4: 00000000001506e0
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 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
 spin_lock include/linux/spinlock.h:354 [inline]
 pmd_lock include/linux/mm.h:2285 [inline]
 huge_pmd_set_accessed+0x103/0x320 mm/huge_memory.c:1261
 __handle_mm_fault+0xeeb/0x4f70 mm/memory.c:4447
 handle_page_fault arch/x86/mm/fault.c:1475 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1531
Code: ce 48 89 c7 4c 89 d0 4c 8b 02 4c 89 84 24 00 01 00 00 0f 10 42 08 0f 11 84 24 08 01 00 00 0f 10 42 18 0f 11 84 24 18 01 00 00 <4c> 8b 84 24 00 01 00 00 4c 89 84 24 88 00 00 00 0f 10 84 24 08 01
RSP: 002b:000000c0001ceee0 EFLAGS: 00010293
RAX: 0000000000d7d020 RBX: 000000c0001cf650 RCX: 0000000000000003
RDX: 00000000010d05a8 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 000000c0001cf008 R08: 0000000000777f97 R09: 0000000000000000
R13: 0000000000000034 R14: 000000000000000c R15: 000000c000506630
CPU: 1 PID: 8403 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 c2 c9 ab 04 00 74 01 c3 48 c7 c7 60 79 6b 89 c6 05 b1 c9 ab 04 01 e8 61 bc 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:ffffc90001387ac8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff888028be1000 RCX: 0000000000000000
RDX: ffff888023274400 RSI: ffffffff815b4085 RDI: fffff52000270f4b
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815acdee R11: 0000000000000000 R12: 0000000000000003
R13: ffffed100517c200 R14: 0000000000000001 R15: ffff8880b9d36000
 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]
 pmd_lock include/linux/mm.h:2285 [inline]
 huge_pmd_set_accessed+0x103/0x320 mm/huge_memory.c:1261
 __handle_mm_fault+0xeeb/0x4f70 mm/memory.c:4447
 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:0x59b72a
Code: ce 48 89 c7 4c 89 d0 4c 8b 02 4c 89 84 24 00 01 00 00 0f 10 42 08 0f 11 84 24 08 01 00 00 0f 10 42 18 0f 11 84 24 18 01 00 00 <4c> 8b 84 24 00 01 00 00 4c 89 84 24 88 00 00 00 0f 10 84 24 08 01
RSP: 002b:000000c0001ceee0 EFLAGS: 00010293
RAX: 0000000000d7d020 RBX: 000000c0001cf650 RCX: 0000000000000003
RDX: 00000000010d05a8 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 000000c0001cf008 R08: 0000000000777f97 R09: 0000000000000000
R10: 0000000000d7d020 R11: 000000005e4e2f3a R12: 000000c000506635
R13: 0000000000000034 R14: 000000000000000c R15: 000000c000506630
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/18 14:23 upstream 6417f03132a6 7216542e .config console log report ci-upstream-kasan-gce-selinux-root WARNING in huge_pmd_set_accessed
2021/03/11 15:35 upstream 05a59d79793d c2ca1f2a .config console log report ci-upstream-kasan-gce-selinux-root WARNING in huge_pmd_set_accessed
2021/03/10 14:48 upstream 05a59d79793d 26967e35 .config console log report ci-upstream-kasan-gce-selinux-root WARNING in huge_pmd_set_accessed
2021/03/10 07:53 upstream 144c79ef3353 26967e35 .config console log report ci-upstream-kasan-gce-selinux-root WARNING in huge_pmd_set_accessed
2021/03/08 06:57 upstream 144c79ef3353 09fbf400 .config console log report ci-upstream-kasan-gce-selinux-root WARNING in huge_pmd_set_accessed
* Struck through repros no longer work on HEAD.