BUG: kernel NULL pointer dereference, address: 0000000000000039 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1017e9067 P4D 1017e9067 PUD 10138f067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 349 Comm: syz-executor.0 Not tainted 5.15.78-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:fuse_atomic_open+0x49/0x120 fs/fuse/dir.c:847 Code: 89 e5 41 57 45 89 c7 41 56 49 89 d6 41 55 49 89 fd 41 54 49 89 f4 53 31 db 48 83 ec 10 f7 06 00 00 00 10 75 7a f6 c1 40 74 08 <49> 83 7c 24 30 00 74 1a 48 89 de 4c 89 f7 e8 e4 81 e9 ff 48 83 c4 RSP: 0018:ffffc9000039bca8 EFLAGS: 00010202 RAX: 0000000000000009 RBX: 0000000000000009 RCX: 0000000000008241 RDX: 0000000000000000 RSI: ffff8881015db780 RDI: ffff88810ad88b88 RBP: ffffc9000039bce0 R08: 0000000000000009 R09: ffff8881108c9000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000009 R13: ffff88810ad88800 R14: ffff888102594640 R15: 0000000000008000 FS: 00007feea5c976c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000039 CR3: 000000010e46d000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: atomic_open fs/namei.c:3196 [inline] lookup_open fs/namei.c:3305 [inline] open_last_lookups fs/namei.c:3404 [inline] path_openat+0x78b/0x11e0 fs/namei.c:3612 do_filp_open+0xb1/0x150 fs/namei.c:3642 do_sys_openat2+0x96/0x160 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_creat fs/open.c:1324 [inline] __se_sys_creat fs/open.c:1318 [inline] __x64_sys_creat+0x46/0x60 fs/open.c:1318 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7feea6135b29 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:00007feea5c970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007feea6255050 RCX: 00007feea6135b29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007feea618147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007feea6255050 R15: 00007ffdc5a337f8 Modules linked in: CR2: 0000000000000039 ---[ end trace bf005c767dc13cb4 ]--- RIP: 0010:fuse_atomic_open+0x49/0x120 fs/fuse/dir.c:847 Code: 89 e5 41 57 45 89 c7 41 56 49 89 d6 41 55 49 89 fd 41 54 49 89 f4 53 31 db 48 83 ec 10 f7 06 00 00 00 10 75 7a f6 c1 40 74 08 <49> 83 7c 24 30 00 74 1a 48 89 de 4c 89 f7 e8 e4 81 e9 ff 48 83 c4 RSP: 0018:ffffc9000039bca8 EFLAGS: 00010202 RAX: 0000000000000009 RBX: 0000000000000009 RCX: 0000000000008241 RDX: 0000000000000000 RSI: ffff8881015db780 RDI: ffff88810ad88b88 RBP: ffffc9000039bce0 R08: 0000000000000009 R09: ffff8881108c9000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000009 R13: ffff88810ad88800 R14: ffff888102594640 R15: 0000000000008000 FS: 00007feea5c976c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000039 CR3: 000000010e46d000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 e5 mov %esp,%ebp 2: 41 57 push %r15 4: 45 89 c7 mov %r8d,%r15d 7: 41 56 push %r14 9: 49 89 d6 mov %rdx,%r14 c: 41 55 push %r13 e: 49 89 fd mov %rdi,%r13 11: 41 54 push %r12 13: 49 89 f4 mov %rsi,%r12 16: 53 push %rbx 17: 31 db xor %ebx,%ebx 19: 48 83 ec 10 sub $0x10,%rsp 1d: f7 06 00 00 00 10 testl $0x10000000,(%rsi) 23: 75 7a jne 0x9f 25: f6 c1 40 test $0x40,%cl 28: 74 08 je 0x32 * 2a: 49 83 7c 24 30 00 cmpq $0x0,0x30(%r12) <-- trapping instruction 30: 74 1a je 0x4c 32: 48 89 de mov %rbx,%rsi 35: 4c 89 f7 mov %r14,%rdi 38: e8 e4 81 e9 ff call 0xffe98221 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c4 .byte 0xc4