------------[ cut here ]------------ WARNING: CPU: 0 PID: 6196 at ./include/net/netdev_lock.h:17 netdev_assert_locked include/net/netdev_lock.h:17 [inline] WARNING: CPU: 0 PID: 6196 at ./include/net/netdev_lock.h:17 netdev_nl_dev_fill+0x6bc/0x860 net/core/netdev-genl.c:41 Modules linked in: CPU: 0 UID: 0 PID: 6196 Comm: syz.1.87 Not tainted 6.15.0-rc1-next-20250411-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:netdev_assert_locked include/net/netdev_lock.h:17 [inline] RIP: 0010:netdev_nl_dev_fill+0x6bc/0x860 net/core/netdev-genl.c:41 Code: 1c 24 44 29 eb 4c 89 e8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 4a 01 00 00 41 89 5d 00 31 c0 e9 4d fe ff ff e8 95 5e c2 f7 90 <0f> 0b 90 e9 2c fa ff ff e8 87 5e c2 f7 90 0f 0b 90 42 80 3c 3b 00 RSP: 0018:ffffc9000cc176c0 EFLAGS: 00010293 RAX: ffffffff8a011bab RBX: 0000000000000000 RCX: ffff88802ade1e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000cc177f0 R08: ffffffff8a0115cc R09: 1ffff110066811dc R10: dffffc0000000000 R11: ffffed10066811dd R12: ffff888060014000 R13: ffff888032165b40 R14: ffff888032165b40 R15: ffffc9000cc17840 FS: 0000555560e46500(0000) GS:ffff888124f80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000d84000 CR3: 000000005cf6a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netdev_genl_dev_notify+0x1fb/0x450 net/core/netdev-genl.c:102 netdev_genl_netdevice_event+0x81/0xa0 net/core/netdev-genl.c:-1 notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2264 [inline] call_netdevice_notifiers net/core/dev.c:2278 [inline] unregister_netdevice_many_notify+0x1572/0x2510 net/core/dev.c:12026 unregister_netdevice_many net/core/dev.c:12090 [inline] unregister_netdevice_queue+0x383/0x400 net/core/dev.c:11942 unregister_netdevice include/linux/netdevice.h:3379 [inline] __tun_detach+0x6d9/0x15d0 drivers/net/tun.c:620 tun_detach drivers/net/tun.c:636 [inline] tun_chr_close+0x105/0x1b0 drivers/net/tun.c:3390 __fput+0x3e9/0x9f0 fs/file_table.c:465 task_work_run+0x251/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc6db98e169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd5a7973d8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fc6dbbb7ba0 RCX: 00007fc6db98e169 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc6dbbb7ba0 R08: 00000000000000c4 R09: 0000000b5a7976cf R10: 00007fc6dbbb7ac0 R11: 0000000000000246 R12: 000000000001d32a R13: 00007fc6dbbb6160 R14: ffffffffffffffff R15: 00007ffd5a7974f0