------------[ cut here ]------------ WARNING: CPU: 0 PID: 16447 at net/core/dev.c:6359 netif_napi_add_weight+0x7e8/0x9e0 net/core/dev.c:6359 Modules linked in: CPU: 0 PID: 16447 Comm: syz-executor.3 Not tainted 5.19.0-rc2-syzkaller-00126-g69135c572d1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:netif_napi_add_weight+0x7e8/0x9e0 net/core/dev.c:6359 Code: b6 04 02 48 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 a4 00 00 00 48 8b 04 24 80 a0 b1 0b 00 00 fd e9 6c fd ff ff e8 d8 20 27 fa <0f> 0b e9 60 fd ff ff e8 ac e5 73 fa e9 4c fe ff ff e8 92 e5 73 fa RSP: 0018:ffffc9000b5d7b18 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880206de001 RCX: 0000000000000000 RDX: ffff888021401d80 RSI: ffffffff87535138 RDI: 0000000000000001 RBP: ffff8880206de5d8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880206de5e8 R13: ffff8880206de5d8 R14: ffff88804d068c80 R15: 0000000000000000 FS: 00007fb0d07fe700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb0d0738718 CR3: 000000004cb33000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netif_napi_add_tx_weight include/linux/netdevice.h:2559 [inline] netif_napi_add_tx include/linux/netdevice.h:2578 [inline] tun_napi_init drivers/net/tun.c:271 [inline] tun_attach.isra.0+0x1096/0x16c0 drivers/net/tun.c:812 tun_net_init+0x45e/0x660 drivers/net/tun.c:993 register_netdevice+0x57d/0x15e0 net/core/dev.c:9977 tun_set_iff drivers/net/tun.c:2809 [inline] __tun_chr_ioctl+0x2a19/0x3da0 drivers/net/tun.c:3068 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fb0d1889109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb0d07fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb0d199c100 RCX: 00007fb0d1889109 RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 RBP: 00007fb0d18e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff808257df R14: 00007fb0d07fe300 R15: 0000000000022000