syzbot


BUG: soft lockup in mld_ifc_timer_expire (2)

Status: upstream: reported C repro on 2022/10/26 17:28
Reported-by: syzbot+923ae696fc2c1c9ebab9@syzkaller.appspotmail.com
First crash: 770d, last: 695d
Fix bisection: failed (error log, bisect log)
  
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 654d 1018d 0/1 upstream: reported C repro on 2022/02/20 08:51
linux-4.19 BUG: soft lockup in mld_ifc_timer_expire 1 1080d 1080d 0/1 auto-closed as invalid on 2022/04/19 04:44

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor401:8515]
Modules linked in:
irq event stamp: 56096981
hardirqs last  enabled at (56096980): [<ffffffff81549445>] seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline]
hardirqs last  enabled at (56096980): [<ffffffff81549445>] read_seqcount_begin include/linux/seqlock.h:164 [inline]
hardirqs last  enabled at (56096980): [<ffffffff81549445>] ktime_get+0x235/0x2f0 kernel/time/timekeeping.c:756
hardirqs last disabled at (56096981): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (902): [<ffffffff86a0f82f>] read_pnet include/net/net_namespace.h:307 [inline]
softirqs last  enabled at (902): [<ffffffff86a0f82f>] sock_net include/net/sock.h:2436 [inline]
softirqs last  enabled at (902): [<ffffffff86a0f82f>] netlink_release+0xbcf/0x17b0 net/netlink/af_netlink.c:818
softirqs last disabled at (1009): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (1009): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 8515 Comm: syz-executor401 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline]
RIP: 0010:read_seqcount_begin include/linux/seqlock.h:164 [inline]
RIP: 0010:ktime_get+0x25f/0x2f0 kernel/time/timekeeping.c:756
Code: 48 c7 c0 88 82 f1 89 48 c1 e8 03 42 80 3c 20 00 0f 85 86 00 00 00 48 83 3d 25 ee 9c 08 00 74 35 e8 06 f1 0d 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 ce fe ff ff e8 f2 f0 0d 00 0f 0b e8 eb f0 0d 00
RSP: 0018:ffff8880ba106d80 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: ffff88809dd262c0 RBX: 0000000000000206 RCX: 1ffff11013ba4d95
RDX: 0000000000000100 RSI: ffffffff8154946a RDI: 0000000000000206
RBP: fffffbfff13e3050 R08: ffffffff8cd1cde8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffffffff13e3052 R14: 0000000000000200 R15: 0000000000000001
FS:  0000555556b90300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 00000000958cb000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 ktime_get_ns include/linux/timekeeping.h:126 [inline]
 tcf_police_act+0x3e8/0xe60 net/sched/act_police.c:240
 tcf_action_exec net/sched/act_api.c:618 [inline]
 tcf_action_exec+0x160/0x400 net/sched/act_api.c:598
 tcf_exts_exec include/net/pkt_cls.h:388 [inline]
 basic_classify+0x184/0x2b0 net/sched/cls_basic.c:52
 tcf_classify+0x120/0x3c0 net/sched/cls_api.c:979
 prio_classify net/sched/sch_prio.c:46 [inline]
 prio_enqueue+0x3bb/0x7a0 net/sched/sch_prio.c:78
 __dev_xmit_skb net/core/dev.c:3494 [inline]
 __dev_queue_xmit+0x140a/0x2e00 net/core/dev.c:3807
 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_finish_output+0xae9/0x10b0 net/ipv4/ip_output.c:318
 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:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:do_syscall_64+0x56/0x620 arch/x86/entry/common.c:281
Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 2d 05 00 00 48 83 3d 34 0c f1 08 00 0f 84 44 04 00 00 e8 01 0f 62 00 fb 66 0f 1f 44 00 00 <65> 4c 8b 24 25 c0 df 01 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2
RSP: 0018:ffff8880ab0dff28 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff88809dd262c0 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8100766f RDI: ffff88809dd26b44
RBP: ffff8880ab0dff58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fae0c86c843
Code: c7 c2 c0 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb ba 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8
RSP: 002b:00007ffee0dfb4a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007fae0c86c843
RDX: ffffffffffffffc0 RSI: 0000000020000340 RDI: 0000000000000016
RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d
R10: 000000000000000d R11: 0000000000000246 R12: 00007ffee0dfb4c0
R13: 00000000000f4240 R14: 0000000000013131 R15: 00007ffee0dfb4b4

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/09 16:38 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/12/28 02:28 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/12/25 07:21 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/12/22 02:11 linux-4.19.y 3f8a27f9e27b 4067838e .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/12/20 11:26 linux-4.19.y 3f8a27f9e27b c52b2efb .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/12/14 09:05 linux-4.19.y 3f8a27f9e27b f6511626 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/12/06 14:14 linux-4.19.y 3f8a27f9e27b 045cbb84 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
2022/10/26 17:28 linux-4.19.y 3f8a27f9e27b 2159e4d2 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in mld_ifc_timer_expire
* Struck through repros no longer work on HEAD.