kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4637 Comm: syz-executor.4 Not tainted 5.4.125-syzkaller-00007-g4109c89bbb12 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__fsnotify_parent+0xbc/0x310 fs/notify/fsnotify.c:155 Code: 08 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 08 4b eb ff 4d 8b 36 4c 89 6c 24 18 44 89 64 24 14 4c 89 f0 48 c1 e8 03 <8a> 04 18 84 c0 0f 85 04 02 00 00 45 8b 2e bb 00 40 00 00 be 00 40 RSP: 0018:ffff88801afd7d00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc900054a5000 RSI: 00000000000005b2 RDI: 00000000000005b3 RBP: ffff88801afd7df0 R08: ffffffff81ddea8d R09: ffffed1021759c00 R10: ffffed103e78b06b R11: 0000000000000000 R12: 0000000000000020 R13: ffff88801afd7e60 R14: 0000000000000000 R15: 1ffff110035fafa4 FS: 00007fb85b28b700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb85b26a718 CR3: 00000001ee12e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fsnotify_parent include/linux/fsnotify.h:40 [inline] fsnotify_open include/linux/fsnotify.h:276 [inline] do_sys_open+0x53f/0x7c0 fs/open.c:1118 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fb85d534739 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:00007fb85b28b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb85d639038 RCX: 00007fb85d534739 RDX: 0000000000000000 RSI: 0000000020002180 RDI: ffffffffffffff9c RBP: 00007fb85d58ecc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb85d639038 R13: 00007fff5705799f R14: 00007fb85b28b300 R15: 0000000000022000 Modules linked in: ---[ end trace c827748ea8d5b27e ]--- RIP: 0010:__fsnotify_parent+0xbc/0x310 fs/notify/fsnotify.c:155 Code: 08 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 08 4b eb ff 4d 8b 36 4c 89 6c 24 18 44 89 64 24 14 4c 89 f0 48 c1 e8 03 <8a> 04 18 84 c0 0f 85 04 02 00 00 45 8b 2e bb 00 40 00 00 be 00 40 RSP: 0018:ffff88801afd7d00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc900054a5000 RSI: 00000000000005b2 RDI: 00000000000005b3 RBP: ffff88801afd7df0 R08: ffffffff81ddea8d R09: ffffed1021759c00 R10: ffffed103e78b06b R11: 0000000000000000 R12: 0000000000000020 R13: ffff88801afd7e60 R14: 0000000000000000 R15: 1ffff110035fafa4 FS: 00007fb85b28b700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb85b26a718 CR3: 00000001ee12e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 4c 89 f0 or %cl,-0x10(%rcx,%rcx,4) 4: 48 c1 e8 03 shr $0x3,%rax 8: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) c: 74 08 je 0x16 e: 4c 89 f7 mov %r14,%rdi 11: e8 08 4b eb ff callq 0xffeb4b1e 16: 4d 8b 36 mov (%r14),%r14 19: 4c 89 6c 24 18 mov %r13,0x18(%rsp) 1e: 44 89 64 24 14 mov %r12d,0x14(%rsp) 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 8a 04 18 mov (%rax,%rbx,1),%al <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 0f 85 04 02 00 00 jne 0x239 35: 45 8b 2e mov (%r14),%r13d 38: bb 00 40 00 00 mov $0x4000,%ebx 3d: be .byte 0xbe 3e: 00 .byte 0x0 3f: 40 rex