general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 1 PID: 1345 Comm: syz.0.260 Not tainted 5.10.237-syzkaller-00309-g7e2543346ff7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:d_really_is_positive include/linux/dcache.h:499 [inline] RIP: 0010:fuse_atomic_open+0x245/0x1df0 fs/fuse/dir.c:853 Code: 89 de 83 e6 40 31 ff e8 29 dd 77 ff 89 d8 83 e0 40 75 07 e8 6d d9 77 ff eb 2e 48 8b 44 24 30 48 8d 58 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 0c c9 b1 ff 48 83 3b 00 0f 84 9c RSP: 0018:ffffc90000d873e0 EFLAGS: 00010203 RAX: 0000000000000007 RBX: 000000000000003d RCX: 0000000000000002 RDX: ffff88811c9b8000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc90000d879f0 R08: ffff88811c9b8000 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000002 R12: dffffc0000000000 R13: ffff88810d9e7800 R14: 1ffff920001b0e90 R15: 000000000000000d FS: 00007fa65e60a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa65e609f98 CR3: 000000011b997000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: atomic_open fs/namei.c:3114 [inline] lookup_open fs/namei.c:3219 [inline] open_last_lookups fs/namei.c:3317 [inline] path_openat+0xf80/0x3160 fs/namei.c:3506 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1309 [inline] __se_sys_creat fs/open.c:1303 [inline] __x64_sys_creat+0x8e/0xb0 fs/open.c:1303 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa65ffc2969 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa65e60a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fa6601ea080 RCX: 00007fa65ffc2969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000180 RBP: 00007fa660044ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa6601ea080 R15: 00007fff0a37c548 Modules linked in: ---[ end trace 6489f57f25190a70 ]--- RIP: 0010:d_really_is_positive include/linux/dcache.h:499 [inline] RIP: 0010:fuse_atomic_open+0x245/0x1df0 fs/fuse/dir.c:853 Code: 89 de 83 e6 40 31 ff e8 29 dd 77 ff 89 d8 83 e0 40 75 07 e8 6d d9 77 ff eb 2e 48 8b 44 24 30 48 8d 58 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 0c c9 b1 ff 48 83 3b 00 0f 84 9c RSP: 0018:ffffc90000d873e0 EFLAGS: 00010203 RAX: 0000000000000007 RBX: 000000000000003d RCX: 0000000000000002 RDX: ffff88811c9b8000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc90000d879f0 R08: ffff88811c9b8000 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000002 R12: dffffc0000000000 R13: ffff88810d9e7800 R14: 1ffff920001b0e90 R15: 000000000000000d FS: 00007fa65e60a6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cb67f1178 CR3: 000000011b997000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: 83 e6 40 and $0x40,%esi 5: 31 ff xor %edi,%edi 7: e8 29 dd 77 ff call 0xff77dd35 c: 89 d8 mov %ebx,%eax e: 83 e0 40 and $0x40,%eax 11: 75 07 jne 0x1a 13: e8 6d d9 77 ff call 0xff77d985 18: eb 2e jmp 0x48 1a: 48 8b 44 24 30 mov 0x30(%rsp),%rax 1f: 48 8d 58 30 lea 0x30(%rax),%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 0c c9 b1 ff call 0xffb1c945 39: 48 83 3b 00 cmpq $0x0,(%rbx) 3d: 0f .byte 0xf 3e: 84 .byte 0x84 3f: 9c pushf