------------[ cut here ]------------ WARNING: CPU: 0 PID: 7159 at ./include/net/netdev_lock.h:17 netdev_assert_locked include/net/netdev_lock.h:17 [inline] WARNING: CPU: 0 PID: 7159 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: 7159 Comm: syz.1.336 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:ffffc9000ef17880 EFLAGS: 00010283 RAX: ffffffff89ff68eb RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90004fd9000 RSI: 0000000000005730 RDI: 0000000000005731 RBP: ffffc9000ef179b0 R08: ffffffff89ff630c R09: 1ffff11004a369dc R10: dffffc0000000000 R11: ffffed1004a369dd R12: ffff88807d86c000 R13: ffff888033892b40 R14: ffff888033892b40 R15: ffffc9000ef17a00 FS: 00007ff622c2a6c0(0000) GS:ffff888124fa5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab25c63f98 CR3: 0000000031bf4000 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] register_netdevice+0x16c0/0x1b80 net/core/dev.c:11100 tun_set_iff+0x859/0xee0 drivers/net/tun.c:2781 __tun_chr_ioctl+0x7ef/0x1f90 drivers/net/tun.c:3048 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff621d8e169 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:00007ff622c2a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff621fb5fa0 RCX: 00007ff621d8e169 RDX: 0000200000000200 RSI: 00000000400454ca RDI: 0000000000000003 RBP: 00007ff621e10a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff621fb5fa0 R15: 00007fff2adb63c8