syzbot


BUG: soft lockup in sfq_perturbation

Status: closed as invalid on 2019/12/08 05:44
Subsystems: net
[Documentation on labels]
First crash: 1657d, last: 1657d

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 121s! [syz-executor.1:32310]
Modules linked in:
irq event stamp: 19647607
hardirqs last  enabled at (19647606): [<ffffffff8100671a>] trace_hardirqs_on_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:41
hardirqs last disabled at (19647607): [<ffffffff8100673a>] trace_hardirqs_off_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:42
softirqs last  enabled at (3132892): [<ffffffff878006cd>] __do_softirq+0x6cd/0x98c kernel/softirq.c:319
softirqs last disabled at (3133433): [<ffffffff81460a0b>] invoke_softirq kernel/softirq.c:373 [inline]
softirqs last disabled at (3133433): [<ffffffff81460a0b>] irq_exit+0x19b/0x1e0 kernel/softirq.c:413
CPU: 1 PID: 32310 Comm: syz-executor.1 Not tainted 5.4.0-rc1+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sfq_perturbation+0x129/0x1cf0 net/sched/sch_sfq.c:612
Code: 7f 01 e8 3a 56 77 fd 48 8b b5 00 ff ff ff 48 ba 00 00 00 00 00 fc ff df 48 8d be 9c fd ff ff 48 89 f9 48 c1 e9 03 0f b6 0c 11 <48> 89 fa 83 e2 07 83 c2 03 38 ca 7c 08 84 c9 0f 85 d8 15 00 00 48
RSP: 0018:ffff8880ae909b90 EFLAGS: 00000a03 ORIG_RAX: ffffffffffffff13
RAX: 00000000a963e570 RBX: ffff8880316b0780 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffff8880671a1a70 RDI: ffff8880671a180c
RBP: ffff8880ae909d00 R08: ffff88802c96c280 R09: ffffed1015d21360
R10: ffffed1015d2135f R11: 0000000000000003 R12: 0000000000000101
R13: ffff8880ae909db0 R14: 0000000000000000 R15: ffff8880671a1540
FS:  00007f3ab3aa6700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000b49978 CR3: 00000000928a6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0xdca/0x1790 kernel/time/timer.c:1788
 __do_softirq+0x262/0x98c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x19b/0x1e0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline]
RIP: 0010:lock_release+0x4c0/0x960 kernel/locking/lockdep.c:4509
Code: 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 8c 03 00 00 48 83 3d ef d6 99 07 00 0f 84 7f 01 00 00 48 8b bd 48 ff ff ff 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00
RSP: 0018:ffff8880116675c8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff11e63a4 RBX: 1ffff110022ccebe RCX: 1ffff1100592d961
RDX: dffffc0000000000 RSI: 1ffff1100592d968 RDI: 0000000000000286
RBP: ffff888011667698 R08: 0000000000000002 R09: ffff88802c96cb10
R10: fffffbfff138b728 R11: ffffffff89c5b947 R12: ffff88802c96c280
R13: ffffffff81b44653 R14: ffff888011667670 R15: ffff88802c96c280
 rcu_lock_release include/linux/rcupdate.h:213 [inline]
 rcu_read_unlock include/linux/rcupdate.h:653 [inline]
 __unlock_page_memcg+0x70/0x100 mm/memcontrol.c:2131
 unlock_page_memcg+0x2c/0x40 mm/memcontrol.c:2140
 page_remove_file_rmap mm/rmap.c:1253 [inline]
 page_remove_rmap+0x614/0x1190 mm/rmap.c:1304
 zap_pte_range mm/memory.c:1062 [inline]
 zap_pmd_range mm/memory.c:1166 [inline]
 zap_pud_range mm/memory.c:1195 [inline]
 zap_p4d_range mm/memory.c:1216 [inline]
 unmap_page_range+0xd82/0x25f0 mm/memory.c:1237
 unmap_single_vma+0x19d/0x300 mm/memory.c:1282
 unmap_vmas+0x189/0x300 mm/memory.c:1314
 exit_mmap+0x2ba/0x530 mm/mmap.c:3161
 __mmput kernel/fork.c:1079 [inline]
 mmput+0x179/0x4d0 kernel/fork.c:1100
 exit_mm kernel/exit.c:485 [inline]
 do_exit+0x823/0x2e60 kernel/exit.c:804
 do_group_exit+0x135/0x360 kernel/exit.c:921
 get_signal+0x47c/0x2500 kernel/signal.c:2734
 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:159
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x65f/0x760 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459a59
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f3ab3aa5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000459a59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3ab3aa66d4
R13: 00000000004bf275 R14: 00000000004db028 R15: 00000000ffffffff
Sending NMI from CPU 1 to CPUs 0:
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.189 msecs
NMI backtrace for cpu 0
CPU: 0 PID: 32278 Comm: syz-executor.3 Not tainted 5.4.0-rc1+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0x3bb/0x4a00 kernel/locking/lockdep.c:3896
Code: 48 c1 ea 03 48 b8 00 00 00 00 00 fc ff df 44 09 c9 44 8b 4d 20 41 09 cf 41 c1 e1 14 45 09 cf 45 8b 4a 20 41 81 e1 ff 1f 00 00 <45> 09 cf 45 89 7a 20 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0
RSP: 0018:ffff8880ae809578 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000046000
RDX: 1ffff11005667166 RSI: 0000000000000000 RDI: ffff88802b338b34
RBP: ffff8880ae809690 R08: 0000000000000001 R09: 0000000000000000
R10: ffff88802b338b10 R11: ffff88802b338200 R12: 0000000000000000
R13: 0000000000006000 R14: 0000000000000002 R15: 00000000000c6000
FS:  00007f9a38b4e700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c4203a7700 CR3: 000000005f33d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4487
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x95/0xcd kernel/locking/spinlock.c:159
 debug_object_activate+0x131/0x470 lib/debugobjects.c:632
 debug_hrtimer_activate kernel/time/hrtimer.c:416 [inline]
 debug_activate kernel/time/hrtimer.c:476 [inline]
 enqueue_hrtimer+0x2a/0x420 kernel/time/hrtimer.c:965
 __run_hrtimer kernel/time/hrtimer.c:1529 [inline]
 __hrtimer_run_queues+0xaed/0xe40 kernel/time/hrtimer.c:1576
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1638
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline]
RIP: 0010:lock_acquire+0x20b/0x410 kernel/locking/lockdep.c:4490
Code: 94 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 d3 01 00 00 48 83 3d 41 d0 99 07 00 0f 84 53 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b
RSP: 0018:ffff8880ae809b18 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff11e63a4 RBX: ffff88802b338200 RCX: ffffffff81590042
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000286
RBP: ffff8880ae809b60 R08: 0000000000003c4f R09: fffffbfff14ee143
R10: ffff88802b338ac0 R11: ffff88802b338200 R12: ffff8880a8724680
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:338 [inline]
 sfq_perturbation+0x101/0x1cf0 net/sched/sch_sfq.c:611
 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0xdca/0x1790 kernel/time/timer.c:1788
 __do_softirq+0x262/0x98c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x19b/0x1e0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
 </IRQ>
RIP: 0010:__kasan_check_write+0x0/0x20 mm/kasan/common.c:97
Code: e9 0e ef ff ff 90 90 90 90 90 55 89 f6 31 d2 48 89 e5 48 8b 4d 08 e8 cf 26 00 00 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 <55> 89 f6 ba 01 00 00 00 48 89 e5 48 8b 4d 08 e8 ac 26 00 00 5d c3
RSP: 0018:ffff88801a8d7568 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff88802b338200 RBX: ffffea00023c19f4 RCX: ffffffff81937980
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00023c19f4
RBP: ffff88801a8d7650 R08: ffff88802b338200 R09: fffff9400047833f
R10: fffff9400047833e R11: ffffea00023c19f7 R12: 000000000000003b
R13: 0000000000000009 R14: ffffea00023c19c0 R15: dffffc0000000000
 free_pages_and_swap_cache+0x2c3/0x3f0 mm/swap_state.c:296
 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:184 [inline]
 tlb_flush_mmu+0x89/0x630 mm/mmu_gather.c:191
 zap_pte_range mm/memory.c:1128 [inline]
 zap_pmd_range mm/memory.c:1166 [inline]
 zap_pud_range mm/memory.c:1195 [inline]
 zap_p4d_range mm/memory.c:1216 [inline]
 unmap_page_range+0x1a3a/0x25f0 mm/memory.c:1237
 unmap_single_vma+0x19d/0x300 mm/memory.c:1282
 unmap_vmas+0x189/0x300 mm/memory.c:1314
 exit_mmap+0x2ba/0x530 mm/mmap.c:3161
 __mmput kernel/fork.c:1079 [inline]
 mmput+0x179/0x4d0 kernel/fork.c:1100
 exit_mm kernel/exit.c:485 [inline]
 do_exit+0x823/0x2e60 kernel/exit.c:804
 do_group_exit+0x135/0x360 kernel/exit.c:921
 get_signal+0x47c/0x2500 kernel/signal.c:2734
 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:159
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x65f/0x760 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459a59
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9a38b4dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000459a59
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000006
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9a38b4e6d4
R13: 00000000004bfbec R14: 00000000004d1ba8 R15: 00000000ffffffff

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/06 04:05 upstream 4ea655343ce4 f3f7d9c8 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.