general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 365 Comm: syz-executor368 Not tainted 5.10.89-syzkaller-00788-g9b28b48fb343 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ioctl_permit_fill fs/incfs/pseudo_files.c:153 [inline] RIP: 0010:pending_reads_dispatch_ioctl+0x958/0x2c80 fs/incfs/pseudo_files.c:1026 Code: 4e 3f 63 ff 49 c7 c4 f9 ff ff ff 48 8b 5c 24 20 e9 1b 08 00 00 49 8d 5e 28 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 8a 1b 9d ff 48 c7 c0 c0 57 43 85 48 RSP: 0018:ffffc90000b17b60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000069662f2e RDI: 0000000000000040 RBP: ffffc90000b17eb8 R08: ffffffff81b64e0b R09: 0000000000000003 R10: fffff52000162fa5 R11: 0000000000000004 R12: 1ffff92000162fa4 R13: 1ffff11020ebe464 R14: 0000000000000000 R15: ffff8881075f2320 FS: 0000555556e453c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001073ef000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f66aaf4bc49 Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c4 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffedddae398 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffedddae3a8 RCX: 00007f66aaf4bc49 RDX: 0000000020000000 RSI: 0000000040046721 RDI: 0000000000000004 RBP: 00007ffedddae3a0 R08: 00007f66aaf0a1b0 R09: 00007f66aaf0a1b0 R10: 00007f66aaf0a1b0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 30d26f19d5073862 ]--- RIP: 0010:ioctl_permit_fill fs/incfs/pseudo_files.c:153 [inline] RIP: 0010:pending_reads_dispatch_ioctl+0x958/0x2c80 fs/incfs/pseudo_files.c:1026 Code: 4e 3f 63 ff 49 c7 c4 f9 ff ff ff 48 8b 5c 24 20 e9 1b 08 00 00 49 8d 5e 28 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 8a 1b 9d ff 48 c7 c0 c0 57 43 85 48 RSP: 0018:ffffc90000b17b60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000069662f2e RDI: 0000000000000040 RBP: ffffc90000b17eb8 R08: ffffffff81b64e0b R09: 0000000000000003 R10: fffff52000162fa5 R11: 0000000000000004 R12: 1ffff92000162fa4 R13: 1ffff11020ebe464 R14: 0000000000000000 R15: ffff8881075f2320 FS: 0000555556e453c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001073ef000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4e 3f rex.WRX (bad) 2: 63 ff movsxd %edi,%edi 4: 49 c7 c4 f9 ff ff ff mov $0xfffffffffffffff9,%r12 b: 48 8b 5c 24 20 mov 0x20(%rsp),%rbx 10: e9 1b 08 00 00 jmpq 0x830 15: 49 8d 5e 28 lea 0x28(%r14),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 8a 1b 9d ff callq 0xff9d1bc2 38: 48 c7 c0 c0 57 43 85 mov $0xffffffff854357c0,%rax 3f: 48 rex.W