BUG: soft lockup in mld_dad_timer_expire (2)

7 views
Skip to first unread message

syzbot

unread,
Aug 3, 2022, 5:34:21 AM8/3/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1503737a080000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=37846bcf053da306c454
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+37846b...@syzkaller.appspotmail.com

Unknown ioctl 1342215226
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
Unknown ioctl 21545
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.5:9590]
Modules linked in:
irq event stamp: 7647553
hardirqs last enabled at (7647552): [<ffffffff86d439bc>] seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline]
hardirqs last enabled at (7647552): [<ffffffff86d439bc>] read_seqcount_begin include/linux/seqlock.h:164 [inline]
hardirqs last enabled at (7647552): [<ffffffff86d439bc>] read_seqbegin include/linux/seqlock.h:440 [inline]
hardirqs last enabled at (7647552): [<ffffffff86d439bc>] neigh_hh_output include/net/neighbour.h:461 [inline]
hardirqs last enabled at (7647552): [<ffffffff86d439bc>] neigh_output include/net/neighbour.h:499 [inline]
hardirqs last enabled at (7647552): [<ffffffff86d439bc>] ip_finish_output2+0xfbc/0x15a0 net/ipv4/ip_output.c:230
hardirqs last disabled at (7647553): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (3702): [<ffffffff86e9e8b9>] fib_table_delete+0x969/0x1030 net/ipv4/fib_trie.c:1610
softirqs last disabled at (3891): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (3891): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 9590 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1079 [inline]
RIP: 0010:rcu_lockdep_current_cpu_online+0xe4/0x1b0 kernel/rcu/tree.c:1068
Code: cf 89 48 89 fa 48 c1 ea 03 80 3c 2a 00 0f 85 ac 00 00 00 48 03 1c c5 00 af cf 89 48 8d 7b 20 48 89 f8 48 c1 e8 03 80 3c 28 00 <0f> 85 a8 00 00 00 48 8d 7b 28 4c 8b 6b 20 48 89 f8 48 c1 e8 03 80
RSP: 0018:ffff8880ba106e00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff110174257d4 RBX: ffff8880ba12be80 RCX: ffffffff83771e23
RDX: 1ffffffff139f5e1 RSI: ffffffff83771e31 RDI: ffff8880ba12bea0
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff89f88280
R13: 1ffff11017420dd1 R14: ffff8880546d46a0 R15: 000000001b518000
FS: 00007f1edea92700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f808b273f80 CR3: 0000000099be9000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
rcu_read_lock_sched_held+0xd3/0x1d0 kernel/rcu/update.c:115
trace_netif_rx_entry include/trace/events/net.h:233 [inline]
netif_rx+0x242/0x2c0 net/core/dev.c:4514
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:unwind_next_frame+0x425/0x1400 arch/x86/kernel/unwind_orc.c:427
Code: f9 4c 89 c7 e8 3c f2 ff ff 48 85 c0 49 89 c7 74 6a 4d 8d 47 04 48 b8 00 00 00 00 00 fc ff df 4c 89 c2 48 c1 ea 03 0f b6 04 02 <4c> 89 c2 83 e2 07 38 d0 7f 08 84 c0 0f 85 23 0c 00 00 41 0f b6 47
RSP: 0018:ffff8880556be230 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff1100aad7c4f RCX: ffffffff866db7f2
RDX: 1ffffffff17ea6e7 RSI: ffffffff8bf53710 RDI: ffffffff8b75e714
RBP: 0000000000000001 R08: ffffffff8bf53738 R09: ffffffff8bf53710
R10: ffff8880556be3bf R11: 0000000000074071 R12: ffff8880556be3a8
R13: ffff8880556be395 R14: ffff8880556be360 R15: ffffffff8bf53734
__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
slab_post_alloc_hook mm/slab.h:445 [inline]
slab_alloc mm/slab.c:3397 [inline]
__do_kmalloc mm/slab.c:3725 [inline]
__kmalloc+0x144/0x3c0 mm/slab.c:3736
kmalloc include/linux/slab.h:520 [inline]
kzalloc include/linux/slab.h:709 [inline]
tnode_alloc net/ipv4/fib_trie.c:344 [inline]
tnode_new+0xa9/0x2e0 net/ipv4/fib_trie.c:391
inflate net/ipv4/fib_trie.c:605 [inline]
resize+0xa55/0x20e0 net/ipv4/fib_trie.c:875
trie_rebalance net/ipv4/fib_trie.c:1015 [inline]
fib_remove_alias net/ipv4/fib_trie.c:1531 [inline]
fib_table_delete+0xc5e/0x1030 net/ipv4/fib_trie.c:1605
fib_magic+0x361/0x540 net/ipv4/fib_frontend.c:894
fib_del_ifaddr+0xb6c/0xfd0 net/ipv4/fib_frontend.c:1103
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:0x7f1ee011d209
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:00007f1edea92168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1ee022ff60 RCX: 00007f1ee011d209
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005
RBP: 00007f1ee0177161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe5f0b19ff R14: 00007f1edea92300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 1, 2022, 4:34:28 AM12/1/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages