general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 5229 Comm: syz-executor.3 Not tainted 5.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:qrtr_endpoint_post+0x8f/0x1110 net/qrtr/qrtr.c:440 Code: 44 89 ee ba 20 0a 00 00 e8 0e d9 4f fe 48 85 c0 0f 84 5c 02 00 00 49 89 c7 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <8a> 04 08 84 c0 0f 85 7d 09 00 00 4d 8d 77 28 41 0f b6 1c 24 48 89 RSP: 0018:ffffc9000726fb98 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff88809852eb08 RCX: dffffc0000000000 RDX: ffffc9000fdbb000 RSI: 00000000000001df RDI: ffff88809149fe78 RBP: ffff8880a872e800 R08: ffffffff866434bc R09: ffffed10430c3d4d R10: ffffed10430c3d4d R11: 0000000000000000 R12: 0000000000000010 R13: 0000000000000000 R14: ffffc9000726fc60 R15: ffff88809149fdc0 FS: 00007ff4afd6e700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4afd4d000 CR3: 0000000213a18000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qrtr_tun_write_iter+0xc6/0x120 net/qrtr/tun.c:92 call_write_iter include/linux/fs.h:1907 [inline] aio_write+0x446/0x560 fs/aio.c:1583 __io_submit_one fs/aio.c:1842 [inline] io_submit_one+0x7a1/0x17d0 fs/aio.c:1885 __do_sys_io_submit fs/aio.c:1944 [inline] __se_sys_io_submit+0x117/0x220 fs/aio.c:1914 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cb19 Code: Bad RIP value. RSP: 002b:00007ff4afd6dc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00000000004e1740 RCX: 000000000045cb19 RDX: 0000000020000200 RSI: 0000000000000001 RDI: 00007ff4afd4d000 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000205 R14: 00000000004c45f8 R15: 00007ff4afd6e6d4 Modules linked in: ---[ end trace 340ea3434bdc96f8 ]--- RIP: 0010:qrtr_endpoint_post+0x8f/0x1110 net/qrtr/qrtr.c:440 Code: 44 89 ee ba 20 0a 00 00 e8 0e d9 4f fe 48 85 c0 0f 84 5c 02 00 00 49 89 c7 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <8a> 04 08 84 c0 0f 85 7d 09 00 00 4d 8d 77 28 41 0f b6 1c 24 48 89 RSP: 0018:ffffc9000726fb98 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff88809852eb08 RCX: dffffc0000000000 RDX: ffffc9000fdbb000 RSI: 00000000000001df RDI: ffff88809149fe78 RBP: ffff8880a872e800 R08: ffffffff866434bc R09: ffffed10430c3d4d R10: ffffed10430c3d4d R11: 0000000000000000 R12: 0000000000000010 R13: 0000000000000000 R14: ffffc9000726fc60 R15: ffff88809149fdc0 FS: 00007ff4afd6e700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbf8925c010 CR3: 0000000213a18000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400