syzbot


BUG: soft lockup in mld_dad_timer_expire

Status: auto-closed as invalid on 2022/06/11 22:48
Reported-by: syzbot+04abe8f9c06b50bb633d@syzkaller.appspotmail.com
First crash: 801d, last: 801d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: soft lockup in mld_dad_timer_expire (2) 1 868d 868d 0/1 auto-closed as invalid on 2022/04/06 03:57
linux-4.19 BUG: soft lockup in mld_dad_timer_expire (2) 1 628d 628d 0/1 auto-obsoleted due to no activity on 2022/12/01 09:34
linux-4.14 BUG: soft lockup in mld_dad_timer_expire 1 1017d 1017d 0/1 auto-closed as invalid on 2021/11/07 19:15

Sample crash report:
syz-executor.0 (9580) used greatest stack depth: 23392 bytes left
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.3:9603]
Modules linked in:
irq event stamp: 7342871
hardirqs last  enabled at (7342870): [<ffffffff81982899>] kmem_cache_free+0x109/0x260 mm/slab.c:3766
hardirqs last disabled at (7342871): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (3104): [<ffffffff86e9e8b9>] fib_table_delete+0x969/0x1030 net/ipv4/fib_trie.c:1610
softirqs last disabled at (3257): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (3257): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 9603 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:kmem_cache_free+0x11c/0x260 mm/slab.c:3766
Code: 11 48 63 75 74 48 89 df e8 51 21 df 01 e9 68 ff ff ff e8 a7 80 cf ff 48 83 3d e7 59 59 08 00 0f 84 f8 00 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 eb 86 65 8b 05 76 58 69 7e 83 f8 07 0f 87 e7 00 00
RSP: 0018:ffff8880ba006cb8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff888040a2e080 RCX: 1ffff1101388b5df
RDX: 0000000000000000 RSI: ffff88809c45afc8 RDI: 0000000000000286
RBP: ffff88823b33a540 R08: 0000000000400000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: ffffffff866fedf1 R14: ffffffff8674b842 R15: 00000000000003e8
FS:  00007fb301e73700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559f943a5cc8 CR3: 00000000b3315000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 kfree_skbmem+0xc1/0x140 net/core/skbuff.c:595
 __kfree_skb net/core/skbuff.c:655 [inline]
 kfree_skb+0x127/0x3d0 net/core/skbuff.c:672
 enqueue_to_backlog+0x272/0xe00 net/core/dev.c:4263
 netif_rx_internal+0xfd/0x670 net/core/dev.c:4491
 loopback_xmit+0x2c7/0x710 drivers/net/loopback.c:95
 __netdev_start_xmit include/linux/netdevice.h:4349 [inline]
 netdev_start_xmit include/linux/netdevice.h:4363 [inline]
 xmit_one net/core/dev.c:3256 [inline]
 dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
 neigh_hh_output include/net/neighbour.h:491 [inline]
 neigh_output include/net/neighbour.h:499 [inline]
 ip_finish_output2+0xb6d/0x15a0 net/ipv4/ip_output.c:230
 ip_do_fragment+0x104a/0x2620 net/ipv4/ip_output.c:816
 ip_fragment.constprop.0+0x174/0x240 net/ipv4/ip_output.c:552
 ip_finish_output+0xa35/0x10b0 net/ipv4/ip_output.c:316
 NF_HOOK_COND include/linux/netfilter.h:278 [inline]
 ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406
 dst_output include/net/dst.h:455 [inline]
 ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125
 iptunnel_xmit+0x63b/0x9d0 net/ipv4/ip_tunnel_core.c:91
 geneve_xmit_skb drivers/net/geneve.c:867 [inline]
 geneve_xmit+0x120d/0x2e60 drivers/net/geneve.c:943
 __netdev_start_xmit include/linux/netdevice.h:4349 [inline]
 netdev_start_xmit include/linux/netdevice.h:4363 [inline]
 xmit_one net/core/dev.c:3256 [inline]
 dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
 neigh_hh_output include/net/neighbour.h:491 [inline]
 neigh_output include/net/neighbour.h:499 [inline]
 ip6_finish_output2+0xde7/0x2290 net/ipv6/ip6_output.c:120
 ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192
 NF_HOOK_COND include/linux/netfilter.h:278 [inline]
 ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209
 dst_output include/net/dst.h:455 [inline]
 NF_HOOK include/linux/netfilter.h:289 [inline]
 mld_sendpack+0x674/0x1060 net/ipv6/mcast.c:1681
 mld_send_initial_cr.part.0+0x106/0x150 net/ipv6/mcast.c:2098
 mld_send_initial_cr net/ipv6/mcast.c:1196 [inline]
 mld_dad_timer_expire+0x183/0x5e0 net/ipv6/mcast.c:2117
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 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:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 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:kfree+0x123/0x210 mm/slab.c:3823
Code: 89 ea 48 89 ee 4c 89 e7 e8 da ee ff ff f6 c7 02 74 ca e8 20 74 cf ff 48 83 3d 60 4d 59 08 00 0f 84 eb 00 00 00 48 89 df 57 9d <0f> 1f 44 00 00 5b 5d 41 5c 41 5d c3 65 8b 05 ea 4b 69 7e 83 f8 07
RSP: 0018:ffff8880504f6590 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: 0000000000000286 RCX: 1ffff1101388b5da
RDX: 0000000000000000 RSI: ffff88809c45aeb0 RDI: 0000000000000286
RBP: ffff8880957e2340 R08: 0000000000400000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88813bff0940
R13: ffffffff8670bf6e R14: 0000000000000000 R15: ffff8880957e2430
 skb_free_head net/core/skbuff.c:563 [inline]
 skb_release_data+0x6de/0x920 net/core/skbuff.c:583
 skb_release_all net/core/skbuff.c:640 [inline]
 __kfree_skb net/core/skbuff.c:654 [inline]
 consume_skb+0x113/0x3d0 net/core/skbuff.c:714
 netlink_broadcast_filtered+0x31f/0xbc0 net/netlink/af_netlink.c:1527
 netlink_broadcast net/netlink/af_netlink.c:1549 [inline]
 nlmsg_multicast include/net/netlink.h:591 [inline]
 nlmsg_notify+0x15e/0x1f0 net/netlink/af_netlink.c:2506
 rtmsg_fib+0x37e/0x4e0 net/ipv4/fib_semantics.c:428
 fib_table_delete+0x7a8/0x1030 net/ipv4/fib_trie.c:1599
 fib_magic+0x361/0x540 net/ipv4/fib_frontend.c:894
 fib_del_ifaddr+0xd36/0xfd0 net/ipv4/fib_frontend.c:1094
 fib_inetaddr_event+0xb4/0x2a0 net/ipv4/fib_frontend.c:1234
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 __blocking_notifier_call_chain kernel/notifier.c:317 [inline]
 __blocking_notifier_call_chain kernel/notifier.c:304 [inline]
 blocking_notifier_call_chain kernel/notifier.c:328 [inline]
 blocking_notifier_call_chain+0x85/0xa0 kernel/notifier.c:325
 __inet_del_ifa+0x534/0xba0 net/ipv4/devinet.c:416
 inet_del_ifa net/ipv4/devinet.c:446 [inline]
 inetdev_destroy net/ipv4/devinet.c:311 [inline]
 inetdev_event+0x5cb/0x1270 net/ipv4/devinet.c:1545
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers_mtu net/core/dev.c:1785 [inline]
 dev_set_mtu_ext+0x384/0x580 net/core/dev.c:7819
 do_setlink+0x484/0x3540 net/core/rtnetlink.c:2412
 rtnl_group_changelink net/core/rtnetlink.c:2925 [inline]
 rtnl_newlink+0xbc9/0x15c0 net/core/rtnetlink.c:3083
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fb3034fe059
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb301e73168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fb303610f60 RCX: 00007fb3034fe059
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00007fb30355808d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd4b8ea18f R14: 00007fb301e73300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60
----------------
Code disassembly (best guess):
   0:	11 48 63             	adc    %ecx,0x63(%rax)
   3:	75 74                	jne    0x79
   5:	48 89 df             	mov    %rbx,%rdi
   8:	e8 51 21 df 01       	callq  0x1df215e
   d:	e9 68 ff ff ff       	jmpq   0xffffff7a
  12:	e8 a7 80 cf ff       	callq  0xffcf80be
  17:	48 83 3d e7 59 59 08 	cmpq   $0x0,0x85959e7(%rip)        # 0x8595a06
  1e:	00
  1f:	0f 84 f8 00 00 00    	je     0x11d
  25:	4c 89 e7             	mov    %r12,%rdi
  28:	57                   	push   %rdi
  29:	9d                   	popfq
* 2a:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1) <-- trapping instruction
  2f:	eb 86                	jmp    0xffffffb7
  31:	65 8b 05 76 58 69 7e 	mov    %gs:0x7e695876(%rip),%eax        # 0x7e6958ae
  38:	83 f8 07             	cmp    $0x7,%eax
  3b:	0f                   	.byte 0xf
  3c:	87 e7                	xchg   %esp,%edi

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/11 22:47 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report info ci2-linux-4-19 BUG: soft lockup in mld_dad_timer_expire
* Struck through repros no longer work on HEAD.