device nr0 entered promiscuous mode kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 24946 Comm: syz-executor5 Not tainted 4.19.0-rc6+ #65 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dev_gro_receive+0x132/0x2720 net/core/dev.c:5427 Code: 48 c1 ea 03 80 3c 02 00 0f 85 6e 20 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6e 10 49 8d bd d0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 59 20 00 00 4d 8b a5 d0 00 00 00 31 ff 41 81 e4 kobject: 'tx-1' (00000000f6c0ab90): kobject_add_internal: parent: 'queues', set: 'queues' RSP: 0018:ffff88019bb67450 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000c2e8000 RDX: 000000000000001a RSI: ffffffff860aebb7 RDI: 00000000000000d0 RBP: ffff88019bb67648 R08: ffff8801c56045c0 R09: 0000000000000000 R10: ffffed003376cedf R11: 0000000000000003 R12: ffff8801c2285418 R13: 0000000000000000 R14: ffff8801d8be2200 R15: 0000000000000004 FS: 00007f4c78e00700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c78ddedb8 CR3: 00000001d2054000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: napi_gro_frags+0x3f4/0xc90 net/core/dev.c:5715 tun_get_user+0x3189/0x4250 drivers/net/tun.c:1923 kobject: 'tx-1' (00000000f6c0ab90): kobject_uevent_env kobject: 'tx-1' (00000000f6c0ab90): fill_kobj_path: path = '/devices/virtual/net/nr0/queues/tx-1' tun_chr_write_iter+0xb9/0x154 drivers/net/tun.c:1968 kobject: 'rx-1' (00000000ef80d6ff): kobject_add_internal: parent: 'queues', set: 'queues' call_write_iter include/linux/fs.h:1808 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 kobject: 'rx-1' (00000000ef80d6ff): kobject_uevent_env vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 kobject: 'rx-1' (00000000ef80d6ff): fill_kobj_path: path = '/devices/virtual/net/nr0/queues/rx-1' __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457519 Code: 1d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4c78dffc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457519 RDX: 0000000000000012 RSI: 0000000020000000 RDI: 000000000000000a RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c78e006d4 R13: 00000000004c5513 R14: 00000000004d8e38 R15: 00000000ffffffff Modules linked in: ---[ end trace 31e6165319eb641b ]--- RIP: 0010:dev_gro_receive+0x132/0x2720 net/core/dev.c:5427 kobject: 'tx-1' (00000000f6c0ab90): kobject_cleanup, parent 00000000810988ba Code: 48 c1 ea 03 80 3c 02 00 0f 85 6e 20 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6e 10 49 8d bd d0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 59 20 00 00 4d 8b a5 d0 00 00 00 31 ff 41 81 e4 RSP: 0018:ffff88019bb67450 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000c2e8000 RDX: 000000000000001a RSI: ffffffff860aebb7 RDI: 00000000000000d0 RBP: ffff88019bb67648 R08: ffff8801c56045c0 R09: 0000000000000000 kobject: 'tx-1' (00000000f6c0ab90): auto cleanup 'remove' event R10: ffffed003376cedf R11: 0000000000000003 R12: ffff8801c2285418 kobject: 'loop1' (0000000011fc7f18): kobject_uevent_env R13: 0000000000000000 R14: ffff8801d8be2200 R15: 0000000000000004 kobject: 'tx-1' (00000000f6c0ab90): kobject_uevent_env FS: 00007f4c78e00700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 kobject: 'loop1' (0000000011fc7f18): fill_kobj_path: path = '/devices/virtual/block/loop1' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c78ddedb8 CR3: 00000001d2054000 CR4: 00000000001406f0 kobject: 'tx-1' (00000000f6c0ab90): fill_kobj_path: path = '/devices/virtual/net/nr0/queues/tx-1' DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 kobject: 'tx-1' (00000000f6c0ab90): auto cleanup kobject_del