general protection fault, probably for non-canonical address 0xdffffc0000000827: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000004138-0x000000000000413f] CPU: 1 PID: 5260 Comm: syz-executor.2 Not tainted 6.3.0-rc7-syzkaller-00060-g789b4a41c247 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:d_really_is_negative include/linux/dcache.h:466 [inline] RIP: 0010:open_xa_root fs/reiserfs/xattr.c:124 [inline] RIP: 0010:open_xa_dir+0x105/0x610 fs/reiserfs/xattr.c:152 Code: 05 00 00 49 03 1e 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 f9 a6 b0 ff 4c 8b 3b 49 83 c7 68 4c 89 fb 48 c1 eb 03 <42> 80 3c 23 00 74 08 4c 89 ff e8 dc a6 b0 ff 49 8b 3f 48 85 ff 0f RSP: 0018:ffffc9000b5af500 EFLAGS: 00010206 RAX: 1ffff11005b6f4b3 RBX: 0000000000000827 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: ffffc9000b5af571 RBP: ffffc9000b5af5f8 R08: dffffc0000000000 R09: ffffc9000b5af560 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff110060368cf R14: ffff8880301b4678 R15: 000000000000413a FS: 00007f29ad721700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe511645e8 CR3: 000000002b616000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xattr_lookup+0x24/0x280 fs/reiserfs/xattr.c:395 reiserfs_xattr_get+0xfd/0x570 fs/reiserfs/xattr.c:677 reiserfs_get_acl+0x7e/0x650 fs/reiserfs/xattr_acl.c:215 __get_acl+0x288/0x470 fs/posix_acl.c:160 check_acl+0x3a/0x150 fs/namei.c:307 acl_permission_check fs/namei.c:352 [inline] generic_permission+0x362/0x550 fs/namei.c:405 do_inode_permission fs/namei.c:459 [inline] inode_permission+0x233/0x460 fs/namei.c:526 may_open+0x2d6/0x440 fs/namei.c:3188 do_open fs/namei.c:3558 [inline] path_openat+0x2652/0x3170 fs/namei.c:3715 do_filp_open+0x234/0x490 fs/namei.c:3742 do_sys_openat2+0x13f/0x500 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f29aca3e2f4 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:00007f29ad720f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000005d8 RCX: 00007f29aca3e2f4 RDX: 0000000000010000 RSI: 00000000200005c0 RDI: 00000000ffffff9c RBP: 00000000200005c0 R08: 0000000000000000 R09: 0000000001008002 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000010000 R13: 00000000200005c0 R14: 00007f29ad720fe0 R15: 00000000200000c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_really_is_negative include/linux/dcache.h:466 [inline] RIP: 0010:open_xa_root fs/reiserfs/xattr.c:124 [inline] RIP: 0010:open_xa_dir+0x105/0x610 fs/reiserfs/xattr.c:152 Code: 05 00 00 49 03 1e 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 f9 a6 b0 ff 4c 8b 3b 49 83 c7 68 4c 89 fb 48 c1 eb 03 <42> 80 3c 23 00 74 08 4c 89 ff e8 dc a6 b0 ff 49 8b 3f 48 85 ff 0f RSP: 0018:ffffc9000b5af500 EFLAGS: 00010206 RAX: 1ffff11005b6f4b3 RBX: 0000000000000827 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: ffffc9000b5af571 RBP: ffffc9000b5af5f8 R08: dffffc0000000000 R09: ffffc9000b5af560 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff110060368cf R14: ffff8880301b4678 R15: 000000000000413a FS: 00007f29ad721700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555676e848 CR3: 000000002b616000 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 20 00 cmpb $0x0,(%rax,%r12,1) 11: 74 08 je 0x1b 13: 48 89 df mov %rbx,%rdi 16: e8 f9 a6 b0 ff callq 0xffb0a714 1b: 4c 8b 3b mov (%rbx),%r15 1e: 49 83 c7 68 add $0x68,%r15 22: 4c 89 fb mov %r15,%rbx 25: 48 c1 eb 03 shr $0x3,%rbx * 29: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ff mov %r15,%rdi 33: e8 dc a6 b0 ff callq 0xffb0a714 38: 49 8b 3f mov (%r15),%rdi 3b: 48 85 ff test %rdi,%rdi 3e: 0f .byte 0xf