syzbot


BUG: soft lockup in tasklet_action_common

Status: auto-closed as invalid on 2021/03/27 20:27
Reported-by: syzbot+8558f29ec66a172f38fa@syzkaller.appspotmail.com
First crash: 1511d, last: 1467d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in tasklet_action_common (2) 1 1056d 1056d 0/1 auto-closed as invalid on 2022/05/12 18:22
upstream BUG: soft lockup in tasklet_action_common wireless 1 1462d 1458d 0/28 closed as invalid on 2020/12/07 06:24

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 134s! [syz-executor.1:31599]
Modules linked in:
irq event stamp: 21521223
hardirqs last  enabled at (21521222): [<ffffffff81004313>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (21521223): [<ffffffff8100432f>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (21479850): [<ffffffff8840069a>] __do_softirq+0x69a/0x9a0 kernel/softirq.c:318
softirqs last disabled at (21479853): [<ffffffff813a3c55>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (21479853): [<ffffffff813a3c55>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 31599 Comm: syz-executor.1 Not tainted 4.19.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:143 [inline]
RIP: 0010:unwind_next_frame+0x1ef/0x1c60 arch/x86/kernel/unwind_orc.c:422
Code: 48 3c 01 48 83 d9 00 48 85 c9 0f 84 9d 03 00 00 48 81 f9 00 00 00 81 0f 82 6a 01 00 00 48 81 f9 00 70 40 88 0f 83 5d 01 00 00 <44> 8b 15 2a 66 3b 0b 48 89 ce 48 81 ee 00 00 00 81 48 c1 ee 08 41
RSP: 0018:ffff8880ba007768 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff11017400ef5 RCX: ffffffff813a4b44
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000074071 R11: 0000000000000001 R12: ffff8880ba007898
R13: ffff8880ba007885 R14: ffff8880ba007888 R15: ffff8880ba007850
FS:  00007f9358f41700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a452942138 CR3: 000000009be8c000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
 save_stack mm/kasan/kasan.c:448 [inline]
 set_track mm/kasan/kasan.c:460 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
 slab_post_alloc_hook mm/slab.h:445 [inline]
 slab_alloc_node mm/slab.c:3340 [inline]
 kmem_cache_alloc_node_trace+0x13c/0x3b0 mm/slab.c:3666
 __do_kmalloc_node mm/slab.c:3688 [inline]
 __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703
 __kmalloc_reserve net/core/skbuff.c:137 [inline]
 __alloc_skb+0xae/0x560 net/core/skbuff.c:205
 skb_copy+0x139/0x2f0 net/core/skbuff.c:1349
 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb8a/0x1330 drivers/net/wireless/mac80211_hwsim.c:1353
 mac80211_hwsim_tx_frame+0x12b/0x210 drivers/net/wireless/mac80211_hwsim.c:1556
 mac80211_hwsim_beacon_tx+0x3f8/0x680 drivers/net/wireless/mac80211_hwsim.c:1595
 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
 __do_softirq+0x26c/0x9a0 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:167 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline]
RIP: 0010:check_memory_region+0xcb/0x170 mm/kasan/kasan.c:267
Code: 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 e8 80 38 00 <74> f2 eb d8 41 bc 08 00 00 00 48 89 ea 45 29 dc 4e 8d 5c 25 00 eb
RSP: 0018:ffff8880427c76e8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffed1017404552 RBX: ffffed1017404553 RCX: ffffffff815383f3
RDX: ffffed1017404553 RSI: 0000000000000004 RDI: ffff8880ba022a90
RBP: ffffed1017404552 R08: 0000000000000000 R09: ffffed1017404552
R10: ffff8880ba022a93 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dead000000000100 R15: 00007f935b706000
 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline]
 rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:350 [inline]
 rcu_is_watching+0x53/0xc0 kernel/rcu/tree.c:1025
 rcu_read_unlock include/linux/rcupdate.h:677 [inline]
 __unlock_page_memcg+0x72/0x100 mm/memcontrol.c:1955
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1300
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1452 [inline]
 zap_pud_range mm/memory.c:1481 [inline]
 zap_p4d_range mm/memory.c:1502 [inline]
 unmap_page_range+0x12f6/0x2a70 mm/memory.c:1523
 unmap_single_vma+0x198/0x300 mm/memory.c:1568
 unmap_vmas+0xa9/0x180 mm/memory.c:1598
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1015 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1036
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaf0/0x2be0 kernel/exit.c:877
 do_group_exit+0x125/0x310 kernel/exit.c:993
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:821
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45deb9
Code: Bad RIP value.
RSP: 002b:00007f9358f40c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: 0000000020000000 RBX: 0000000000021280 RCX: 000000000045deb9
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 000000000118c020 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffedc567a1f R14: 00007f9358f419c0 R15: 000000000118bfd4
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 31679 Comm: kworker/u4:10 Not tainted 4.19.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:123 [inline]
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:436 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x3b0/0xae0 kernel/locking/qspinlock.c:474
Code: 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 38 04 00 00 <41> 0f b6 45 00 38 d8 7f 08 84 c0 0f 85 75 05 00 00 0f b6 45 00 84
RSP: 0018:ffff8880ba107b20 EFLAGS: 00000202
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff1b9abe8
RDX: 0000000000000001 RSI: ffffffff816a0285 RDI: 0000000000000282
RBP: ffffffff8dcd5f40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000007fb5
R13: fffffbfff1b9abe8 R14: 0000000000000001 R15: ffff8880ba12bd80
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00f804b70 CR3: 00000000b531f000 CR4: 00000000001406e0
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:679 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:88 [inline]
 do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113
 spin_lock include/linux/spinlock.h:329 [inline]
 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f6/0x1330 drivers/net/wireless/mac80211_hwsim.c:1304
 mac80211_hwsim_tx_frame+0x12b/0x210 drivers/net/wireless/mac80211_hwsim.c:1556
 mac80211_hwsim_beacon_tx+0x3f8/0x680 drivers/net/wireless/mac80211_hwsim.c:1595
 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
 __do_softirq+0x26c/0x9a0 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3910
Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d 79 e2 a4 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b
RSP: 0018:ffff888044edfbe8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3021 RBX: ffff88804e95a6c0 RCX: 13f08963d58d90a0
RDX: dffffc0000000000 RSI: 000000009cf36987 RDI: 0000000000000282
RBP: ffffffff89f85be0 R08: 000000008c9d5292 R09: 0000000000000002
R10: ffff88804e95af98 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:242 [inline]
 rcu_read_lock include/linux/rcupdate.h:627 [inline]
 batadv_nc_process_nc_paths.part.0+0xec/0x3d0 net/batman-adv/network-coding.c:698
 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:690 [inline]
 batadv_nc_worker+0xa59/0xd50 net/batman-adv/network-coding.c:746
 process_one_work+0x864/0x1570 kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/27 20:26 linux-4.19.y 0c88e405c97e 486f93ef .config console log report info ci2-linux-4-19
2020/10/27 19:35 linux-4.19.y ad326970d25c 94942294 .config console log report info ci2-linux-4-19
2020/10/14 22:39 linux-4.19.y a1b977b49b66 fc7735a2 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.