syzbot


INFO: rcu detected stall in tasklet_action_common

Status: auto-closed as invalid on 2021/04/04 10:03
Reported-by: syzbot+276749c45ee44705c648@syzkaller.appspotmail.com
First crash: 1293d, last: 1244d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in tasklet_action_common wireless C error error 17 1242d 1240d 0/26 auto-obsoleted due to no activity on 2022/09/26 07:58

Sample crash report:
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
Bluetooth: hci2: command 0x0406 tx timeout
Bluetooth: hci1: command 0x0406 tx timeout
rcu: INFO: rcu_sched self-detected stall on CPU
rcu: 	1-....: (10493 ticks this GP) idle=71a/1/0x4000000000000004 softirq=145605/145946 fqs=5157 
rcu: 	 (t=10501 jiffies g=2653 q=5)
NMI backtrace for cpu 1
CPU: 1 PID: 17399 Comm: syz-executor.5 Not tainted 4.19.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15f/0x19c kernel/rcu/tree.c:1340
 print_cpu_stall kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x62d/0xe19 kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:149 [inline]
RIP: 0010:unwind_next_frame+0x231/0x1c60 arch/x86/kernel/unwind_orc.c:422
Code: ff 39 d6 0f 83 df 10 00 00 48 ba 00 00 00 00 00 fc ff df 41 89 f0 4a 8d 3c 85 8c 06 17 8c 49 89 f9 49 c1 e9 03 45 0f b6 0c 11 <48> 89 fa 83 e2 07 83 c2 03 44 38 ca 7c 32 45 84 c9 74 2d 4c 89 44
RSP: 0018:ffff8880ba107790 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff11017420efa RCX: ffffffff813a4b44
RDX: dffffc0000000000 RSI: 0000000000003a4b RDI: ffffffff8c17efb8
RBP: 0000000000000002 R08: 0000000000003a4b R09: 0000000000000000
R10: 0000000000074071 R11: 0000000000000001 R12: ffff8880ba1078c0
R13: ffff8880ba1078ad R14: ffff8880ba1078b0 R15: ffff8880ba107878
 __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 mm/slab.c:3397 [inline]
 kmem_cache_alloc+0x110/0x370 mm/slab.c:3557
 __build_skb+0x39/0x300 net/core/skbuff.c:281
 __netdev_alloc_skb+0x2a7/0x460 net/core/skbuff.c:426
 netdev_alloc_skb include/linux/skbuff.h:2675 [inline]
 dev_alloc_skb include/linux/skbuff.h:2688 [inline]
 __ieee80211_beacon_get+0xc7d/0x1a30 net/mac80211/tx.c:4332
 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4443
 ieee80211_beacon_get include/net/mac80211.h:4484 [inline]
 mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577
 __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:rcu_read_unlock include/linux/rcupdate.h:677 [inline]
RIP: 0010:__unlock_page_memcg+0x4d/0x100 mm/memcontrol.c:1955
Code: 02 00 0f 85 b8 00 00 00 65 48 8b 04 25 80 df 01 00 48 39 83 88 06 00 00 74 5a e8 de 2d b1 ff 85 c0 74 09 80 3d a5 fd 6c 09 00 <74> 1e e8 ac fe b1 ff 5b 48 c7 c2 cf 61 a1 81 be 01 00 00 00 48 c7
RSP: 0018:ffff88802ab1f728 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff888033420a84
RBP: ffffea00016ad240 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dead000000000100 R15: 00007f4bb9760000
 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:00007f4bb7c59c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: 0000000000000070 RBX: 0000000000028080 RCX: 000000000045deb9
RDX: 0400000000000070 RSI: 0000000020007fc0 RDI: 0000000000000003
RBP: 000000000119bf68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf2c
R13: 00007fffaba17faf R14: 00007f4bb7c5a9c0 R15: 000000000119bf2c
Bluetooth: hci5: command 0x0406 tx timeout

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/05 10:02 linux-4.19.y daefdc9eb24b 0ef84591 .config console log report info ci2-linux-4-19
2020/11/22 05:37 linux-4.19.y 2c746135a12e 0d27f508 .config console log report info ci2-linux-4-19
2020/11/21 04:13 linux-4.19.y 2c746135a12e 68068804 .config console log report info ci2-linux-4-19
2020/10/29 01:44 linux-4.19.y ad326970d25c f24824d3 .config console log report info ci2-linux-4-19
2020/10/25 18:16 linux-4.19.y ad326970d25c a1839e81 .config console log report info ci2-linux-4-19
2020/10/17 09:57 linux-4.19.y a1b977b49b66 6e262c73 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.