syzbot


BUG: soft lockup in mld_ifc_timer_expire

Status: auto-closed as invalid on 2022/04/19 04:44
Reported-by: syzbot+0e7a0d6be3bf95b07b3d@syzkaller.appspotmail.com
First crash: 1080d, last: 1080d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: soft lockup in mld_ifc_timer_expire C 1 653d 1017d 0/1 upstream: reported C repro on 2022/02/20 08:51
linux-4.19 BUG: soft lockup in mld_ifc_timer_expire (2) C error 8 694d 769d 0/1 upstream: reported C repro on 2022/10/26 17:28

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.3:8179]
Modules linked in:
irq event stamp: 16292761
hardirqs last  enabled at (16292760): [<ffffffff8198201a>] slab_alloc_node mm/slab.c:3334 [inline]
hardirqs last  enabled at (16292760): [<ffffffff8198201a>] kmem_cache_alloc_node_trace+0x2da/0x3b0 mm/slab.c:3666
hardirqs last disabled at (16292761): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (6346516): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (6346903): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (6346903): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 8179 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:slab_alloc_node mm/slab.c:3334 [inline]
RIP: 0010:kmem_cache_alloc_node_trace+0x2ee/0x3b0 mm/slab.c:3666
Code: fe ff ff 48 f7 04 24 00 02 00 00 0f 84 28 fe ff ff e8 26 89 cf ff 48 83 3d 66 62 59 08 00 0f 84 aa 00 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 e9 23 fe ff ff 65 ff 05 11 bf 69 7e 48 8b 05 c2 db
RSP: 0018:ffff8880ba107120 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: 0000000000490220 RCX: 1ffff110169cfd9a
RDX: 0000000000000000 RSI: ffff8880b4e7ed50 RDI: 0000000000000286
RBP: 0000000000490220 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882292d3ac0
R13: ffff88813bff0940 R14: 0000000000000180 R15: ffff88813bff0940
FS:  0000555556cf1400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd1ddc5de0 CR3: 0000000096109000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __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
 alloc_skb include/linux/skbuff.h:995 [inline]
 ip_do_fragment+0x10f3/0x2620 net/ipv4/ip_output.c:745
 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_cr net/ipv6/mcast.c:1977 [inline]
 mld_ifc_timer_expire+0x616/0xdf0 net/ipv6/mcast.c:2476
 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:wait_consider_task+0xb5/0x3910 kernel/exit.c:1336
Code: c8 48 89 4c 24 10 48 c1 e8 03 0f b6 14 28 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 4b 1c 00 00 45 8b a6 6c 04 00 00 <bf> 10 00 00 00 44 89 e6 e8 1e 1c 2a 00 41 83 fc 10 0f 84 e7 00 00
RSP: 0018:ffff8880982afb00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffff88803391856c
RDX: 0000000000000000 RSI: ffffffff81386a82 RDI: ffff8880982afd00
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880b4e7e400 R14: ffff888033918100 R15: ffff8880b4e7e8f0
 do_wait_thread kernel/exit.c:1442 [inline]
 do_wait+0x429/0x9c0 kernel/exit.c:1513
 kernel_wait4+0x14c/0x260 kernel/exit.c:1655
 __do_sys_wait4 kernel/exit.c:1667 [inline]
 __se_sys_wait4+0x149/0x160 kernel/exit.c:1663
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4be3db4337
Code: 89 7c 24 10 48 89 4c 24 18 e8 35 50 02 00 4c 8b 54 24 18 8b 54 24 14 41 89 c0 48 8b 74 24 08 8b 7c 24 10 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 89 44 24 10 e8 65 50 02 00 8b 44
RSP: 002b:00007ffdf8d8c620 EFLAGS: 00000293 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 000000000000108b RCX: 00007f4be3db4337
RDX: 0000000040000001 RSI: 00007ffdf8d8c6ac RDI: 00000000ffffffff
RBP: 00007ffdf8d8c6ac R08: 0000000000000000 R09: 000000b00f978cfc
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 00000000000a6ec6 R14: 0000000000000014 R15: 00007ffdf8d8c710
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10623 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline]
RIP: 0010:queued_write_lock_slowpath+0x114/0x290 kernel/locking/qrwlock.c:88
Code: 49 89 df 4c 8d 74 24 28 48 c1 ea 03 41 83 e7 07 4c 8d 2c 02 41 83 c7 03 41 0f b6 45 00 41 38 c7 7c 08 84 c0 0f 85 34 01 00 00 <8b> 03 3d 00 01 00 00 74 1a f3 90 41 0f b6 45 00 41 38 c7 7c eb 84
RSP: 0018:ffff8880aaeefa40 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff89e09080 RCX: ffffffff814bfec6
RDX: 1ffffffff13c1210 RSI: 0000000000000004 RDI: ffffffff89e09080
RBP: 1ffff110155ddf49 R08: 0000000000000001 R09: fffffbfff13c1210
R10: ffffffff89e09083 R11: 0000000000000000 R12: ffffffff89e09084
R13: fffffbfff13c1210 R14: ffff8880aaeefa68 R15: 0000000000000003
FS:  00007f94a1b24700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005594688e20e8 CR3: 00000000afa90000 CR4: 00000000003426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 queued_write_lock include/asm-generic/qrwlock.h:103 [inline]
 do_raw_write_lock+0xcf/0x1e0 kernel/locking/spinlock_debug.c:203
 exit_notify kernel/exit.c:715 [inline]
 do_exit+0xc41/0x2be0 kernel/exit.c:890
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 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+0x3f0/0x4a0 arch/x86/entry/common.c:271
 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:407
RIP: 0033:0x7f94a333c2c1
Code: Bad RIP value.
RSP: 002b:00007f94a1b242f0 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 00007f94a1b24700 RCX: 00007f94a333c2c1
RDX: 00007f94a1b249d0 RSI: 00007f94a1b242f0 RDI: 00000000003d0f00
RBP: 00007ffc41276470 R08: 00007f94a1b24700 R09: 00007f94a1b24700
R10: 00007f94a1b249d0 R11: 0000000000000206 R12: 00007ffc412762de
R13: 00007ffc412762df R14: 00007f94a1b24300 R15: 0000000000022000
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	ff 48 f7             	decl   -0x9(%rax)
   3:	04 24                	add    $0x24,%al
   5:	00 02                	add    %al,(%rdx)
   7:	00 00                	add    %al,(%rax)
   9:	0f 84 28 fe ff ff    	je     0xfffffe37
   f:	e8 26 89 cf ff       	callq  0xffcf893a
  14:	48 83 3d 66 62 59 08 	cmpq   $0x0,0x8596266(%rip)        # 0x8596282
  1b:	00
  1c:	0f 84 aa 00 00 00    	je     0xcc
  22:	48 8b 3c 24          	mov    (%rsp),%rdi
  26:	57                   	push   %rdi
  27:	9d                   	popfq
* 28:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1) <-- trapping instruction
  2d:	e9 23 fe ff ff       	jmpq   0xfffffe55
  32:	65 ff 05 11 bf 69 7e 	incl   %gs:0x7e69bf11(%rip)        # 0x7e69bf4a
  39:	48                   	rex.W
  3a:	8b                   	.byte 0x8b
  3b:	05                   	.byte 0x5
  3c:	c2                   	.byte 0xc2
  3d:	db                   	.byte 0xdb

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/20 04:43 linux-4.19.y 3f8a27f9e27b 44068e19 .config console log report info ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
* Struck through repros no longer work on HEAD.