------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 1 PID: 13258 at kernel/locking/lockdep.c:2071 print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2071 Modules linked in: CPU: 1 PID: 13258 Comm: syz-executor.0 Not tainted 6.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2071 Code: 24 a2 76 09 0f 1f 40 00 55 53 89 fb e8 67 8d de 02 89 c5 e8 50 b7 fe ff 85 ed 74 10 48 c7 c7 a0 98 2a 8b 89 de e8 4e 56 e6 ff <0f> 0b 5b 5d c3 66 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 RSP: 0018:ffffc90003ca58c8 EFLAGS: 00010046 RAX: cf17e59c9fceed00 RBX: 00000000ffffffff RCX: ffff888023440000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8153e8f2 R09: 1ffff110173251a2 R10: dffffc0000000000 R11: ffffed10173251a3 R12: 0000000000036c01 R13: ffffffff91f94068 R14: ffffffff90738ae8 R15: ffffffff91f93dc8 FS: 00007f7ffe18e6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ffd5a8000 CR3: 0000000030ecf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_prev_add kernel/locking/lockdep.c:3138 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x6aaf/0x7fb0 kernel/locking/lockdep.c:5137 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5754 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 alloc_object+0x1ba/0x6c0 lib/debugobjects.c:233 lookup_object_or_alloc lib/debugobjects.c:587 [inline] debug_object_activate+0x144/0x4f0 lib/debugobjects.c:710 debug_rcu_head_queue kernel/rcu/rcu.h:227 [inline] __call_rcu_common kernel/rcu/tree.c:2700 [inline] call_rcu+0x97/0xa70 kernel/rcu/tree.c:2829 __dentry_kill+0x47a/0x600 fs/dcache.c:622 shrink_kill+0xa9/0x2c0 fs/dcache.c:1048 shrink_dentry_list+0x2c0/0x5b0 fs/dcache.c:1075 prune_dcache_sb+0x10f/0x170 fs/dcache.c:1156 super_cache_scan+0x345/0x4a0 fs/super.c:221 do_shrink_slab+0x6ed/0x1120 mm/shrinker.c:435 shrink_slab_memcg mm/shrinker.c:548 [inline] shrink_slab+0x883/0x14c0 mm/shrinker.c:626 shrink_node_memcgs mm/vmscan.c:5869 [inline] shrink_node+0x11f1/0x28e0 mm/vmscan.c:5902 shrink_zones mm/vmscan.c:6141 [inline] do_try_to_free_pages+0x717/0x19e0 mm/vmscan.c:6203 try_to_free_mem_cgroup_pages+0x455/0xa50 mm/vmscan.c:6518 try_charge_memcg+0x6d9/0x18a0 mm/memcontrol.c:2782 obj_cgroup_charge_pages mm/memcontrol.c:3301 [inline] obj_cgroup_charge+0x389/0x630 mm/memcontrol.c:3592 __memcg_slab_pre_alloc_hook+0x28d/0x2b0 mm/slub.c:1929 memcg_slab_pre_alloc_hook mm/slub.c:1950 [inline] slab_pre_alloc_hook mm/slub.c:3766 [inline] slab_alloc_node mm/slub.c:3842 [inline] kmalloc_trace+0x21d/0x3c0 mm/slub.c:4007 kmalloc include/linux/slab.h:590 [inline] kzalloc include/linux/slab.h:711 [inline] snmp6_alloc_dev net/ipv6/addrconf.c:356 [inline] ipv6_add_dev+0x5c6/0x11e0 net/ipv6/addrconf.c:406 addrconf_notify+0x6a7/0x1010 net/ipv6/addrconf.c:3608 notifier_call_chain+0x18c/0x3a0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2004 [inline] call_netdevice_notifiers net/core/dev.c:2018 [inline] register_netdevice+0x154f/0x19b0 net/core/dev.c:10294 team_newlink+0x10a/0x170 drivers/net/team/team.c:2217 rtnl_newlink_create net/core/rtnetlink.c:3518 [inline] __rtnl_newlink net/core/rtnetlink.c:3738 [inline] rtnl_newlink+0x1582/0x2080 net/core/rtnetlink.c:3751 rtnetlink_rcv_msg+0x882/0x1030 net/core/rtnetlink.c:6618 netlink_rcv_skb+0x1df/0x430 net/netlink/af_netlink.c:2543 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x7e6/0x980 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa37/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x592/0x890 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x85/0x160 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f7ffd47dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7ffe18e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7ffd5abf80 RCX: 00007f7ffd47dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f7ffd4ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7ffd5abf80 R15: 00007ffcda5ad918