------------[ cut here ]------------ WARNING: CPU: 1 PID: 7903 at net/core/dev.c:6374 netif_napi_add_weight+0x8de/0xb00 net/core/dev.c:6374 Modules linked in: CPU: 0 PID: 7903 Comm: syz-executor.2 Not tainted 5.19.0-rc2-syzkaller-00466-g6dd4142fb5a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:netif_napi_add_weight+0x8de/0xb00 net/core/dev.c:6374 Code: 08 84 c0 0f 85 b5 00 00 00 48 8b 04 24 80 a0 b1 0b 00 00 fd e9 6c fd ff ff e8 be ba 26 fa 0f 0b e9 98 fc ff ff e8 b2 ba 26 fa <0f> 0b e9 54 fd ff ff e8 56 b6 73 fa e9 40 fe ff ff e8 3c b6 73 fa RSP: 0018:ffffc9000300fb18 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888022656000 RCX: 0000000000000000 RDX: ffff888022145880 RSI: ffffffff8753b74e RDI: 0000000000000001 RBP: ffff8880226565e8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880258b4001 R13: ffff8880226565d8 R14: ffff8880258b4c80 R15: 0000000000000000 FS: 00007f531c749700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef34000 CR3: 000000001f056000 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/0x15b0 net/core/dev.c:9993 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:0x7f531b689109 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:00007f531c749168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f531b79c100 RCX: 00007f531b689109 RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 RBP: 00007f531b6e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffbc2f798f R14: 00007f531c749300 R15: 0000000000022000