loop2: detected capacity change from 0 to 264192 ext4 filesystem being mounted at /root/syzkaller-testdir2753610610/syzkaller.FJKb2P/1229/file0 supports timestamps until 2038 (0x7fffffff) general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 1 PID: 19602 Comm: syz-executor.2 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:d_really_is_negative include/linux/dcache.h:465 [inline] RIP: 0010:open_xa_root fs/reiserfs/xattr.c:124 [inline] RIP: 0010:open_xa_dir+0xed/0x610 fs/reiserfs/xattr.c:152 Code: 05 00 00 49 03 1e 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b1 00 b2 ff 4c 8b 2b 49 83 c5 68 4c 89 eb 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 ef e8 94 00 b2 ff 49 8b 7d 00 48 85 ff RSP: 0018:ffffc900158b75a0 EFLAGS: 00010203 RAX: 1ffff1100f7414b3 RBX: 000000000000000d RCX: 0000000000040000 RDX: ffffc9000a411000 RSI: 000000000000bccb RDI: 000000000000bccc RBP: ffffc900158b7678 R08: ffffffff8227ddd7 R09: ffffffff8228555d R10: 0000000000000002 R11: ffff88801f04d880 R12: 1ffff1100d08a0cf R13: 000000000000006d R14: ffff888068450678 R15: dffffc0000000000 FS: 00007f12ce2db700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12ce2dc000 CR3: 000000001fad8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xattr_lookup+0x27/0x280 fs/reiserfs/xattr.c:395 reiserfs_xattr_get+0xfa/0x580 fs/reiserfs/xattr.c:677 reiserfs_get_acl+0x7a/0x650 fs/reiserfs/xattr_acl.c:214 get_acl+0x157/0x260 fs/posix_acl.c:152 check_acl+0x35/0x150 fs/namei.c:306 acl_permission_check fs/namei.c:351 [inline] generic_permission+0x388/0x4e0 fs/namei.c:404 do_inode_permission fs/namei.c:458 [inline] inode_permission+0x22c/0x450 fs/namei.c:525 may_open+0x2a4/0x400 fs/namei.c:3185 do_open fs/namei.c:3555 [inline] path_openat+0x24a2/0x2df0 fs/namei.c:3691 do_filp_open+0x264/0x4f0 fs/namei.c:3718 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1337 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:0x7f12cd03d654 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f12ce2daf10 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f12cd03d654 RDX: 0000000000010000 RSI: 0000000020000100 RDI: 00000000ffffff9c RBP: 0000000020000100 R08: 0000000000000000 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000010000 R13: 0000000020000100 R14: 00007f12ce2dafe0 R15: 0000000020003e40 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_really_is_negative include/linux/dcache.h:465 [inline] RIP: 0010:open_xa_root fs/reiserfs/xattr.c:124 [inline] RIP: 0010:open_xa_dir+0xed/0x610 fs/reiserfs/xattr.c:152 Code: 05 00 00 49 03 1e 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b1 00 b2 ff 4c 8b 2b 49 83 c5 68 4c 89 eb 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 ef e8 94 00 b2 ff 49 8b 7d 00 48 85 ff RSP: 0018:ffffc900158b75a0 EFLAGS: 00010203 RAX: 1ffff1100f7414b3 RBX: 000000000000000d RCX: 0000000000040000 RDX: ffffc9000a411000 RSI: 000000000000bccb RDI: 000000000000bccc RBP: ffffc900158b7678 R08: ffffffff8227ddd7 R09: ffffffff8228555d R10: 0000000000000002 R11: ffff88801f04d880 R12: 1ffff1100d08a0cf R13: 000000000000006d R14: ffff888068450678 R15: dffffc0000000000 FS: 00007f12ce2db700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12cd0dd878 CR3: 000000001fad8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 49 03 1e add (%r14),%rbx 5: 48 89 d8 mov %rbx,%rax 8: 48 c1 e8 03 shr $0x3,%rax c: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 11: 74 08 je 0x1b 13: 48 89 df mov %rbx,%rdi 16: e8 b1 00 b2 ff callq 0xffb200cc 1b: 4c 8b 2b mov (%rbx),%r13 1e: 49 83 c5 68 add $0x68,%r13 22: 4c 89 eb mov %r13,%rbx 25: 48 c1 eb 03 shr $0x3,%rbx * 29: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ef mov %r13,%rdi 33: e8 94 00 b2 ff callq 0xffb200cc 38: 49 8b 7d 00 mov 0x0(%r13),%rdi 3c: 48 85 ff test %rdi,%rdi