general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 8436 Comm: syz-executor.3 Not tainted 5.7.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:qrtr_endpoint_post+0x7c/0x1020 net/qrtr/qrtr.c:440 Code: 89 45 c8 e8 a6 db 76 fe 48 85 c0 48 89 45 d0 0f 84 ed 0b 00 00 48 89 da 4c 8b 45 c8 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 48 89 da 83 e2 07 38 d0 7f 08 84 c0 0f 85 71 0b 00 00 RSP: 0018:ffffc90009c1fc60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffff11012ba8d1a RDX: 0000000000000002 RSI: 0000000000000004 RDI: ffff888095d468d0 RBP: ffffc90009c1fcb0 R08: 0000000000000000 R09: ffffed10120e2e3d R10: ffff8880907171e3 R11: ffffed10120e2e3c R12: 0000000000000010 R13: ffff8880a92bbc00 R14: ffff88809f829800 R15: ffff8880a92bbc00 FS: 00007fdd4b01c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000788060 CR3: 00000000976cb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qrtr_tun_write_iter+0xc2/0x120 net/qrtr/tun.c:92 call_write_iter include/linux/fs.h:1907 [inline] new_sync_write+0x417/0x6c0 fs/read_write.c:484 vfs_write+0x18b/0x490 fs/read_write.c:559 ksys_write+0xec/0x1c0 fs/read_write.c:612 do_syscall_64+0xc6/0x620 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45cb99 Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdd4b01bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050de00 RCX: 000000000045cb99 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000d1e R14: 00000000004cf7ed R15: 00007fdd4b01c6d4 Modules linked in: ---[ end trace 86a7cb8395511720 ]--- RIP: 0010:qrtr_endpoint_post+0x7c/0x1020 net/qrtr/qrtr.c:440 Code: 89 45 c8 e8 a6 db 76 fe 48 85 c0 48 89 45 d0 0f 84 ed 0b 00 00 48 89 da 4c 8b 45 c8 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 48 89 da 83 e2 07 38 d0 7f 08 84 c0 0f 85 71 0b 00 00 RSP: 0018:ffffc90009c1fc60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffff11012ba8d1a RDX: 0000000000000002 RSI: 0000000000000004 RDI: ffff888095d468d0 RBP: ffffc90009c1fcb0 R08: 0000000000000000 R09: ffffed10120e2e3d R10: ffff8880907171e3 R11: ffffed10120e2e3c R12: 0000000000000010 R13: ffff8880a92bbc00 R14: ffff88809f829800 R15: ffff8880a92bbc00 FS: 00007fdd4b01c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000788060 CR3: 00000000976cb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400