syzbot


BUG: soft lockup in ieee802154_rcv

Status: auto-closed as invalid on 2022/01/14 23:47
Reported-by: syzbot+e32dac4b0e075cc77bd9@syzkaller.appspotmail.com
First crash: 1174d, last: 1174d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in ieee802154_rcv (2) 1 1047d 1047d 0/1 auto-closed as invalid on 2022/05/21 09:55
upstream INFO: rcu detected stall in ieee802154_rcv wpan 1 1125d 1125d 0/28 auto-closed as invalid on 2022/02/02 21:15

Sample crash report:
team0: Device ipvlan1 failed to register rx_handler
orangefs_mount: mount request failed with -4
netlink: 4 bytes leftover after parsing attributes in process `syz-executor.0'.
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.3:23867]
Modules linked in:
irq event stamp: 2603491
hardirqs last  enabled at (2603490): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (2603491): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (43880): [<ffffffff86766be5>] rcu_read_unlock_bh include/linux/rcupdate.h:717 [inline]
softirqs last  enabled at (43880): [<ffffffff86766be5>] __dev_queue_xmit+0x15f5/0x2e00 net/core/dev.c:3865
softirqs last disabled at (43881): [<ffffffff88200daa>] do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092
CPU: 1 PID: 23867 Comm: syz-executor.3 Not tainted 4.19.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:unwind_next_frame+0x159/0x1400 arch/x86/kernel/unwind_orc.c:410
Code: 18 e8 5b ea 17 00 49 8d 46 50 48 89 c2 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 33 0f 00 00 <4d> 8b 6e 50 4d 85 ed 74 30 49 8d bd 88 00 00 00 48 b8 00 00 00 00
RSP: 0018:ffff8880ba107730 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff11017420eef RCX: 0000000000000000
RDX: 1ffff11017420f16 RSI: ffff8880ba1076c0 RDI: 0000000000000001
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880ba1078bf R11: 0000000000074071 R12: ffff8880ba1078a8
R13: 0000000000000000 R14: ffff8880ba107860 R15: 00000000000000e8
FS:  00007f51b1c82700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ef26000 CR3: 0000000235246000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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
 kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
 skb_clone+0x151/0x3d0 net/core/skbuff.c:1293
 ieee802154_dgram_deliver net/ieee802154/socket.c:822 [inline]
 ieee802154_rcv+0x5b8/0x6f0 net/ieee802154/socket.c:1099
 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:4954
 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066
 netif_receive_skb_internal+0xf0/0x3f0 net/core/dev.c:5156
 ieee802154_deliver_skb net/mac802154/rx.c:37 [inline]
 ieee802154_subif_frame net/mac802154/rx.c:110 [inline]
 __ieee802154_rx_handle_packet net/mac802154/rx.c:220 [inline]
 ieee802154_rx+0x1335/0x1980 net/mac802154/rx.c:292
 ieee802154_tasklet_handler+0xd9/0x100 net/mac802154/main.c:43
 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092
 </IRQ>
 do_softirq.part.0+0x160/0x1c0 kernel/softirq.c:336
 do_softirq kernel/softirq.c:328 [inline]
 __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:721 [inline]
 __dev_queue_xmit+0x1628/0x2e00 net/core/dev.c:3865
 dgram_sendmsg+0x9c5/0xd10 net/ieee802154/socket.c:697
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x3b3/0x8e0 net/socket.c:2227
 __sys_sendmmsg+0x195/0x470 net/socket.c:2322
 __do_sys_sendmmsg net/socket.c:2351 [inline]
 __se_sys_sendmmsg net/socket.c:2348 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2348
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f51b470b739
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:00007f51b1c82188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f51b480ff80 RCX: 00007f51b470b739
RDX: 0400000000000116 RSI: 0000000020002240 RDI: 0000000000000005
RBP: 00007f51b4765cc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f51b480ff80
R13: 00007ffca577f13f R14: 00007f51b1c82300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 578 Comm: kworker/u4:3 Not tainted 4.19.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97
Code: ff 48 89 df e8 11 d3 35 00 e9 ab fe ff ff 4c 89 ef e8 04 d3 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 7c 4c 9f 7e 81 e2
RSP: 0018:ffff8880ba007f38 EFLAGS: 00000006
RAX: ffff8880b46b8340 RBX: ffffffff89e090f8 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff8868d9c0 RDI: ffffffff88b3e0e0
RBP: ffffffff88b3e0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000006
R13: ffffffff8868d9c0 R14: 0000000000000006 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555abf848 CR3: 00000000b2eb8000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 check_preemption_disabled+0x15/0x280 lib/smp_processor_id.c:13
 __do_softirq+0x532/0x980 kernel/softirq.c:307
 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092
 </IRQ>
 do_softirq.part.0+0x160/0x1c0 kernel/softirq.c:336
 do_softirq kernel/softirq.c:328 [inline]
 __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189
 spin_unlock_bh include/linux/spinlock.h:374 [inline]
 batadv_nc_purge_paths+0x22d/0x310 net/batman-adv/network-coding.c:482
 batadv_nc_worker+0x6fa/0xd50 net/batman-adv/network-coding.c:731
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	e8 5b ea 17 00       	callq  0x17ea60
   5:	49 8d 46 50          	lea    0x50(%r14),%rax
   9:	48 89 c2             	mov    %rax,%rdx
   c:	48 89 44 24 08       	mov    %rax,0x8(%rsp)
  11:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  18:	fc ff df
  1b:	48 c1 ea 03          	shr    $0x3,%rdx
  1f:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
  23:	0f 85 33 0f 00 00    	jne    0xf5c
* 29:	4d 8b 6e 50          	mov    0x50(%r14),%r13 <-- trapping instruction
  2d:	4d 85 ed             	test   %r13,%r13
  30:	74 30                	je     0x62
  32:	49 8d bd 88 00 00 00 	lea    0x88(%r13),%rdi
  39:	48                   	rex.W
  3a:	b8 00 00 00 00       	mov    $0x0,%eax

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/16 23:46 linux-4.19.y b172b44fcb17 aae492f2 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee802154_rcv
* Struck through repros no longer work on HEAD.