general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 PID: 13594 Comm: syz-executor.2 Tainted: G W 5.10.91-syzkaller-00882-gd605f2f30d54 #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: 7e 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:ffffc900011e7b60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: ffffc900028d7000 RSI: 000000000000003a RDI: 000000000000003b RBP: ffffc900011e7eb8 R08: ffffffff81b6521b R09: 0000000000000003 R10: fffff5200023cfa5 R11: 0000000000000004 R12: 1ffff9200023cfa4 R13: 1ffff1102c9a1394 R14: 0000000000000000 R15: ffff888164d09ca0 FS: 00007f7f48e16700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33122000 CR3: 000000016a943000 CR4: 00000000003526b0 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:0x7f7f49c9feb9 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:00007f7f48e16168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7f49db2f60 RCX: 00007f7f49c9feb9 RDX: 0000000020000000 RSI: 0000000040046721 RDI: 0000000000000004 RBP: 00007f7f49cfa08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf88ff9cf R14: 00007f7f48e16300 R15: 0000000000022000 Modules linked in: ---[ end trace 582801112df8467a ]--- 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: 7e 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:ffffc900011e7b60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: ffffc900028d7000 RSI: 000000000000003a RDI: 000000000000003b RBP: ffffc900011e7eb8 R08: ffffffff81b6521b R09: 0000000000000003 R10: fffff5200023cfa5 R11: 0000000000000004 R12: 1ffff9200023cfa4 R13: 1ffff1102c9a1394 R14: 0000000000000000 R15: ffff888164d09ca0 FS: 00007f7f48e16700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555568126d0 CR3: 000000016a943000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 7e 3f jle 0x41 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