SELinux: security_context_str_to_sid (staff_u) failed with errno=-22 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: 25262 Comm: syz-executor.1 Tainted: G W 6.1.75-syzkaller-00037-gdcb09569bbff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:d_really_is_positive include/linux/dcache.h:493 [inline] RIP: 0010:fuse_atomic_open+0x166/0x3a0 fs/fuse/dir.c:878 Code: 45 fe 8b 5d c4 89 de 83 e6 40 31 ff e8 33 f2 5f ff 89 d8 83 e0 40 75 07 e8 77 ee 5f 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 2b cf a6 ff 48 83 3b 00 74 24 e8 RSP: 0018:ffffc900011ff8f8 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000038 RCX: 0000000000040000 RDX: ffff88811240e540 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc900011ff950 R08: ffffffff82156f9d R09: fffff5200023fe69 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88813433a640 R14: 0000000000000008 R15: 0000000000000008 FS: 00007f34526526c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3452672fa8 CR3: 000000013b82c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: atomic_open fs/namei.c:3352 [inline] lookup_open fs/namei.c:3460 [inline] open_last_lookups fs/namei.c:3557 [inline] path_openat+0xf52/0x2d60 fs/namei.c:3787 do_filp_open+0x230/0x480 fs/namei.c:3817 do_sys_openat2+0x13f/0x850 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f345187dea9 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:00007f34526520c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f34519ac050 RCX: 00007f345187dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f34518ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f34519ac050 R15: 00007ffc5e4b5268 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:878 Code: 45 fe 8b 5d c4 89 de 83 e6 40 31 ff e8 33 f2 5f ff 89 d8 83 e0 40 75 07 e8 77 ee 5f 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 2b cf a6 ff 48 83 3b 00 74 24 e8 RSP: 0018:ffffc900011ff8f8 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000038 RCX: 0000000000040000 RDX: ffff88811240e540 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc900011ff950 R08: ffffffff82156f9d R09: fffff5200023fe69 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88813433a640 R14: 0000000000000008 R15: 0000000000000008 FS: 00007f34526526c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f244def7000 CR3: 000000013b82c000 CR4: 00000000003526b0 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 33 f2 5f ff call 0xff5ff244 11: 89 d8 mov %ebx,%eax 13: 83 e0 40 and $0x40,%eax 16: 75 07 jne 0x1f 18: e8 77 ee 5f ff call 0xff5fee94 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 2b cf a6 ff call 0xffa6cf64 39: 48 83 3b 00 cmpq $0x0,(%rbx) 3d: 74 24 je 0x63 3f: e8 .byte 0xe8