------------[ cut here ]------------ WARNING: CPU: 0 PID: 6473 at ./include/net/netdev_lock.h:17 netdev_assert_locked include/net/netdev_lock.h:17 [inline] WARNING: CPU: 0 PID: 6473 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: 6473 Comm: syz.8.96 Not tainted 6.15.0-rc1-syzkaller-00412-g4e34a840613b #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 85 ec c3 f7 90 <0f> 0b 90 e9 2c fa ff ff e8 77 ec c3 f7 90 0f 0b 90 42 80 3c 3b 00 RSP: 0018:ffffc90003be76c0 EFLAGS: 00010293 RAX: ffffffff89ff68eb RBX: 0000000000000000 RCX: ffff888025e20000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003be77f0 R08: ffffffff89ff630c R09: 1ffff110023d51dc R10: dffffc0000000000 R11: ffffed10023d51dd R12: ffff88805aacc000 R13: ffff88802871bb40 R14: ffff88802871bb40 R15: ffffc90003be7840 FS: 0000555572b37500(0000) GS:ffff888124fa5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000856000 CR3: 000000007bdd8000 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/0x2500 net/core/dev.c:12025 unregister_netdevice_many net/core/dev.c:12088 [inline] unregister_netdevice_queue+0x383/0x400 net/core/dev.c:11941 unregister_netdevice include/linux/netdevice.h:3373 [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:0x7fc2ef58e169 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:00007ffeb4e68588 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fc2ef7b7ba0 RCX: 00007fc2ef58e169 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc2ef7b7ba0 R08: 0000000000000eb4 R09: 00000016b4e6887f R10: 00000000003fef28 R11: 0000000000000246 R12: 000000000001d6ee R13: 00007fc2ef7b6160 R14: ffffffffffffffff R15: 00007ffeb4e686a0