Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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:00007f504419c308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5044293438 RCX: 00007f504420ba69 RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 RBP: 00007f5044293430 R08: 00007f504419c700 R09: 0000000000000000 R10: 00007f504419c700 R11: 0000000000000246 R12: 00007f504429343c R13: 00007f5044261064 R14: 74656e2f7665642f R15: 0000000000022000 ---[ end trace 3799463c09028ac8 ]--- ------------[ cut here ]------------ kernel BUG at include/linux/netdevice.h:518! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 376 Comm: syz-executor513 Tainted: G W 5.10.118-syzkaller-00163-gfa7f6a5f56d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:napi_enable include/linux/netdevice.h:518 [inline] RIP: 0010:tun_napi_init drivers/net/tun.c:278 [inline] RIP: 0010:tun_attach+0x14b3/0x14c0 drivers/net/tun.c:818 Code: 89 df e8 70 b5 b7 fe e9 cf fa ff ff e8 96 b9 7d fe 48 c7 c7 20 13 68 86 48 89 de e8 47 7a 7b ff e9 e0 fb ff ff e8 7d b9 7d fe <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 RSP: 0018:ffffc900009bfb50 EFLAGS: 00010293 RAX: ffffffff82eef973 RBX: 0000000000000000 RCX: ffff8881065abb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900009bfc70 R08: ffffffff82eeed75 R09: ffffed1020c38886 R10: ffffed1020c38886 R11: 1ffff11020c38885 R12: ffff8881061c4428 R13: ffff8881059fc980 R14: ffff8881059fc000 R15: dffffc0000000000 FS: 00007f504419c700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a009539000 CR3: 000000011e12e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tun_set_iff+0xadf/0x1100 drivers/net/tun.c:2803 __tun_chr_ioctl+0x8ab/0x2130 drivers/net/tun.c:3084 tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:3360 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x115/0x190 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f504420ba69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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:00007f504419c308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5044293438 RCX: 00007f504420ba69 RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 RBP: 00007f5044293430 R08: 00007f504419c700 R09: 0000000000000000 R10: 00007f504419c700 R11: 0000000000000246 R12: 00007f504429343c R13: 00007f5044261064 R14: 74656e2f7665642f R15: 0000000000022000 Modules linked in: ---[ end trace 3799463c09028ac9 ]--- RIP: 0010:napi_enable include/linux/netdevice.h:518 [inline] RIP: 0010:tun_napi_init drivers/net/tun.c:278 [inline] RIP: 0010:tun_attach+0x14b3/0x14c0 drivers/net/tun.c:818 Code: 89 df e8 70 b5 b7 fe e9 cf fa ff ff e8 96 b9 7d fe 48 c7 c7 20 13 68 86 48 89 de e8 47 7a 7b ff e9 e0 fb ff ff e8 7d b9 7d fe <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 RSP: 0018:ffffc900009bfb50 EFLAGS: 00010293 RAX: ffffffff82eef973 RBX: 0000000000000000 RCX: ffff8881065abb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900009bfc70 R08: ffffffff82eeed75 R09: ffffed1020c38886 R10: ffffed1020c38886 R11: 1ffff11020c38885 R12: ffff8881061c4428 R13: ffff8881059fc980 R14: ffff8881059fc000 R15: dffffc0000000000 FS: 00007f504419c700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a009539000 CR3: 000000011e12e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 retq b: e8 11 15 00 00 callq 0x1521 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 retq 33: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W