------------[ cut here ]------------ WARNING: CPU: 1 PID: 15664 at fs/kernfs/dir.c:41 kernfs_active+0x119/0x150 fs/kernfs/dir.c:41 Modules linked in: CPU: 1 PID: 15664 Comm: syz-executor.5 Not tainted 6.2.0-rc7-next-20230208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:kernfs_active+0x119/0x150 fs/kernfs/dir.c:41 Code: e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 1f 8b 5b 04 31 ff 89 de e8 e6 7d 7a ff 89 d8 5b f7 d0 5d c1 e8 1f c3 e8 87 81 7a ff <0f> 0b eb a5 48 89 ef e8 8b 98 c9 ff eb d7 48 c7 c7 30 f2 75 8e e8 RSP: 0018:ffffc90003f3f8e0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888075ca9000 RCX: ffffc9000c2aa000 RDX: 0000000000040000 RSI: ffffffff8209ec59 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888075ca9000 R13: ffff88802a651e80 R14: dffffc0000000000 R15: ffff888147607750 FS: 00007f28a9de3700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005588e16ad398 CR3: 0000000024a36000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kernfs_remove+0x1b6/0x600 fs/kernfs/dir.c:1438 kernfs_remove+0x7b/0xa0 fs/kernfs/dir.c:1493 sysfs_remove_dir+0xc5/0x100 fs/sysfs/dir.c:101 __kobject_del+0xe2/0x1f0 lib/kobject.c:596 kobject_cleanup lib/kobject.c:672 [inline] kobject_release lib/kobject.c:712 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2f1/0x4d0 lib/kobject.c:729 net_rx_queue_update_kobjects+0x3f7/0x510 net/core/net-sysfs.c:1128 remove_queue_kobjects net/core/net-sysfs.c:1829 [inline] netdev_unregister_kobject+0x15c/0x280 net/core/net-sysfs.c:1983 unregister_netdevice_many_notify+0xe06/0x19f0 net/core/dev.c:10878 ip_tunnel_delete_nets+0x2c2/0x3a0 net/ipv4/ip_tunnel.c:1126 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 setup_net+0x9bd/0xe60 net/core/net_namespace.c:356 copy_net_ns+0x320/0x6b0 net/core/net_namespace.c:483 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x449/0x920 kernel/fork.c:3205 __do_sys_unshare kernel/fork.c:3276 [inline] __se_sys_unshare kernel/fork.c:3274 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3274 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f28a908c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f28a9de3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f28a91abf80 RCX: 00007f28a908c0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040020000 RBP: 00007f28a90e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6aba0cbf R14: 00007f28a9de3300 R15: 0000000000022000