syzbot


BUG: soft lockup in __run_hrtimer

Status: auto-closed as invalid on 2021/01/25 09:17
Reported-by: syzbot+034e545160d2d40364e8@syzkaller.appspotmail.com
First crash: 1522d, last: 1518d

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.2:26763]
Modules linked in:
CPU: 0 PID: 26763 Comm: syz-executor.2 Not tainted 5.4.67-syzkaller-00418-gc43f5a389e8c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mac80211_hwsim_tx_frame_no_nl+0x70b/0x16f0 drivers/net/wireless/mac80211_hwsim.c:1298
Code: 0a 00 00 c6 84 24 48 01 00 00 00 4c 39 64 24 60 0f 84 89 00 00 00 49 8d 9c 24 1c 13 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 27 0a 00 00 0f b6 1b 31 ff 89 de e8 a1 db be fe 85 db
RSP: 0018:ffff8881db809a80 EFLAGS: 00000a07 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff88813276b25c RCX: ffff8881c8a26c80
RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881db809c30 R08: ffffffff8282901f R09: ffffffff828290cc
R10: ffff8881c8a26c80 R11: 0000000000000002 R12: ffff888132769f40
R13: dffffc0000000000 R14: ffff88814b4320c8 R15: 1ffff1103b701379
FS:  00007f5f5b9db700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000019e5b2006 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 mac80211_hwsim_tx_frame+0x135/0x170 drivers/net/wireless/mac80211_hwsim.c:1539
 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578
 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738
 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774
 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596
 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517
 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline]
 hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596
 __do_softirq+0x22e/0x569 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x16d/0x180 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:546 [inline]
 smp_apic_timer_interrupt+0x281/0x3f0 arch/x86/kernel/apic/apic.c:1146
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831
 </IRQ>
RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0xc/0x12
Code: 56 57 41 50 41 51 41 52 41 53 e8 ef 0a 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 c3 66 90 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <3c> 01 75 02 5a c3 56 0f b6 f0 e8 c5 ff ff ff 5e 5a c3 66 90 55 48
RSP: 0018:ffff888199a9fa58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffffea00062bec01 RCX: 0000000000040000
RDX: 0000000000000000 RSI: 0000000000028a1e RDI: ffffea0004a22ce8
RBP: dead000000000100 R08: ffffffff815c85a8 R09: fffff94000c57d91
R10: fffff94000c57d91 R11: 0000000000000000 R12: ffff8881288b3be8
R13: ffffea00062bec80 R14: 1ffff1102511677d R15: ffffea0004a22ce8
 pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:647 [inline]
 queued_spin_unlock arch/x86/include/asm/qspinlock.h:55 [inline]
 do_raw_spin_unlock include/linux/spinlock.h:210 [inline]
 __raw_spin_unlock include/linux/spinlock_api_smp.h:151 [inline]
 _raw_spin_unlock+0x5/0x20 kernel/locking/spinlock.c:183
 spin_unlock include/linux/spinlock.h:378 [inline]
 follow_page_pte mm/gup.c:308 [inline]
 follow_pmd_mask mm/gup.c:374 [inline]
 follow_pud_mask mm/gup.c:469 [inline]
 follow_p4d_mask mm/gup.c:495 [inline]
 follow_page_mask+0xdde/0x1050 mm/gup.c:554
 __get_user_pages+0xc65/0x1420 mm/gup.c:858
 populate_vma_page_range mm/gup.c:1238 [inline]
 __mm_populate+0x390/0x550 mm/gup.c:1286
 mm_populate include/linux/mm.h:2398 [inline]
 __do_sys_mremap mm/mremap.c:736 [inline]
 __se_sys_mremap+0x6c6/0x1130 mm/mremap.c:595
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e179
Code: 3d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5f5b9dac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000019
RAX: ffffffffffffffda RBX: 0000000000021c80 RCX: 000000000045e179
RDX: 0000000000800000 RSI: 0000000000002000 RDI: 0000000020a94000
RBP: 000000000118d038 R08: 0000000020130000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 000000000118cff4
R13: 00007ffd212cb0cf R14: 00007f5f5b9db9c0 R15: 000000000118cff4
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26762 Comm: syz-executor.1 Not tainted 5.4.67-syzkaller-00418-gc43f5a389e8c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x5b2/0xc40 kernel/locking/qspinlock.c:507
Code: 01 00 00 c6 03 00 48 8b 44 24 18 42 8a 04 28 84 c0 0f 85 ba 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 08 66 90 f3 90 <ff> c3 74 5a 43 0f b6 04 2f 84 c0 75 30 41 80 3e 00 75 eb 4c 89 f7
RSP: 0018:ffff8881db9098e0 EFLAGS: 00000206
RAX: 0000000000000000 RBX: 00000000ffffb5d5 RCX: ffffffff812a6f89
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8881db909860
RBP: ffff8881db9099d0 R08: dffffc0000000000 R09: fffffbfff0bd10f7
R10: fffffbfff0bd10f7 R11: 0000000000000000 R12: ffff88821ffaee00
R13: dffffc0000000000 R14: ffffffff85e887b0 R15: 1ffffffff0bd10f6
FS:  00007fc4bdfe2700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32022000 CR3: 0000000131ca8002 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:642 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:50 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:81 [inline]
 do_raw_spin_lock include/linux/spinlock.h:181 [inline]
 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_lock+0x10c/0x170 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:338 [inline]
 mac80211_hwsim_tx_frame_no_nl+0x60e/0x16f0 drivers/net/wireless/mac80211_hwsim.c:1287
 mac80211_hwsim_tx_frame+0x135/0x170 drivers/net/wireless/mac80211_hwsim.c:1539
 mac80211_hwsim_beacon_tx+0x35e/0x570 drivers/net/wireless/mac80211_hwsim.c:1578
 __iterate_interfaces+0x1fc/0x390 net/mac80211/util.c:738
 ieee80211_iterate_active_interfaces_atomic+0x2e/0x40 net/mac80211/util.c:774
 mac80211_hwsim_beacon+0xa1/0x180 drivers/net/wireless/mac80211_hwsim.c:1596
 __run_hrtimer+0x405/0x7a0 kernel/time/hrtimer.c:1517
 __hrtimer_run_queues kernel/time/hrtimer.c:1579 [inline]
 hrtimer_run_softirq+0x320/0x450 kernel/time/hrtimer.c:1596
 __do_softirq+0x22e/0x569 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x16d/0x180 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:546 [inline]
 smp_apic_timer_interrupt+0x281/0x3f0 arch/x86/kernel/apic/apic.c:1146
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831
 </IRQ>
RIP: 0010:lru_add_drain_cpu+0xe8/0x4e0 mm/swap.c:596
Code: 89 de e8 9b 33 e2 ff 85 db 0f 84 6a 02 00 00 e8 0e 31 e2 ff 4c 89 ff 48 c7 c6 60 73 5f 81 31 d2 e8 9d ea ff ff 43 80 3c 2c 00 <74> 08 4c 89 f7 e8 fe e4 0f 00 49 c7 c5 d8 f3 02 00 4d 03 2e 4c 89
RSP: 0018:ffff888199b4f980 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 46c5be3f336e3800 RBX: 0000000000000001 RCX: 1ffff11033369eec
RDX: ffffc90002871000 RSI: 000000000001dc92 RDI: ffff888199b4f7a0
RBP: ffff888199b4fa50 R08: ffffffff815f6a3d R09: fffff94000bac64f
R10: fffff94000bac64f R11: 0000000000000000 R12: 1ffffffff0949cd9
R13: dffffc0000000000 R14: ffffffff84a4e6c8 R15: ffff8881db92f4d8
 lru_add_drain+0x1a/0x50 mm/swap.c:689
 follow_page_pte mm/gup.c:296 [inline]
 follow_pmd_mask mm/gup.c:374 [inline]
 follow_pud_mask mm/gup.c:469 [inline]
 follow_p4d_mask mm/gup.c:495 [inline]
 follow_page_mask+0xd99/0x1050 mm/gup.c:554
 __get_user_pages+0xc65/0x1420 mm/gup.c:858
 populate_vma_page_range mm/gup.c:1238 [inline]
 __mm_populate+0x390/0x550 mm/gup.c:1286
 mm_populate include/linux/mm.h:2398 [inline]
 __do_sys_mremap mm/mremap.c:736 [inline]
 __se_sys_mremap+0x6c6/0x1130 mm/mremap.c:595
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e179
Code: 3d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc4bdfe1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000019
RAX: ffffffffffffffda RBX: 0000000000021c80 RCX: 000000000045e179
RDX: 0000000000800000 RSI: 0000000000002000 RDI: 0000000020a94000
RBP: 000000000118d038 R08: 0000000020130000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 000000000118cff4
R13: 00007fff66310dbf R14: 00007fc4bdfe29c0 R15: 000000000118cff4

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/27 09:16 android12-5.4 c43f5a389e8c 5dd8aee8 .config console log report info ci2-android-5-4-kasan
2020/09/23 07:40 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 287cd75a .config console log report info ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.