syzbot


INFO: rcu detected stall in ieee802154_rcv

Status: auto-closed as invalid on 2022/02/02 21:15
Subsystems: wpan
[Documentation on labels]
First crash: 904d, last: 904d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in ieee802154_rcv 1 952d 952d 0/1 auto-closed as invalid on 2022/01/14 23:47
linux-4.19 BUG: soft lockup in ieee802154_rcv (2) 1 826d 826d 0/1 auto-closed as invalid on 2022/05/21 09:55

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10500 ticks this GP) idle=d95/1/0x4000000000000000 softirq=31603/31603 fqs=5116 
	(t=10502 jiffies g=40969 q=23969)
NMI backtrace for cpu 1
CPU: 1 PID: 19383 Comm: syz-executor.2 Not tainted 5.15.0-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:88 [inline]
 dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
 rcu_pending kernel/rcu/tree.c:3878 [inline]
 rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2597
 update_process_times+0x197/0x200 kernel/time/timer.c:1785
 tick_sched_handle kernel/time/tick-sched.c:226 [inline]
 tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:skb_end_pointer include/linux/skbuff.h:1433 [inline]
RIP: 0010:skb_zcopy include/linux/skbuff.h:1462 [inline]
RIP: 0010:skb_orphan_frags include/linux/skbuff.h:2807 [inline]
RIP: 0010:skb_clone+0x3f/0x360 net/core/skbuff.c:1510
Code: 00 00 00 fc ff df e8 90 77 7c f9 4d 85 ff 74 6e 49 8d bf c8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 01 06 c8 f9 <49> 8b af c8 00 00 00 49 8d 9f c4 00 00 00 48 89 d8 48 c1 e8 03 42
RSP: 0018:ffffc90000dc0950 EFLAGS: 00000246
RAX: 1ffff11007000509 RBX: ffff888035885080 RCX: ffff888073113a00
RDX: 0000000000000102 RSI: 0000000000000a20 RDI: ffff888038002848
RBP: 0000000000000000 R08: ffffffff89c91caa R09: ffffffff89c91d4e
R10: 0000000000000002 R11: ffff888073113a00 R12: dffffc0000000000
R13: 0000000000000a20 R14: ffff888038002780 R15: ffff888038002780
 ieee802154_dgram_deliver net/ieee802154/socket.c:806 [inline]
 ieee802154_rcv+0x44a/0x8c0 net/ieee802154/socket.c:1080
 __netif_receive_skb_one_core net/core/dev.c:5462 [inline]
 __netif_receive_skb+0x1d1/0x500 net/core/dev.c:5576
 netif_receive_skb_internal+0x108/0x360 net/core/dev.c:5662
 netif_receive_skb+0x19/0x30 net/core/dev.c:5721
 __ieee802154_rx_handle_packet+0x20f/0x250 net/mac802154/rx.c:212
 ieee802154_rx+0x5c8/0x870 net/mac802154/rx.c:284
 ieee802154_tasklet_handler+0xb4/0x150 net/mac802154/main.c:35
 tasklet_action_common+0x3c2/0x560 kernel/softirq.c:783
 __do_softirq+0x392/0x7a3 kernel/softirq.c:558
 do_softirq+0x161/0x240 kernel/softirq.c:459
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1b0/0x1f0 kernel/softirq.c:383
 rcu_read_unlock_bh include/linux/rcupdate.h:758 [inline]
 __dev_queue_xmit+0x1e2c/0x35c0 net/core/dev.c:4253
 dgram_sendmsg+0x82d/0xf50 net/ieee802154/socket.c:681
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x5b9/0x910 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmmsg+0x3ba/0x750 net/socket.c:2549
 __do_sys_sendmmsg net/socket.c:2578 [inline]
 __se_sys_sendmmsg net/socket.c:2575 [inline]
 __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2575
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7ff262c35ae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff2601ab188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007ff262d48f60 RCX: 00007ff262c35ae9
RDX: 0400000000000116 RSI: 0000000020002240 RDI: 0000000000000007
RBP: 00007ff262c8ff25 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc0d5382cf R14: 00007ff2601ab300 R15: 0000000000022000
 </TASK>
----------------
Code disassembly (best guess), 5 bytes skipped:
   0:	df e8                	fucomip %st(0),%st
   2:	90                   	nop
   3:	77 7c                	ja     0x81
   5:	f9                   	stc
   6:	4d 85 ff             	test   %r15,%r15
   9:	74 6e                	je     0x79
   b:	49 8d bf c8 00 00 00 	lea    0xc8(%r15),%rdi
  12:	48 89 f8             	mov    %rdi,%rax
  15:	48 c1 e8 03          	shr    $0x3,%rax
  19:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
  1e:	74 05                	je     0x25
  20:	e8 01 06 c8 f9       	callq  0xf9c80626
* 25:	49 8b af c8 00 00 00 	mov    0xc8(%r15),%rbp <-- trapping instruction
  2c:	49 8d 9f c4 00 00 00 	lea    0xc4(%r15),%rbx
  33:	48 89 d8             	mov    %rbx,%rax
  36:	48 c1 e8 03          	shr    $0x3,%rax
  3a:	42                   	rex.X

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/04 21:07 upstream 7ddb58cb0eca 4c1be0be .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in ieee802154_rcv
* Struck through repros no longer work on HEAD.