BUG: kernel NULL pointer dereference, address: 0000000000000039 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 10b36b067 P4D 10b36b067 PUD 10b2f8067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 354 Comm: syz-executor.0 Not tainted 6.1.1-syzkaller #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:485 [inline] RIP: 0010:fuse_atomic_open+0x8c/0x140 fs/fuse/dir.c:858 Code: ff ff 49 89 c4 48 3d 01 f0 ff ff 72 05 45 89 e6 eb 2d 4d 85 e4 4d 0f 45 fc 4c 89 f2 48 8b 4d d0 44 8b 45 cc 41 f6 c5 40 74 07 <49> 83 7f 30 00 74 20 48 89 d7 4c 89 e6 e8 62 d8 e9 ff 41 89 c6 44 RSP: 0018:ffffc9000077fc98 EFLAGS: 00010202 RAX: 0000000000000009 RBX: ffff88810baf6300 RCX: ffff88810a7a3000 RDX: ffff88810b1b8b00 RSI: 0000000000000001 RDI: ffff88810baf6628 RBP: ffffc9000077fcd0 R08: 0000000000008000 R09: ffffffff8153156f R10: ffff888111e699c0 R11: ffff888100041400 R12: 0000000000000009 R13: 0000000000008241 R14: ffff88810b1b8b00 R15: 0000000000000009 FS: 00007f4a427ff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000039 CR3: 000000010b2d8000 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+0x3e2/0xb60 fs/namei.c:3711 do_filp_open+0xad/0x150 fs/namei.c:3741 do_sys_openat2+0x8c/0x160 fs/open.c:1312 do_sys_open fs/open.c:1328 [inline] __do_sys_creat fs/open.c:1404 [inline] __se_sys_creat fs/open.c:1398 [inline] __x64_sys_creat+0x44/0x60 fs/open.c:1398 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:0x7f4a42c7cb29 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:00007f4a427ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4a42d9c050 RCX: 00007f4a42c7cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f4a42cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f4a42d9c050 R15: 00007ffc1af6b9d8 Modules linked in: CR2: 0000000000000039 ---[ end trace 0000000000000000 ]--- RIP: 0010:d_really_is_positive include/linux/dcache.h:485 [inline] RIP: 0010:fuse_atomic_open+0x8c/0x140 fs/fuse/dir.c:858 Code: ff ff 49 89 c4 48 3d 01 f0 ff ff 72 05 45 89 e6 eb 2d 4d 85 e4 4d 0f 45 fc 4c 89 f2 48 8b 4d d0 44 8b 45 cc 41 f6 c5 40 74 07 <49> 83 7f 30 00 74 20 48 89 d7 4c 89 e6 e8 62 d8 e9 ff 41 89 c6 44 RSP: 0018:ffffc9000077fc98 EFLAGS: 00010202 RAX: 0000000000000009 RBX: ffff88810baf6300 RCX: ffff88810a7a3000 RDX: ffff88810b1b8b00 RSI: 0000000000000001 RDI: ffff88810baf6628 RBP: ffffc9000077fcd0 R08: 0000000000008000 R09: ffffffff8153156f R10: ffff888111e699c0 R11: ffff888100041400 R12: 0000000000000009 R13: 0000000000008241 R14: ffff88810b1b8b00 R15: 0000000000000009 FS: 00007f4a427ff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000039 CR3: 000000010b2d8000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 49 89 c4 mov %rax,%r12 3: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 9: 72 05 jb 0x10 b: 45 89 e6 mov %r12d,%r14d e: eb 2d jmp 0x3d 10: 4d 85 e4 test %r12,%r12 13: 4d 0f 45 fc cmovne %r12,%r15 17: 4c 89 f2 mov %r14,%rdx 1a: 48 8b 4d d0 mov -0x30(%rbp),%rcx 1e: 44 8b 45 cc mov -0x34(%rbp),%r8d 22: 41 f6 c5 40 test $0x40,%r13b 26: 74 07 je 0x2f * 28: 49 83 7f 30 00 cmpq $0x0,0x30(%r15) <-- trapping instruction 2d: 74 20 je 0x4f 2f: 48 89 d7 mov %rdx,%rdi 32: 4c 89 e6 mov %r12,%rsi 35: e8 62 d8 e9 ff call 0xffe9d89c 3a: 41 89 c6 mov %eax,%r14d 3d: 44 rex.R