general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 0 PID: 361 Comm: syz-executor.0 Not tainted 6.1.25-syzkaller-00707-gf6707f352b54 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:d_really_is_positive include/linux/dcache.h:493 [inline] RIP: 0010:fuse_atomic_open+0x166/0x3a0 fs/fuse/dir.c:866 Code: 45 fe 8b 5d c4 89 de 83 e6 40 31 ff e8 53 16 61 ff 89 d8 83 e0 40 75 07 e8 97 12 61 ff eb 25 49 8d 5f 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 5b 15 a7 ff 48 83 3b 00 74 24 e8 RSP: 0018:ffffc90002eff8f8 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000039 RCX: ffff88810f9c0000 RDX: ffff88810f9c0000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc90002eff950 R08: ffffffff8213d01d R09: fffff520005dfe69 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811217ccc0 R14: 0000000000000009 R15: 0000000000000009 FS: 00007f083a5aa6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f083a5cafa8 CR3: 0000000123d1e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: atomic_open fs/namei.c:3276 [inline] lookup_open fs/namei.c:3384 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0xf52/0x2d60 fs/namei.c:3711 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13f/0x850 fs/open.c:1333 do_sys_open fs/open.c:1349 [inline] __do_sys_creat fs/open.c:1425 [inline] __se_sys_creat fs/open.c:1419 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1419 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f083987cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f083a5aa0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f083999c050 RCX: 00007f083987cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f08398c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f083999c050 R15: 00007ffda8670db8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_really_is_positive include/linux/dcache.h:493 [inline] RIP: 0010:fuse_atomic_open+0x166/0x3a0 fs/fuse/dir.c:866 Code: 45 fe 8b 5d c4 89 de 83 e6 40 31 ff e8 53 16 61 ff 89 d8 83 e0 40 75 07 e8 97 12 61 ff eb 25 49 8d 5f 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 5b 15 a7 ff 48 83 3b 00 74 24 e8 RSP: 0018:ffffc90002eff8f8 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000039 RCX: ffff88810f9c0000 RDX: ffff88810f9c0000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc90002eff950 R08: ffffffff8213d01d R09: fffff520005dfe69 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811217ccc0 R14: 0000000000000009 R15: 0000000000000009 FS: 00007f083a5aa6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f083a5aad58 CR3: 0000000123d1e000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 45 fe 8b 5d c4 89 de rex.RB decb -0x21763ba3(%r11) 7: 83 e6 40 and $0x40,%esi a: 31 ff xor %edi,%edi c: e8 53 16 61 ff call 0xff611664 11: 89 d8 mov %ebx,%eax 13: 83 e0 40 and $0x40,%eax 16: 75 07 jne 0x1f 18: e8 97 12 61 ff call 0xff6112b4 1d: eb 25 jmp 0x44 1f: 49 8d 5f 30 lea 0x30(%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 5b 15 a7 ff call 0xffa71594 39: 48 83 3b 00 cmpq $0x0,(%rbx) 3d: 74 24 je 0x63 3f: e8 .byte 0xe8