REISERFS (device loop3): Using tea hash to sort names REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage. ================================================================== BUG: KASAN: use-after-free in leaf_paste_in_buffer+0x5d0/0xa40 fs/reiserfs/lbalance.c:1043 Read of size 48 at addr ffff0000fd89aff0 by task syz.3.1069/8923 CPU: 0 PID: 8923 Comm: syz.3.1069 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x258/0x290 mm/kasan/generic.c:189 memcpy+0x48/0x90 mm/kasan/shadow.c:65 leaf_paste_in_buffer+0x5d0/0xa40 fs/reiserfs/lbalance.c:1043 leaf_copy_dir_entries+0x444/0x780 fs/reiserfs/lbalance.c:108 leaf_copy_boundary_item+0x87c/0x19f4 fs/reiserfs/lbalance.c:-1 leaf_copy_items fs/reiserfs/lbalance.c:551 [inline] leaf_move_items+0x6c8/0xbd8 fs/reiserfs/lbalance.c:726 leaf_shift_left+0xc4/0x3ac fs/reiserfs/lbalance.c:750 balance_leaf_when_delete_left fs/reiserfs/do_balan.c:194 [inline] balance_leaf_when_delete fs/reiserfs/do_balan.c:272 [inline] balance_leaf+0xeb4/0xdee0 fs/reiserfs/do_balan.c:1393 do_balance+0x270/0x794 fs/reiserfs/do_balan.c:1888 reiserfs_delete_solid_item+0x760/0xc8c fs/reiserfs/stree.c:1462 remove_save_link+0x1e4/0x350 fs/reiserfs/super.c:540 reiserfs_truncate_file+0x540/0xb04 fs/reiserfs/inode.c:2322 reiserfs_setattr+0xad4/0x1014 fs/reiserfs/inode.c:3395 reiserfs_xattr_set_handle+0x9b4/0xdbc fs/reiserfs/xattr.c:600 reiserfs_xattr_set+0x3a8/0x4d4 fs/reiserfs/xattr.c:633 trusted_set+0x98/0xe8 fs/reiserfs/xattr_trusted.c:31 __vfs_setxattr+0x374/0x390 fs/xattr.c:182 __vfs_setxattr_noperm+0x120/0x56c fs/xattr.c:216 __vfs_setxattr_locked+0x1e8/0x214 fs/xattr.c:277 vfs_setxattr+0x158/0x2a8 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x258/0x2d8 fs/xattr.c:617 path_setxattr+0x130/0x260 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __arm64_sys_setxattr+0xc4/0xe0 fs/xattr.c:648 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the physical page: page:000000001b248fa1 refcount:3 mapcount:0 mapping:00000000203432f4 index:0x237 pfn:0x13d89a memcg:ffff0000dcc9e000 aops:def_blk_aops ino:700003 flags: 0x5ffc20000002042(referenced|workingset|private|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc20000002042 0000000000000000 dead000000000122 ffff0000c0546018 raw: 0000000000000237 ffff00010214c1d0 00000003ffffffff ffff0000dcc9e000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000fd89af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000fd89af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000fd89b000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000fd89b080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000fd89b100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== Unable to handle kernel write to read-only memory at virtual address ffff000101781ff0 KASAN: maybe wild-memory-access in range [0xfffc00080bc0ff80-0xfffc00080bc0ff87] Mem abort info: ESR = 0x000000009600004f EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0