kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 299 Comm: syz-executor879 Not tainted 5.4.147-syzkaller-00015-g5b673be0c6b0 #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+0x855/0x29e0 fs/incfs/pseudo_files.c:1026 Code: 21 a0 85 ff 49 c7 c7 f9 ff ff ff 48 8b 5c 24 38 e9 e7 07 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 5d bc b2 ff 48 c7 c0 40 35 dd 84 48 RSP: 0018:ffff8881debf7cf8 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000069662f2e RDI: 0000000000000040 RBP: 0000000000000000 R08: ffffffff8198edf6 R09: ffffed103bd7efb3 R10: ffffed103bd7efb3 R11: 0000000000000000 R12: 0000000040046721 R13: ffff8881de4b13a0 R14: 0000000000000000 R15: 1ffff1103bc96274 FS: 0000555556cf63c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001de422000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_vfs_ioctl+0x6fb/0x15b0 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f61793b5c49 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:00007ffca757baa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffca757bab8 RCX: 00007f61793b5c49 RDX: 0000000020000000 RSI: 0000000040046721 RDI: 0000000000000004 RBP: 00007ffca757bab0 R08: 00007f61793741b0 R09: 00007f61793741b0 R10: 00007f61793741b0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace fff0b5be98934c0e ]--- RIP: 0010:ioctl_permit_fill fs/incfs/pseudo_files.c:153 [inline] RIP: 0010:pending_reads_dispatch_ioctl+0x855/0x29e0 fs/incfs/pseudo_files.c:1026 Code: 21 a0 85 ff 49 c7 c7 f9 ff ff ff 48 8b 5c 24 38 e9 e7 07 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 5d bc b2 ff 48 c7 c0 40 35 dd 84 48 RSP: 0018:ffff8881debf7cf8 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000069662f2e RDI: 0000000000000040 RBP: 0000000000000000 R08: ffffffff8198edf6 R09: ffffed103bd7efb3 R10: ffffed103bd7efb3 R11: 0000000000000000 R12: 0000000040046721 R13: ffff8881de4b13a0 R14: 0000000000000000 R15: 1ffff1103bc96274 FS: 0000555556cf63c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001de422000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: a0 85 ff 49 c7 c7 f9 movabs 0xfffff9c7c749ff85,%al 7: ff ff 9: ff 48 8b decl -0x75(%rax) c: 5c pop %rsp d: 24 38 and $0x38,%al f: e9 e7 07 00 00 jmpq 0x7fb 14: 49 8d 5e 28 lea 0x28(%r14),%rbx 18: 48 89 d8 mov %rbx,%rax 1b: 48 c1 e8 03 shr $0x3,%rax 1f: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 26: fc ff df * 29: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2d: 74 08 je 0x37 2f: 48 89 df mov %rbx,%rdi 32: e8 5d bc b2 ff callq 0xffb2bc94 37: 48 c7 c0 40 35 dd 84 mov $0xffffffff84dd3540,%rax 3e: 48 rex.W