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: 17230 Comm: syz-executor.2 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:ffffc9000217fb60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: ffffc9000117b000 RSI: 000000000000001d RDI: 000000000000001e RBP: ffffc9000217feb8 R08: ffffffff81b64e0b R09: 0000000000000003 R10: fffff5200042ffa5 R11: 0000000000000004 R12: 1ffff9200042ffa4 R13: 1ffff11021b0b094 R14: 0000000000000000 R15: ffff88810d8584a0 FS: 00007f1194513700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33022000 CR3: 000000015249d000 CR4: 00000000003526a0 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:0x7f119539ce99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1194513168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f11954aff60 RCX: 00007f119539ce99 RDX: 0000000020000000 RSI: 0000000040046721 RDI: 0000000000000004 RBP: 00007f11953f6ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0fcdfe5f R14: 00007f1194513300 R15: 0000000000022000 Modules linked in: ---[ end trace 3bcc52a57e57e0e4 ]--- 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:ffffc9000217fb60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: ffffc9000117b000 RSI: 000000000000001d RDI: 000000000000001e RBP: ffffc9000217feb8 R08: ffffffff81b64e0b R09: 0000000000000003 R10: fffff5200042ffa5 R11: 0000000000000004 R12: 1ffff9200042ffa4 R13: 1ffff11021b0b094 R14: 0000000000000000 R15: ffff88810d8584a0 FS: 00007f1194513700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005626dcea7000 CR3: 000000015249d000 CR4: 00000000003526a0 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