REISERFS (device loop2): Using tea hash to sort names REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. ================================================================== BUG: KASAN: use-after-free in leaf_paste_entries+0x9f0/0xb38 fs/reiserfs/lbalance.c:1351 Read of size 2 at addr ffff0000e29c00d0 by task syz.2.128/5140 CPU: 1 PID: 5140 Comm: syz.2.128 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 __asan_report_load_n_noabort+0x28/0x34 mm/kasan/report_generic.c:361 leaf_paste_entries+0x9f0/0xb38 fs/reiserfs/lbalance.c:1351 leaf_copy_dir_entries+0x4cc/0x780 fs/reiserfs/lbalance.c:119 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:000000005f44daca refcount:0 mapcount:-128 mapping:0000000000000000 index:0x1 pfn:0x1229c0 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffc0003e05008 fffffc0003eb0008 0000000000000000 raw: 0000000000000001 0000000000000006 00000000ffffff7f 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e29bff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000e29c0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff0000e29c0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000e29c0100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000e29c0180: 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 ffff0000e1244ff0 KASAN: maybe wild-memory-access in range [0xfffc000709227f80-0xfffc000709227f87] Mem abort info: ESR = 0x000000009600004f EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0