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: 3548 Comm: syz-executor Not tainted 6.1.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 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+0x101/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 9d 42 b1 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 80 42 b1 ff 49 8b 3f 48 85 ff 0f RSP: 0018:ffffc90003d5f720 EFLAGS: 00010202 RAX: 1ffff1100ed904b3 RBX: 000000000000000d RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: ffffc90003d5f791 RBP: ffffc90003d5f810 R08: dffffc0000000000 R09: ffffc90003d5f780 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1100f5b9ccf R14: ffff88807adce678 R15: 0000000000000068 FS: 00005555558c1500(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555558f4688 CR3: 000000005e808000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_for_each_xattr+0x1a4/0xb40 fs/reiserfs/xattr.c:252 reiserfs_delete_xattrs+0x1b/0x80 fs/reiserfs/xattr.c:364 reiserfs_evict_inode+0x20c/0x460 fs/reiserfs/inode.c:53 evict+0x2a4/0x620 fs/inode.c:666 hook_sb_delete+0x78e/0xb80 security/landlock/fs.c:1021 security_sb_delete+0x40/0x80 security/security.c:936 generic_shutdown_super+0xa4/0x340 fs/super.c:487 kill_block_super+0x7a/0xe0 fs/super.c:1459 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f64f8577247 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffb0d37aa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007f64f8577247 RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007fffb0d38c50 RBP: 00007f64f85e344c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007fffb0d38c50 R13: 00007f64f85e344c R14: 00005555558c14a8 R15: 000000000006ae22 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+0x101/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 9d 42 b1 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 80 42 b1 ff 49 8b 3f 48 85 ff 0f RSP: 0018:ffffc90003d5f720 EFLAGS: 00010202 RAX: 1ffff1100ed904b3 RBX: 000000000000000d RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: ffffc90003d5f791 RBP: ffffc90003d5f810 R08: dffffc0000000000 R09: ffffc90003d5f780 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1100f5b9ccf R14: ffff88807adce678 R15: 0000000000000068 FS: 00005555558c1500(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e6032c2000 CR3: 000000005e808000 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 9d 42 b1 ff call 0xffb142b8 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 80 42 b1 ff call 0xffb142b8 38: 49 8b 3f mov (%r15),%rdi 3b: 48 85 ff test %rdi,%rdi 3e: 0f .byte 0xf