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: 29539 Comm: syz-executor.4 Not tainted 5.10.93-syzkaller-01028-g0347b1658399 #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: fe 22 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 7a 17 9d ff 48 c7 c0 c0 5c 43 85 48 RSP: 0018:ffffc9000295fb60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: ffffc900093f9000 RSI: 00000000000004be RDI: 00000000000004bf RBP: ffffc9000295feb8 R08: ffffffff81b6754b R09: 0000000000000003 R10: fffff5200052bfa5 R11: 0000000000000004 R12: 1ffff9200052bfa4 R13: 1ffff1102177db64 R14: 0000000000000000 R15: ffff88810bbedb20 FS: 00007f1d0c450700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59db7fd090 CR3: 00000001572a0000 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:0x7f1d0d2da059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1d0c450168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1d0d3ecf60 RCX: 00007f1d0d2da059 RDX: 0000000020000000 RSI: 0000000040046721 RDI: 0000000000000004 RBP: 00007f1d0d33408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2675df5f R14: 00007f1d0c450300 R15: 0000000000022000 Modules linked in: ---[ end trace bd2eabc1a3454974 ]--- 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: fe 22 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 7a 17 9d ff 48 c7 c0 c0 5c 43 85 48 RSP: 0018:ffffc9000295fb60 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: dffffc0000000000 RDX: ffffc900093f9000 RSI: 00000000000004be RDI: 00000000000004bf RBP: ffffc9000295feb8 R08: ffffffff81b6754b R09: 0000000000000003 R10: fffff5200052bfa5 R11: 0000000000000004 R12: 1ffff9200052bfa4 R13: 1ffff1102177db64 R14: 0000000000000000 R15: ffff88810bbedb20 FS: 00007f1d0c450700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1ca5f9a000 CR3: 00000001572a0000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 22 63 ff and -0x1(%rbx),%ah 3: 49 c7 c4 f9 ff ff ff mov $0xfffffffffffffff9,%r12 a: 48 8b 5c 24 20 mov 0x20(%rsp),%rbx f: e9 1b 08 00 00 jmpq 0x82f 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 7a 17 9d ff callq 0xff9d17b1 37: 48 c7 c0 c0 5c 43 85 mov $0xffffffff85435cc0,%rax 3e: 48 rex.W