Skip to contentSkip to conversation

kernel panic: kernel stack overflow

syzbot syzbot 6 participants 14 messages Oct 12, 2022 – Apr 7, 2023

Subsystems (2)
lore
Share & tools
lore

syzbot

author syzbot
#0 lore raw

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]

x8 : 00000000000c008e x7 : ffff80000818cfc0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000008 x1 : ffff00013e520a60 x0 : ffff00013e520000

Kernel panic - not syncing: kernel stack overflow
CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Call trace:
 dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
 show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 panic+0x218/0x50c kernel/panic.c:274
 nmi_panic+0xbc/0xf0 kernel/panic.c:169
 panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
 handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
 __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
 mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
 do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
 do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
 psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
 psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
 psi_sched_switch kernel/sched/stats.h:194 [inline]
 __schedule+0x554/0x5a0 kernel/sched/core.c:6489
 preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
 arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
 __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
 el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
 lock_is_held include/linux/lockdep.h:283 [inline]
 __might_resched+0x7c/0x218 kernel/sched/core.c:9854
 __might_sleep+0x48/0x78 kernel/sched/core.c:9821
 might_alloc include/linux/sched/mm.h:274 [inline]
 slab_pre_alloc_hook mm/slab.h:700 [inline]
 slab_alloc_node mm/slub.c:3162 [inline]
 kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
 __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
 alloc_skb include/linux/skbuff.h:1257 [inline]
 nlmsg_new include/net/netlink.h:953 [inline]
 genlmsg_new include/net/genetlink.h:410 [inline]
 ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640
 ethtool_notify+0xb4/0x178 net/ethtool/netlink.c:704
 ethnl_notify_features net/ethtool/netlink.c:715 [inline]
 ethnl_netdev_event+0x44/0x60 net/ethtool/netlink.c:723
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_add_slave+0x7c/0x98 drivers/net/team/team.c:1988
 do_set_master net/core/rtnetlink.c:2577 [inline]
 do_setlink+0x5f8/0x17a4 net/core/rtnetlink.c:2787
 __rtnl_newlink net/core/rtnetlink.c:3546 [inline]
 rtnl_newlink+0x988/0xa04 net/core/rtnetlink.c:3593
 rtnetlink_rcv_msg+0x484/0x82c net/core/rtnetlink.c:6090
 netlink_rcv_skb+0xe4/0x1d0 net/netlink/af_netlink.c:2501
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6108
 netlink_unicast_kernel+0xfc/0x1dc net/netlink/af_netlink.c:1319
 netlink_unicast+0x164/0x248 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x484/0x584 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 ____sys_sendmsg+0x2f8/0x440 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x1ac/0x228 net/socket.c:2565
 __do_sys_sendmsg net/socket.c:2574 [inline]
 __se_sys_sendmsg net/socket.c:2572 [inline]
 __arm64_sys_sendmsg+0x2c/0x3c net/socket.c:2572
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,02070084,26017203
Memory Limit: none

---
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 [email protected].

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

#1 lore raw
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 408 lines

x8 : 00000000000c008e x7 : ffff80000818cfc0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000008 x1 : ffff00013e520a60 x0 : ffff00013e520000

Kernel panic - not syncing: kernel stack overflow
CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Call trace:
 dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
 show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 panic+0x218/0x50c kernel/panic.c:274
 nmi_panic+0xbc/0xf0 kernel/panic.c:169
 panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
 handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
 __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
 mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
 do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
 do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
 psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
 psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
 psi_sched_switch kernel/sched/stats.h:194 [inline]
 __schedule+0x554/0x5a0 kernel/sched/core.c:6489
 preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
 arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
 __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
 el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
 lock_is_held include/linux/lockdep.h:283 [inline]
 __might_resched+0x7c/0x218 kernel/sched/core.c:9854
 __might_sleep+0x48/0x78 kernel/sched/core.c:9821
 might_alloc include/linux/sched/mm.h:274 [inline]
 slab_pre_alloc_hook mm/slab.h:700 [inline]
 slab_alloc_node mm/slub.c:3162 [inline]
 kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
 __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
 alloc_skb include/linux/skbuff.h:1257 [inline]
 nlmsg_new include/net/netlink.h:953 [inline]
 genlmsg_new include/net/genetlink.h:410 [inline]
 ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640
 ethtool_notify+0xb4/0x178 net/ethtool/netlink.c:704
 ethnl_notify_features net/ethtool/netlink.c:715 [inline]
 ethnl_netdev_event+0x44/0x60 net/ethtool/netlink.c:723
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_add_slave+0x7c/0x98 drivers/net/team/team.c:1988
 do_set_master net/core/rtnetlink.c:2577 [inline]
 do_setlink+0x5f8/0x17a4 net/core/rtnetlink.c:2787
 __rtnl_newlink net/core/rtnetlink.c:3546 [inline]
 rtnl_newlink+0x988/0xa04 net/core/rtnetlink.c:3593
 rtnetlink_rcv_msg+0x484/0x82c net/core/rtnetlink.c:6090
 netlink_rcv_skb+0xe4/0x1d0 net/netlink/af_netlink.c:2501
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6108
 netlink_unicast_kernel+0xfc/0x1dc net/netlink/af_netlink.c:1319
 netlink_unicast+0x164/0x248 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x484/0x584 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 ____sys_sendmsg+0x2f8/0x440 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x1ac/0x228 net/socket.c:2565
 __do_sys_sendmsg net/socket.c:2574 [inline]
 __se_sys_sendmsg net/socket.c:2572 [inline]
 __arm64_sys_sendmsg+0x2c/0x3c net/socket.c:2572
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,02070084,26017203
Memory Limit: none

---
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 [email protected].

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

--
You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000c8900705ead19e41%40google.com.

#2 lore raw
Quoted 25 lines · Dmitry Vyukov
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]
Quoted 7 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Taehee Yoo, can you take a look ?

Patch series of yours was supposed to limit max nest level to 8

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

Quoted 409 lines
Quoted 409 lines

x8 : 00000000000c008e x7 : ffff80000818cfc0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000008 x1 : ffff00013e520a60 x0 : ffff00013e520000

Kernel panic - not syncing: kernel stack overflow
CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Call trace:
 dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
 show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 panic+0x218/0x50c kernel/panic.c:274
 nmi_panic+0xbc/0xf0 kernel/panic.c:169
 panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
 handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
 __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
 mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
 do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
 do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
 psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
 psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
 psi_sched_switch kernel/sched/stats.h:194 [inline]
 __schedule+0x554/0x5a0 kernel/sched/core.c:6489
 preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
 arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
 __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
 el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
 lock_is_held include/linux/lockdep.h:283 [inline]
 __might_resched+0x7c/0x218 kernel/sched/core.c:9854
 __might_sleep+0x48/0x78 kernel/sched/core.c:9821
 might_alloc include/linux/sched/mm.h:274 [inline]
 slab_pre_alloc_hook mm/slab.h:700 [inline]
 slab_alloc_node mm/slub.c:3162 [inline]
 kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
 __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
 alloc_skb include/linux/skbuff.h:1257 [inline]
 nlmsg_new include/net/netlink.h:953 [inline]
 genlmsg_new include/net/genetlink.h:410 [inline]
 ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640
 ethtool_notify+0xb4/0x178 net/ethtool/netlink.c:704
 ethnl_notify_features net/ethtool/netlink.c:715 [inline]
 ethnl_netdev_event+0x44/0x60 net/ethtool/netlink.c:723
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_compute_features drivers/net/team/team.c:1031 [inline]
 team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 netdev_features_change net/core/dev.c:1315 [inline]
 netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
 __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
 netdev_change_features+0x30/0xfc net/core/dev.c:9823
 team_add_slave+0x7c/0x98 drivers/net/team/team.c:1988
 do_set_master net/core/rtnetlink.c:2577 [inline]
 do_setlink+0x5f8/0x17a4 net/core/rtnetlink.c:2787
 __rtnl_newlink net/core/rtnetlink.c:3546 [inline]
 rtnl_newlink+0x988/0xa04 net/core/rtnetlink.c:3593
 rtnetlink_rcv_msg+0x484/0x82c net/core/rtnetlink.c:6090
 netlink_rcv_skb+0xe4/0x1d0 net/netlink/af_netlink.c:2501
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6108
 netlink_unicast_kernel+0xfc/0x1dc net/netlink/af_netlink.c:1319
 netlink_unicast+0x164/0x248 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x484/0x584 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 ____sys_sendmsg+0x2f8/0x440 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x1ac/0x228 net/socket.c:2565
 __do_sys_sendmsg net/socket.c:2574 [inline]
 __se_sys_sendmsg net/socket.c:2572 [inline]
 __arm64_sys_sendmsg+0x2c/0x3c net/socket.c:2572
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,02070084,26017203
Memory Limit: none

---
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 [email protected].

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

--
You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000c8900705ead19e41%40google.com.

#3 lore raw

Hi Eric,

Quoted 35 lines · Eric Dumazet
Quoted 25 lines · Dmitry Vyukov
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config: https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]
Quoted 7 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 6 lines

Taehee Yoo, can you take a look ?

Patch series of yours was supposed to limit max nest level to 8

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

Thank you for the report,
Okay, I will take a look.

Quoted 405 lines
Quoted 405 lines
Quoted 405 lines

x8 : 00000000000c008e x7 : ffff80000818cfc0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000008 x1 : ffff00013e520a60 x0 : ffff00013e520000

Kernel panic - not syncing: kernel stack overflow
CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Call trace:
  dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
  show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
  __dump_stack lib/dump_stack.c:88 [inline]
  dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
  dump_stack+0x1c/0x58 lib/dump_stack.c:113
  panic+0x218/0x50c kernel/panic.c:274
  nmi_panic+0xbc/0xf0 kernel/panic.c:169
  panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
  handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
  __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
  mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
  lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
  do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
  do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
  psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
  psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
  psi_sched_switch kernel/sched/stats.h:194 [inline]
  __schedule+0x554/0x5a0 kernel/sched/core.c:6489
  preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
  arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
  __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
  el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
  el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
  el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
  arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
  lock_is_held include/linux/lockdep.h:283 [inline]
  __might_resched+0x7c/0x218 kernel/sched/core.c:9854
  __might_sleep+0x48/0x78 kernel/sched/core.c:9821
  might_alloc include/linux/sched/mm.h:274 [inline]
  slab_pre_alloc_hook mm/slab.h:700 [inline]
  slab_alloc_node mm/slub.c:3162 [inline]
  kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
  __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
  alloc_skb include/linux/skbuff.h:1257 [inline]
  nlmsg_new include/net/netlink.h:953 [inline]
  genlmsg_new include/net/genetlink.h:410 [inline]
  ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640
  ethtool_notify+0xb4/0x178 net/ethtool/netlink.c:704
  ethnl_notify_features net/ethtool/netlink.c:715 [inline]
  ethnl_netdev_event+0x44/0x60 net/ethtool/netlink.c:723
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_add_slave+0x7c/0x98 drivers/net/team/team.c:1988
  do_set_master net/core/rtnetlink.c:2577 [inline]
  do_setlink+0x5f8/0x17a4 net/core/rtnetlink.c:2787
  __rtnl_newlink net/core/rtnetlink.c:3546 [inline]
  rtnl_newlink+0x988/0xa04 net/core/rtnetlink.c:3593
  rtnetlink_rcv_msg+0x484/0x82c net/core/rtnetlink.c:6090
  netlink_rcv_skb+0xe4/0x1d0 net/netlink/af_netlink.c:2501
  rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6108
  netlink_unicast_kernel+0xfc/0x1dc net/netlink/af_netlink.c:1319
  netlink_unicast+0x164/0x248 net/netlink/af_netlink.c:1345
  netlink_sendmsg+0x484/0x584 net/netlink/af_netlink.c:1921
  sock_sendmsg_nosec net/socket.c:714 [inline]
  sock_sendmsg net/socket.c:734 [inline]
  ____sys_sendmsg+0x2f8/0x440 net/socket.c:2482
  ___sys_sendmsg net/socket.c:2536 [inline]
  __sys_sendmsg+0x1ac/0x228 net/socket.c:2565
  __do_sys_sendmsg net/socket.c:2574 [inline]
  __se_sys_sendmsg net/socket.c:2572 [inline]
  __arm64_sys_sendmsg+0x2c/0x3c net/socket.c:2572
  __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
  invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
  el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
  do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
  el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
  el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
  el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,02070084,26017203
Memory Limit: none

---
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 [email protected].

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

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

--
You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000c8900705ead19e41%40google.com.

Thanks,

Taehee Yoo

#4 lore raw
In reply to Eric Dumazet

Hi,

Quoted 35 lines · Eric Dumazet
Quoted 25 lines · Dmitry Vyukov
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config: https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]
Quoted 7 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 6 lines

Taehee Yoo, can you take a look ?

Patch series of yours was supposed to limit max nest level to 8

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

I found a reproducer.

#test_team.sh
ip link add dummy0 type dummy
ip link set dummy0 up
for a1 in {0..1}
do
ip link add team$a1 type team
for a2 in {0..1}
do
ip link add team$a1$a2 master team$a1 type team for a3 in {0..1}
do
ip link add team$a1$a2$a3 master team$a1$a2
type team
for a4 in {0..1}
do
ip link add team$a1$a2$a3$a4 master
team$a1$a2$a3 type team

                                for a5 in {0..1}
                                do
                                        ip link add team$a1$a2$a3$a4$a5 

master team$a1$a2$a3$a4 type team
for a6 in {0..1}
do
ip link add
team$a1$a2$a3$a4$a5$a6 master team$a1$a2$a3$a4$a5 type team
ip link add
macvlan$a1$a2$a3$a4$a5$a6 link dummy0 master team$a1$a2$a3$a4$a5$a6 type macvlan
ip link set
macvlan$a1$a2$a3$a4$a5$a6 up
ip link set
team$a1$a2$a3$a4$a5$a6 up
done
ip link set team$a1$a2$a3$a4$a5 up
done
ip link set team$a1$a2$a3$a4 up
done
ip link set team$a1$a2$a3 up
done
ip link set team$a1$a2 up
done
ip link set team$a1 up
done

#test_ethtool.sh
for a1 in {0..1}
do

        ethtool -K team$a1 lro $1
        for a2 in {0..1}
        do
                ethtool -K team$a1$a2 lro $1
                for a3 in {0..1}
                do
                        ethtool -K team$a1$a2$a3 lro $1
                        for a4 in {0..1}
                        do
                                ethtool -K team$a1$a2$a3$a4 lro $1
                                for a5 in {0..1}
                                do
                                        ethtool -K team$a1$a2$a3$a4$a5 
lro $1
                                        for a6 in {0..1}
                                        do
                                                ethtool -K 

team$a1$a2$a3$a4$a5$a6 lro $1
ethtool -K
macvlan$a1$a2$a3$a4$a5$a6 lro $1
done
done
done
done
done
done

shell#1
bash test_team.sh
while :
do
bash test_ethtool.sh on
done
shell#2
while :
do
bash test_ethtool.sh off
done

We can see a very similar call trace with the above reproducer. I think it is the same issue.
Could you please test it?

And, I found the fixed same issue too.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.0&id=dd912306ff008891c82cd9f63e8181e47a9cb2fb
https://groups.google.com/g/syzkaller-bugs/c/-5OV1OW-dS4/m/o2Oq6AYSAwAJ

Quoted 412 lines
Quoted 412 lines
Quoted 412 lines

x8 : 00000000000c008e x7 : ffff80000818cfc0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000008 x1 : ffff00013e520a60 x0 : ffff00013e520000

Kernel panic - not syncing: kernel stack overflow
CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Call trace:
  dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
  show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
  __dump_stack lib/dump_stack.c:88 [inline]
  dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
  dump_stack+0x1c/0x58 lib/dump_stack.c:113
  panic+0x218/0x50c kernel/panic.c:274
  nmi_panic+0xbc/0xf0 kernel/panic.c:169
  panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
  handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
  __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
  mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
  lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
  do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
  do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
  psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
  psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
  psi_sched_switch kernel/sched/stats.h:194 [inline]
  __schedule+0x554/0x5a0 kernel/sched/core.c:6489
  preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
  arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
  __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
  el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
  el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
  el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
  arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
  lock_is_held include/linux/lockdep.h:283 [inline]
  __might_resched+0x7c/0x218 kernel/sched/core.c:9854
  __might_sleep+0x48/0x78 kernel/sched/core.c:9821
  might_alloc include/linux/sched/mm.h:274 [inline]
  slab_pre_alloc_hook mm/slab.h:700 [inline]
  slab_alloc_node mm/slub.c:3162 [inline]
  kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
  __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
  alloc_skb include/linux/skbuff.h:1257 [inline]
  nlmsg_new include/net/netlink.h:953 [inline]
  genlmsg_new include/net/genetlink.h:410 [inline]
  ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640
  ethtool_notify+0xb4/0x178 net/ethtool/netlink.c:704
  ethnl_notify_features net/ethtool/netlink.c:715 [inline]
  ethnl_netdev_event+0x44/0x60 net/ethtool/netlink.c:723
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_add_slave+0x7c/0x98 drivers/net/team/team.c:1988
  do_set_master net/core/rtnetlink.c:2577 [inline]
  do_setlink+0x5f8/0x17a4 net/core/rtnetlink.c:2787
  __rtnl_newlink net/core/rtnetlink.c:3546 [inline]
  rtnl_newlink+0x988/0xa04 net/core/rtnetlink.c:3593
  rtnetlink_rcv_msg+0x484/0x82c net/core/rtnetlink.c:6090
  netlink_rcv_skb+0xe4/0x1d0 net/netlink/af_netlink.c:2501
  rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6108
  netlink_unicast_kernel+0xfc/0x1dc net/netlink/af_netlink.c:1319
  netlink_unicast+0x164/0x248 net/netlink/af_netlink.c:1345
  netlink_sendmsg+0x484/0x584 net/netlink/af_netlink.c:1921
  sock_sendmsg_nosec net/socket.c:714 [inline]
  sock_sendmsg net/socket.c:734 [inline]
  ____sys_sendmsg+0x2f8/0x440 net/socket.c:2482
  ___sys_sendmsg net/socket.c:2536 [inline]
  __sys_sendmsg+0x1ac/0x228 net/socket.c:2565
  __do_sys_sendmsg net/socket.c:2574 [inline]
  __se_sys_sendmsg net/socket.c:2572 [inline]
  __arm64_sys_sendmsg+0x2c/0x3c net/socket.c:2572
  __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
  invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
  el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
  do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
  el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
  el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
  el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,02070084,26017203
Memory Limit: none

---
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 [email protected].

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

--
You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000c8900705ead19e41%40google.com.

#5 lore raw
Quoted 147 lines · Taehee Yoo

Hi,

Quoted 1 line · Eric Dumazet

On Wed, Oct 12, 2022 at 12:53 AM Dmitry Vyukov <[email protected]>

Quoted 9 lines · wrote:
Quoted 9 lines
Quoted 6 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit: bbed346d5a96 Merge branch 'for-next/core' into

for-kernelci

Quoted 1 line
Quoted 1 line
Quoted 1 line

git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci

Quoted 1 line
Quoted 1 line
Quoted 1 line

console output:

https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000

Quoted 1 line
Quoted 1 line
Quoted 1 line

kernel config:

https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684

Quoted 1 line
Quoted 1 line
Quoted 1 line

dashboard link:

https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581

Quoted 1 line
Quoted 1 line
Quoted 1 line

compiler: Debian clang version

13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

userspace arch: arm64

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

Downloadable assets:
disk image:

https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz

Quoted 1 line
Quoted 1 line
Quoted 1 line

vmlinux:

https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

IMPORTANT: if you fix the issue, please add the following tag to

the commit:

Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Reported-by [email protected]

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:

https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 8 lines
Quoted 1 line

Taehee Yoo, can you take a look ?

Patch series of yours was supposed to limit max nest level to 8

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

Quoted 1 line

I found a reproducer.

#test_team.sh
ip link add dummy0 type dummy
ip link set dummy0 up
for a1 in {0..1}
do
ip link add team$a1 type team
for a2 in {0..1}
do
ip link add team$a1$a2 master team$a1 type team for a3 in {0..1}
do
ip link add team$a1$a2$a3 master team$a1$a2
type team
for a4 in {0..1}
do
ip link add team$a1$a2$a3$a4 master
team$a1$a2$a3 type team

                                 for a5 in {0..1}
                                 do
                                         ip link add team$a1$a2$a3$a4$a5

master team$a1$a2$a3$a4 type team
for a6 in {0..1}
do
ip link add
team$a1$a2$a3$a4$a5$a6 master team$a1$a2$a3$a4$a5 type team
ip link add
macvlan$a1$a2$a3$a4$a5$a6 link dummy0 master team$a1$a2$a3$a4$a5$a6 type macvlan
ip link set
macvlan$a1$a2$a3$a4$a5$a6 up
ip link set
team$a1$a2$a3$a4$a5$a6 up
done
ip link set team$a1$a2$a3$a4$a5 up
done
ip link set team$a1$a2$a3$a4 up
done
ip link set team$a1$a2$a3 up
done
ip link set team$a1$a2 up
done
ip link set team$a1 up
done

#test_ethtool.sh
for a1 in {0..1}
do

         ethtool -K team$a1 lro $1
         for a2 in {0..1}
         do
                 ethtool -K team$a1$a2 lro $1
                 for a3 in {0..1}
                 do
                         ethtool -K team$a1$a2$a3 lro $1
                         for a4 in {0..1}
                         do
                                 ethtool -K team$a1$a2$a3$a4 lro $1
                                 for a5 in {0..1}
                                 do
                                         ethtool -K team$a1$a2$a3$a4$a5
lro $1
                                         for a6 in {0..1}
                                         do
                                                 ethtool -K

team$a1$a2$a3$a4$a5$a6 lro $1
ethtool -K
macvlan$a1$a2$a3$a4$a5$a6 lro $1
done
done
done
done
done
done

shell#1
bash test_team.sh
while :
do
bash test_ethtool.sh on
done
shell#2
while :
do
bash test_ethtool.sh off
done

Quoted 2 lines

We can see a very similar call trace with the above reproducer. I think it is the same issue.

Nice repro !

Quoted 1 line

Could you please test it?

Not sure who is supposed to test it :)

Quoted 423 lines

And, I found the fixed same issue too.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.0&id=dd912306ff008891c82cd9f63e8181e47a9cb2fb
https://groups.google.com/g/syzkaller-bugs/c/-5OV1OW-dS4/m/o2Oq6AYSAwAJ

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

x8 : 00000000000c008e x7 : ffff80000818cfc0 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000008 x1 : ffff00013e520a60 x0 : ffff00013e520000

Kernel panic - not syncing: kernel stack overflow
CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted

6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Hardware name: Google Google Compute Engine/Google Compute Engine,

BIOS Google 09/30/2022

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Call trace:
  dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
  show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
  __dump_stack lib/dump_stack.c:88 [inline]
  dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
  dump_stack+0x1c/0x58 lib/dump_stack.c:113
  panic+0x218/0x50c kernel/panic.c:274
  nmi_panic+0xbc/0xf0 kernel/panic.c:169
  panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
  handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
  __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
  mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
  lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
  do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
  do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
  psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
  psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
  psi_sched_switch kernel/sched/stats.h:194 [inline]
  __schedule+0x554/0x5a0 kernel/sched/core.c:6489
  preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
  arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265

[inline]

Quoted 374 lines
Quoted 374 lines
Quoted 374 lines
  __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
  el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
  el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
  el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
  arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
  lock_is_held include/linux/lockdep.h:283 [inline]
  __might_resched+0x7c/0x218 kernel/sched/core.c:9854
  __might_sleep+0x48/0x78 kernel/sched/core.c:9821
  might_alloc include/linux/sched/mm.h:274 [inline]
  slab_pre_alloc_hook mm/slab.h:700 [inline]
  slab_alloc_node mm/slub.c:3162 [inline]
  kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
  __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
  alloc_skb include/linux/skbuff.h:1257 [inline]
  nlmsg_new include/net/netlink.h:953 [inline]
  genlmsg_new include/net/genetlink.h:410 [inline]
  ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640
  ethtool_notify+0xb4/0x178 net/ethtool/netlink.c:704
  ethnl_notify_features net/ethtool/netlink.c:715 [inline]
  ethnl_netdev_event+0x44/0x60 net/ethtool/netlink.c:723
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_compute_features drivers/net/team/team.c:1031 [inline]
  team_device_event+0x1a8/0x25c drivers/net/team/team.c:3024
  notifier_call_chain kernel/notifier.c:87 [inline]
  raw_notifier_call_chain+0x7c/0x108 kernel/notifier.c:455
  call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
  call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
  call_netdevice_notifiers net/core/dev.c:1997 [inline]
  netdev_features_change net/core/dev.c:1315 [inline]
  netdev_sync_lower_features+0x13c/0x21c net/core/dev.c:9599
  __netdev_update_features+0x284/0xa88 net/core/dev.c:9751
  netdev_change_features+0x30/0xfc net/core/dev.c:9823
  team_add_slave+0x7c/0x98 drivers/net/team/team.c:1988
  do_set_master net/core/rtnetlink.c:2577 [inline]
  do_setlink+0x5f8/0x17a4 net/core/rtnetlink.c:2787
  __rtnl_newlink net/core/rtnetlink.c:3546 [inline]
  rtnl_newlink+0x988/0xa04 net/core/rtnetlink.c:3593
  rtnetlink_rcv_msg+0x484/0x82c net/core/rtnetlink.c:6090
  netlink_rcv_skb+0xe4/0x1d0 net/netlink/af_netlink.c:2501
  rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6108
  netlink_unicast_kernel+0xfc/0x1dc net/netlink/af_netlink.c:1319
  netlink_unicast+0x164/0x248 net/netlink/af_netlink.c:1345
  netlink_sendmsg+0x484/0x584 net/netlink/af_netlink.c:1921
  sock_sendmsg_nosec net/socket.c:714 [inline]
  sock_sendmsg net/socket.c:734 [inline]
  ____sys_sendmsg+0x2f8/0x440 net/socket.c:2482
  ___sys_sendmsg net/socket.c:2536 [inline]
  __sys_sendmsg+0x1ac/0x228 net/socket.c:2565
  __do_sys_sendmsg net/socket.c:2574 [inline]
  __se_sys_sendmsg net/socket.c:2572 [inline]
  __arm64_sys_sendmsg+0x2c/0x3c net/socket.c:2572
  __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
  invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
  el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
  do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
  el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
  el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
  el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581

SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,02070084,26017203
Memory Limit: none

---
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 [email protected].

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

--
You received this message because you are subscribed to the Google

Groups "syzkaller-bugs" group.

Quoted 1 line
Quoted 1 line
Quoted 1 line

To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

Quoted 1 line
Quoted 1 line
Quoted 1 line

To view this discussion on the web visit

https://groups.google.com/d/msgid/syzkaller-bugs/000000000000c8900705ead19e41%40google.com.

#6 lore raw
In reply to Taehee Yoo

Hi,

2022. 10. 14. 오전 12:00에 Taehee Yoo 이(가) 쓴 글:

Quoted 156 lines

Hi,

Quoted 1 line · Eric Dumazet

On Wed, Oct 12, 2022 at 12:53 AM Dmitry Vyukov <[email protected]>

Quoted 9 lines · wrote:
Quoted 9 lines
Quoted 6 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit: bbed346d5a96 Merge branch 'for-next/core' into

for-kernelci

Quoted 1 line
Quoted 1 line
Quoted 1 line

git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci

Quoted 1 line
Quoted 1 line
Quoted 1 line

console output:

https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000

Quoted 1 line
Quoted 1 line
Quoted 1 line

kernel config:

https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684

Quoted 1 line
Quoted 1 line
Quoted 1 line

dashboard link:

https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581

Quoted 1 line
Quoted 1 line
Quoted 1 line

compiler: Debian clang version

13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

userspace arch: arm64

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

Downloadable assets:
disk image:

https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz

Quoted 1 line
Quoted 1 line
Quoted 1 line

vmlinux:

https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

IMPORTANT: if you fix the issue, please add the following tag to

the commit:

Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Reported-by [email protected]

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:

https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 8 lines
Quoted 1 line

Taehee Yoo, can you take a look ?

Patch series of yours was supposed to limit max nest level to 8

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

Quoted 1 line

I found a reproducer.

#test_team.sh
ip link add dummy0 type dummy
ip link set dummy0 up
for a1 in {0..1}
do
ip link add team$a1 type team
for a2 in {0..1}
do
ip link add team$a1$a2 master team$a1 type team for a3 in {0..1}
do
ip link add team$a1$a2$a3 master team$a1$a2
type team
for a4 in {0..1}
do
ip link add team$a1$a2$a3$a4 master
team$a1$a2$a3 type team

                                 for a5 in {0..1}
                                 do
                                         ip link add team$a1$a2$a3$a4$a5

master team$a1$a2$a3$a4 type team
for a6 in {0..1}
do
ip link add
team$a1$a2$a3$a4$a5$a6 master team$a1$a2$a3$a4$a5 type team
ip link add
macvlan$a1$a2$a3$a4$a5$a6 link dummy0 master team$a1$a2$a3$a4$a5$a6 type macvlan
ip link set
macvlan$a1$a2$a3$a4$a5$a6 up
ip link set
team$a1$a2$a3$a4$a5$a6 up
done
ip link set team$a1$a2$a3$a4$a5 up
done
ip link set team$a1$a2$a3$a4 up
done
ip link set team$a1$a2$a3 up
done
ip link set team$a1$a2 up
done
ip link set team$a1 up
done

#test_ethtool.sh
for a1 in {0..1}
do

         ethtool -K team$a1 lro $1
         for a2 in {0..1}
         do
                 ethtool -K team$a1$a2 lro $1
                 for a3 in {0..1}
                 do
                         ethtool -K team$a1$a2$a3 lro $1
                         for a4 in {0..1}
                         do
                                 ethtool -K team$a1$a2$a3$a4 lro $1
                                 for a5 in {0..1}
                                 do
                                         ethtool -K team$a1$a2$a3$a4$a5
lro $1
                                         for a6 in {0..1}
                                         do
                                                 ethtool -K

team$a1$a2$a3$a4$a5$a6 lro $1
ethtool -K
macvlan$a1$a2$a3$a4$a5$a6 lro $1
done
done
done
done
done
done

shell#1
bash test_team.sh
while :
do
bash test_ethtool.sh on
done
shell#2
while :
do
bash test_ethtool.sh off
done

We can see a very similar call trace with the above reproducer. I think it is the same issue.
Could you please test it?

Quoted 6 lines

And, I found the fixed same issue too.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.0&id=dd912306ff008891c82cd9f63e8181e47a9cb2fb

https://groups.google.com/g/syzkaller-bugs/c/-5OV1OW-dS4/m/o2Oq6AYSAwAJ

I found the root cause of this issue.

This is simpler reproducer.

ip link add team0 type team
ethtool -K team0 lro on
for i in {1..100}
do
ip link add team$i master team0 type team
ethtool -K team$i lro on
done

ethtool -K team0 lro off

The above graph is like below:

       team0
         |
  +------+------+-----+-----+
  |      |      |     |     |
team1  team2  team3  ...  team100

int __netdev_update_features(struct net_device *dev)

{
        struct net_device *upper, *lower;
        netdev_features_t features;
        struct list_head *iter;
        int err = -1;
...
sync_lower:
        /* some features must be disabled on lower devices when disabled
         * on an upper device (think: bonding master or bridge)
         */
        netdev_for_each_lower_dev(dev, lower, iter)
                netdev_sync_lower_features(dev, lower, features);

...

static void netdev_sync_lower_features(struct net_device *upper,
struct net_device *lower, netdev_features_t features)

{
        netdev_features_t upper_disables = NETIF_F_UPPER_DISABLES;
        netdev_features_t feature;
        int feature_bit;

        for_each_netdev_feature(upper_disables, feature_bit) {
                feature = __NETIF_F_BIT(feature_bit);
                if (!(features & feature) && (lower->features & feature)) {
                        netdev_dbg(upper, "Disabling feature %pNF on 
lower dev %s.\n",
                                   &feature, lower->name);
                        lower->wanted_features &= ~feature;
                        __netdev_update_features(lower);

                        if (unlikely(lower->features & feature))
                                netdev_WARN(upper, "failed to disable 
%pNF on %s!\n",
                                            &feature, lower->name);
                        else
                                netdev_features_change(lower);<-----HERE
                }
        }
}

void netdev_features_change(struct net_device *dev)

{
        call_netdevice_notifiers(NETDEV_FEAT_CHANGE, dev);
}

The code looks like an iterator.
But it would work recursively because of notification.

When team0's feature(LRO) is changed with <ethtool -K team0 lro off>", __netdev_update_features(team0) is called. __netdev_update_features(team0) internally sends NETDEV_FEAT_CHANGE event to all lower interfaces(team1, team2, ... team100). team1 will receive NETDEV_FEAT_CHANGE, and it sends NETDEV_FEAT_CHANGE to the upper interface(team0).
team0 will receive NETDEV_FEAT_CHANGE again, and it sends NETDEV_FEAT_CHANGE to the all lower interfaces(team1, team2, ... team100). (At this point, team1 flag was already set, so it will be skipped.)
team2 will receive NETDEV_FEAT_CHANGE, and it sends NETDEV_FEAT_CHANGE to the upper interface(team0).
team0 will receive NETDEV_FEAT_CHANGE again again, and it sends NETDEV_FEAT_CHANGE to the all lower interfaces(team1, team2, ... team100). (team1, team2 skipped.)
...
So, if there are a few lower interfaces(roughly under 30 lower interfaces), it anyway works even if internally works recursively. But so many lower interfaces exist, stack overflow will occur.
This is the root cause of this issue.

I think synchronization direction should be one way.
Up or Down.
It means that if the team0 interface can send the NETDEV_FEAT_CHANGE notification event to the lower interface, the lower interfaces should be disallowed to send NETDEV_FEAT_CHANGE event to the upper interface.

bonding has same issue.

#7 lore raw
Quoted 254 lines · Taehee Yoo

Hi,

2022. 10. 14. 오전 12:00에 Taehee Yoo 이(가) 쓴 글:

Quoted 17 lines

Hi,

On 10/12/22 21:19, Eric Dumazet wrote:
  > On Wed, Oct 12, 2022 at 12:53 AM Dmitry Vyukov <[email protected]> wrote:
  >>
  >> On Wed, 12 Oct 2022 at 09:48, syzbot
  >> <[email protected]> wrote:
  >>>
  >>> Hello,
  >>>
  >>> syzbot found the following issue on:
  >>>
  >>> HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
  >>> git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git

for-kernelci

Quoted 7 lines

  >>> console output:
https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
  >>> kernel config:
https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
  >>> dashboard link:
https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
  >>> compiler:       Debian clang version

Quoted 9 lines

13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
  >>> userspace arch: arm64
  >>>
  >>> Unfortunately, I don't have any reproducer for this issue yet. >>>
  >>> Downloadable assets:
  >>> disk image:

https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz

Quoted 3 lines

  >>> vmlinux:

https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

Quoted 13 lines

  >>>
  >>> IMPORTANT: if you fix the issue, please add the following tag to the commit:
  >>> Reported-by: [email protected] >>
  >> +Jiri
  >>
  >> It looks like the issue is with the team device. It seems to call >> itself infinitely.
  >> team_device_event was mentioned in stack overflow bugs in the past:
  >>

https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 9 lines

  >>
  >
  >
  > Taehee Yoo, can you take a look ?
  >
  > Patch series of yours was supposed to limit max nest level to 8 >
  >

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

Quoted 31 lines

  >

I found a reproducer.

#test_team.sh
ip link add dummy0 type dummy
ip link set dummy0 up
for a1 in {0..1}
do
          ip link add team$a1 type team
          for a2 in {0..1}
          do
                  ip link add team$a1$a2 master team$a1 type team for a3 in {0..1}
                  do
                          ip link add team$a1$a2$a3 master team$a1$a2 type team
                          for a4 in {0..1}
                          do
                                  ip link add team$a1$a2$a3$a4 master team$a1$a2$a3 type team
                                  for a5 in {0..1}
                                  do
                                          ip link add team$a1$a2$a3$a4$a5 master team$a1$a2$a3$a4 type team
                                          for a6 in {0..1}
                                          do
                                                  ip link add team$a1$a2$a3$a4$a5$a6 master team$a1$a2$a3$a4$a5 type team ip link add

Quoted 8 lines

macvlan$a1$a2$a3$a4$a5$a6 link dummy0 master team$a1$a2$a3$a4$a5$a6 type macvlan
                                                  ip link set macvlan$a1$a2$a3$a4$a5$a6 up
                                                  ip link set team$a1$a2$a3$a4$a5$a6 up
                                          done
                                          ip link set

team$a1$a2$a3$a4$a5 up

Quoted 52 lines

                                  done
                                  ip link set team$a1$a2$a3$a4 up done
                          ip link set team$a1$a2$a3 up done
                  ip link set team$a1$a2 up
          done
          ip link set team$a1 up
done

#test_ethtool.sh
for a1 in {0..1}
do
          ethtool -K team$a1 lro $1
          for a2 in {0..1}
          do
                  ethtool -K team$a1$a2 lro $1
                  for a3 in {0..1}
                  do
                          ethtool -K team$a1$a2$a3 lro $1 for a4 in {0..1}
                          do
                                  ethtool -K team$a1$a2$a3$a4 lro $1 for a5 in {0..1}
                                  do
                                          ethtool -K team$a1$a2$a3$a4$a5 lro $1
                                          for a6 in {0..1} do
                                                  ethtool -K team$a1$a2$a3$a4$a5$a6 lro $1
                                                  ethtool -K macvlan$a1$a2$a3$a4$a5$a6 lro $1
                                          done
                                  done
                          done
                  done
          done
done

shell#1
bash test_team.sh
while :
do
bash test_ethtool.sh on
done
shell#2
while :
do
bash test_ethtool.sh off
done

Quoted 6 lines

We can see a very similar call trace with the above reproducer. I think it is the same issue.
Could you please test it?

And, I found the fixed same issue too.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.0&id=dd912306ff008891c82cd9f63e8181e47a9cb2fb

Quoted 3 lines

https://groups.google.com/g/syzkaller-bugs/c/-5OV1OW-dS4/m/o2Oq6AYSAwAJ

I found the root cause of this issue.

This is simpler reproducer.

ip link add team0 type team
ethtool -K team0 lro on
for i in {1..100}
do
        ip link add team$i master team0 type team ethtool -K team$i lro on
done

ethtool -K team0 lro off

The above graph is like below:
       team0
         |

   +------+------+-----+-----+
   |      |      |     |     |

team1  team2  team3  ...  team100

int __netdev_update_features(struct net_device *dev)
{
        struct net_device *upper, *lower;
        netdev_features_t features;
        struct list_head *iter;
        int err = -1;
...
sync_lower:
        /* some features must be disabled on lower devices when disabled
         * on an upper device (think: bonding master or bridge) */
        netdev_for_each_lower_dev(dev, lower, iter) netdev_sync_lower_features(dev, lower, features);
...

static void netdev_sync_lower_features(struct net_device *upper,
        struct net_device *lower, netdev_features_t features)
{
        netdev_features_t upper_disables = NETIF_F_UPPER_DISABLES; netdev_features_t feature;
        int feature_bit;

        for_each_netdev_feature(upper_disables, feature_bit) { feature = __NETIF_F_BIT(feature_bit);
                if (!(features & feature) && (lower->features &
feature)) {
                        netdev_dbg(upper, "Disabling feature %pNF on
lower dev %s.\n",
                                   &feature, lower->name); lower->wanted_features &= ~feature; __netdev_update_features(lower);

                        if (unlikely(lower->features & feature)) netdev_WARN(upper, "failed to disable
%pNF on %s!\n",
                                            &feature, lower->name); else netdev_features_change(lower);<-----HERE }
        }
}

void netdev_features_change(struct net_device *dev) {
        call_netdevice_notifiers(NETDEV_FEAT_CHANGE, dev);
}

The code looks like an iterator.
But it would work recursively because of notification.

When team0's feature(LRO) is changed with <ethtool -K team0 lro off>", __netdev_update_features(team0) is called. __netdev_update_features(team0) internally sends NETDEV_FEAT_CHANGE event to all lower interfaces(team1, team2, ... team100). team1 will receive NETDEV_FEAT_CHANGE, and it sends NETDEV_FEAT_CHANGE to the upper interface(team0).
team0 will receive NETDEV_FEAT_CHANGE again, and it sends NETDEV_FEAT_CHANGE to the all lower interfaces(team1, team2, ... team100). (At this point, team1 flag was already set, so it will be skipped.)
team2 will receive NETDEV_FEAT_CHANGE, and it sends NETDEV_FEAT_CHANGE to the upper interface(team0).
team0 will receive NETDEV_FEAT_CHANGE again again, and it sends NETDEV_FEAT_CHANGE to the all lower interfaces(team1, team2, ... team100). (team1, team2 skipped.)
...
So, if there are a few lower interfaces(roughly under 30 lower interfaces), it anyway works even if internally works recursively. But so many lower interfaces exist, stack overflow will occur.
This is the root cause of this issue.

Quoted 6 lines

I think synchronization direction should be one way.
Up or Down.
It means that if the team0 interface can send the NETDEV_FEAT_CHANGE notification event to the lower interface, the lower interfaces should be disallowed to send NETDEV_FEAT_CHANGE event to the upper interface.

bonding has same issue.

Excuse me, is there a fix for this issue? I had the same issue with the 5.10 version of the bonding.

#8 lore raw

Hi wangyufen,

Quoted 279 lines · wangyufen
Quoted 276 lines · Taehee Yoo

Hi,

2022. 10. 14. 오전 12:00에 Taehee Yoo 이(가) 쓴 글:

Quoted 9 lines

Hi,

Quoted 1 line · Eric Dumazet

On Wed, Oct 12, 2022 at 12:53 AM Dmitry Vyukov <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 1 line · syzbot
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hello,

syzbot found the following issue on:

HEAD commit: bbed346d5a96 Merge branch 'for-next/core' into

for-kernelci

Quoted 1 line
Quoted 1 line
Quoted 1 line

git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git

for-kernelci

Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

console output:

https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000

Quoted 1 line
Quoted 1 line
Quoted 1 line

kernel config:

https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684

Quoted 1 line
Quoted 1 line
Quoted 1 line

dashboard link:

https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581

Quoted 1 line
Quoted 1 line
Quoted 1 line

compiler: Debian clang version

13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

userspace arch: arm64

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

Downloadable assets:
disk image:

https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

vmlinux:

https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

IMPORTANT: if you fix the issue, please add the following tag to

the commit:

Quoted 1 line
Quoted 1 line
Quoted 1 line

Reported-by:

[email protected]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the

past:

Quoted 2 lines
Quoted 1 line
Quoted 1 line

https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 9 lines
Quoted 8 lines
Quoted 1 line

Taehee Yoo, can you take a look ?

Patch series of yours was supposed to limit max nest level to 8

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

Quoted 17 lines
Quoted 2 lines

I found a reproducer.

#test_team.sh
ip link add dummy0 type dummy
ip link set dummy0 up
for a1 in {0..1}
do
ip link add team$a1 type team
for a2 in {0..1}
do
ip link add team$a1$a2 master team$a1 type team for a3 in {0..1}
do
ip link add team$a1$a2$a3 master team$a1$a2

Quoted 8 lines

type team
for a4 in {0..1}
do
ip link add team$a1$a2$a3$a4 master
team$a1$a2$a3 type team
for a5 in {0..1}
do
ip link add

team$a1$a2$a3$a4$a5

Quoted 7 lines

master team$a1$a2$a3$a4 type team
for a6 in {0..1} do
ip link add
team$a1$a2$a3$a4$a5$a6 master team$a1$a2$a3$a4$a5 type team
ip link add
macvlan$a1$a2$a3$a4$a5$a6 link dummy0 master team$a1$a2$a3$a4$a5$a6

type

Quoted 7 lines

macvlan
ip link set
macvlan$a1$a2$a3$a4$a5$a6 up
ip link set
team$a1$a2$a3$a4$a5$a6 up
done
ip link set

team$a1$a2$a3$a4$a5 up

Quoted 13 lines

done
ip link set team$a1$a2$a3$a4 up
done
ip link set team$a1$a2$a3 up
done
ip link set team$a1$a2 up
done
ip link set team$a1 up
done

#test_ethtool.sh
for a1 in {0..1}
do

Quoted 13 lines
         ethtool -K team$a1 lro $1
         for a2 in {0..1}
         do
                 ethtool -K team$a1$a2 lro $1
                 for a3 in {0..1}
                 do
                         ethtool -K team$a1$a2$a3 lro $1
                         for a4 in {0..1}
                         do
                                 ethtool -K team$a1$a2$a3$a4 lro $1
                                 for a5 in {0..1}
                                 do
                                         ethtool -K

team$a1$a2$a3$a4$a5

Quoted 26 lines

lro $1

                                         for a6 in {0..1}
                                         do
                                                 ethtool -K

team$a1$a2$a3$a4$a5$a6 lro $1
ethtool -K
macvlan$a1$a2$a3$a4$a5$a6 lro $1
done
done
done
done
done
done

shell#1
bash test_team.sh
while :
do
bash test_ethtool.sh on
done
shell#2
while :
do
bash test_ethtool.sh off
done

Quoted 6 lines

We can see a very similar call trace with the above reproducer. I think it is the same issue.
Could you please test it?

And, I found the fixed same issue too.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.0&id=dd912306ff008891c82cd9f63e8181e47a9cb2fb

Quoted 2 lines

https://groups.google.com/g/syzkaller-bugs/c/-5OV1OW-dS4/m/o2Oq6AYSAwAJ

Quoted 1 line

I found the root cause of this issue.

This is simpler reproducer.

ip link add team0 type team
ethtool -K team0 lro on
for i in {1..100}
do
ip link add team$i master team0 type team ethtool -K team$i lro on
done

ethtool -K team0 lro off

The above graph is like below:

        team0
          |
   +------+------+-----+-----+
   |      |      |     |     |
team1  team2  team3  ...  team100

int __netdev_update_features(struct net_device *dev)

{
         struct net_device *upper, *lower;
         netdev_features_t features;
         struct list_head *iter;
         int err = -1;
...
sync_lower:
         /* some features must be disabled on lower devices when disabled
          * on an upper device (think: bonding master or bridge)
          */
         netdev_for_each_lower_dev(dev, lower, iter)
                 netdev_sync_lower_features(dev, lower, features);

...

static void netdev_sync_lower_features(struct net_device *upper,
struct net_device *lower, netdev_features_t features)

{
         netdev_features_t upper_disables = NETIF_F_UPPER_DISABLES;
         netdev_features_t feature;
         int feature_bit;

         for_each_netdev_feature(upper_disables, feature_bit) {
                 feature = __NETIF_F_BIT(feature_bit);
                 if (!(features & feature) && (lower->features &
feature)) {
                         netdev_dbg(upper, "Disabling feature %pNF on
lower dev %s.\n",
                                    &feature, lower->name);
                         lower->wanted_features &= ~feature;
                         __netdev_update_features(lower);

                         if (unlikely(lower->features & feature))
                                 netdev_WARN(upper, "failed to disable
%pNF on %s!\n",
                                             &feature, lower->name);
                         else
netdev_features_change(lower);<-----HERE
                 }
         }
}

void netdev_features_change(struct net_device *dev)

{
         call_netdevice_notifiers(NETDEV_FEAT_CHANGE, dev);
}

The code looks like an iterator.
But it would work recursively because of notification.

When team0's feature(LRO) is changed with <ethtool -K team0 lro off>", __netdev_update_features(team0) is called. __netdev_update_features(team0) internally sends NETDEV_FEAT_CHANGE event to all lower interfaces(team1, team2, ... team100). team1 will receive NETDEV_FEAT_CHANGE, and it sends NETDEV_FEAT_CHANGE to the upper interface(team0).
team0 will receive NETDEV_FEAT_CHANGE again, and it sends NETDEV_FEAT_CHANGE to the all lower interfaces(team1, team2, ... team100).
(At this point, team1 flag was already set, so it will be skipped.) team2 will receive NETDEV_FEAT_CHANGE, and it sends NETDEV_FEAT_CHANGE to the upper interface(team0).
team0 will receive NETDEV_FEAT_CHANGE again again, and it sends NETDEV_FEAT_CHANGE to the all lower interfaces(team1, team2, ... team100).
(team1, team2 skipped.)
...
So, if there are a few lower interfaces(roughly under 30 lower interfaces), it anyway works even if internally works recursively. But so many lower interfaces exist, stack overflow will occur. This is the root cause of this issue.

I think synchronization direction should be one way.
Up or Down.
It means that if the team0 interface can send the NETDEV_FEAT_CHANGE notification event to the lower interface,
the lower interfaces should be disallowed to send NETDEV_FEAT_CHANGE event to the upper interface.

Quoted 4 lines
Quoted 1 line

bonding has same issue.

Excuse me, is there a fix for this issue? I had the same issue with the 5.10 version of the bonding.

It is not fixed, I will fix it.
I found the problem of this issue, but I couldn't find a good solution yet. I think It would need relatively much time for fixing it.

Thanks!
Taehee Yoo

#9 lore raw
In reply to Dmitry Vyukov
Quoted 24 lines · Wed, Oct 12, 2022 at 09:53:27AM CEST, [email protected] wrote:
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]
Quoted 6 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Hi, do you have dmesg output available by any chance?

Thanks!

#10 lore raw
Quoted 26 lines · Jiri Pirko
Quoted 24 lines · Wed, Oct 12, 2022 at 09:53:27AM CEST, [email protected] wrote:
Quoted 21 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]
Quoted 8 lines
Quoted 6 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Hi, do you have dmesg output available by any chance?

Hi Jiri,

syzbot attaches dmesg output to every report under the "console output" link.

#11 lore raw
Quoted 34 lines · Wed, Oct 12, 2022 at 03:54:59PM CEST, [email protected] wrote:
Quoted 33 lines · Jiri Pirko
Quoted 30 lines · Wed, Oct 12, 2022 at 09:53:27AM CEST, [email protected] wrote:
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 5 lines
Quoted 1 line

Hi, do you have dmesg output available by any chance?

Hi Jiri,

syzbot attaches dmesg output to every report under the "console output" link.

I see. I guess the debug messages are not printed out, I don't see them there. Would it be possible to turn them on?

#12 lore raw
Quoted 36 lines · Jiri Pirko
Quoted 34 lines · Wed, Oct 12, 2022 at 03:54:59PM CEST, [email protected] wrote:
Quoted 33 lines · Jiri Pirko
Quoted 30 lines · Wed, Oct 12, 2022 at 09:53:27AM CEST, [email protected] wrote:
Quoted 13 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Quoted 8 lines

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Hi, do you have dmesg output available by any chance?

Hi Jiri,

syzbot attaches dmesg output to every report under the "console output" link.

I see. I guess the debug messages are not printed out, I don't see them there. Would it be possible to turn them on?

What debug messages do you need ?

There is a nice stack trace [1] with file:number available

My guess was that for some reason the team driver does not enforce a max nest level of 8 ?

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

[1]

CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted
6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine,
BIOS Google 09/30/2022
Call trace:
 dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
 show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 panic+0x218/0x50c kernel/panic.c:274
 nmi_panic+0xbc/0xf0 kernel/panic.c:169
 panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
 handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
 __bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
 mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
 do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
 do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
 psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
 psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
 psi_sched_switch kernel/sched/stats.h:194 [inline]
 __schedule+0x554/0x5a0 kernel/sched/core.c:6489
 preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
 arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
 __el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
 el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
 lock_is_held include/linux/lockdep.h:283 [inline]
 __might_resched+0x7c/0x218 kernel/sched/core.c:9854
 __might_sleep+0x48/0x78 kernel/sched/core.c:9821
 might_alloc include/linux/sched/mm.h:274 [inline]
 slab_pre_alloc_hook mm/slab.h:700 [inline]
 slab_alloc_node mm/slub.c:3162 [inline]
 kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
 __alloc_skb+0xf8/0x378 net/core/skbuff.c:422
 alloc_skb include/linux/skbuff.h:1257 [inline]
 nlmsg_new include/net/netlink.h:953 [inline]
 genlmsg_new include/net/genetlink.h:410 [inline]
 ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640

...

#13 lore raw
Quoted 41 lines · Wed, Oct 12, 2022 at 06:42:39PM CEST, [email protected] wrote:
Quoted 40 lines · Jiri Pirko
Quoted 38 lines · Wed, Oct 12, 2022 at 03:54:59PM CEST, [email protected] wrote:
Quoted 26 lines · Jiri Pirko
Quoted 24 lines · Wed, Oct 12, 2022 at 09:53:27AM CEST, [email protected] wrote:
Quoted 21 lines · syzbot

Hello,

syzbot found the following issue on:

HEAD commit:    bbed346d5a96 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=14a03a2a880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=aae2d21e7dd80684
dashboard link: https://syzkaller.appspot.com/bug?extid=60748c96cf5c6df8e581
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11078f50b80b/disk-bbed346d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398e5f1e6c84/vmlinux-bbed346d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:

Reported-by [email protected]
Quoted 8 lines
Quoted 6 lines

+Jiri

It looks like the issue is with the team device. It seems to call itself infinitely.
team_device_event was mentioned in stack overflow bugs in the past:
https://groups.google.com/g/syzkaller-bugs/search?q=%22team_device_event%22

Hi, do you have dmesg output available by any chance?

Hi Jiri,

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

syzbot attaches dmesg output to every report under the "console output" link.

I see. I guess the debug messages are not printed out, I don't see them there. Would it be possible to turn them on?

What debug messages do you need ?

There is a nice stack trace [1] with file:number available

Sure, but there are no debug printks that are printed out during feature processing. That could shed some light on if this is caused by lack of nest level enforce or perhaps for some reason repetitive processing of the same team-port netdevice couple in loop.

Quoted 52 lines

My guess was that for some reason the team driver does not enforce a max nest level of 8 ?

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=65921376425fc9c8b7ce647e1f7989f7cdf5dd70

[1]

CPU: 1 PID: 16874 Comm: syz-executor.3 Not tainted
6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine,
BIOS Google 09/30/2022
Call trace:
dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
dump_stack+0x1c/0x58 lib/dump_stack.c:113
panic+0x218/0x50c kernel/panic.c:274
nmi_panic+0xbc/0xf0 kernel/panic.c:169
panic_bad_stack+0x134/0x154 arch/arm64/kernel/traps.c:906
handle_bad_stack+0x34/0x48 arch/arm64/kernel/entry-common.c:848
__bad_stack+0x78/0x7c arch/arm64/kernel/entry.S:549
mark_lock+0x4/0x1b4 kernel/locking/lockdep.c:4593
lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666
do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
psi_group_change+0x128/0x3d0 kernel/sched/psi.c:705
psi_task_switch+0x9c/0x310 kernel/sched/psi.c:851
psi_sched_switch kernel/sched/stats.h:194 [inline]
__schedule+0x554/0x5a0 kernel/sched/core.c:6489
preempt_schedule_irq+0x64/0x110 kernel/sched/core.c:6806
arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline]
__el1_irq arch/arm64/kernel/entry-common.c:473 [inline]
el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:485
el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122
lock_is_held include/linux/lockdep.h:283 [inline]
__might_resched+0x7c/0x218 kernel/sched/core.c:9854
__might_sleep+0x48/0x78 kernel/sched/core.c:9821
might_alloc include/linux/sched/mm.h:274 [inline]
slab_pre_alloc_hook mm/slab.h:700 [inline]
slab_alloc_node mm/slub.c:3162 [inline]
kmem_cache_alloc_node+0x80/0x370 mm/slub.c:3298
__alloc_skb+0xf8/0x378 net/core/skbuff.c:422
alloc_skb include/linux/skbuff.h:1257 [inline]
nlmsg_new include/net/netlink.h:953 [inline]
genlmsg_new include/net/genetlink.h:410 [inline]
ethnl_default_notify+0x16c/0x320 net/ethtool/netlink.c:640

...