REISERFS (device loop0): journal params: device ram0, size 127, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (ram0) ================================================================== BUG: KASAN: use-after-free in init_inode fs/reiserfs/inode.c:1314 [inline] BUG: KASAN: use-after-free in reiserfs_read_locked_inode+0x17f0/0x1fcc fs/reiserfs/inode.c:1560 Read of size 4 at addr ffff0000e627e000 by task syz.0.15/6511 CPU: 1 UID: 0 PID: 6511 Comm: syz.0.15 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:319 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:326 __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:377 [inline] print_report+0x178/0x518 mm/kasan/report.c:488 kasan_report+0xd8/0x138 mm/kasan/report.c:601 __asan_report_load_n_noabort+0x1c/0x28 mm/kasan/report_generic.c:391 init_inode fs/reiserfs/inode.c:1314 [inline] reiserfs_read_locked_inode+0x17f0/0x1fcc fs/reiserfs/inode.c:1560 reiserfs_fill_super+0x102c/0x1f4c fs/reiserfs/super.c:2070 mount_bdev+0x1d4/0x2a0 fs/super.c:1679 get_super_block+0x44/0x58 fs/reiserfs/super.c:2600 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662 vfs_get_tree+0x90/0x28c fs/super.c:1800 do_new_mount+0x278/0x900 fs/namespace.c:3507 path_mount+0x590/0xe04 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount fs/namespace.c:4034 [inline] __arm64_sys_mount+0x45c/0x5a8 fs/namespace.c:4034 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88780 pfn:0x12627e flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffdffc3989fc8 ffff0001b3f563b0 0000000000000000 raw: 0000000ffff88780 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e627df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000e627df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000e627e000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000e627e080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000e627e100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== REISERFS warning (device loop0): vs-13075 reiserfs_read_locked_inode: dead inode read from disk [1 2 0x0 SD]. This is likely to be race with knfsd. Ignore REISERFS warning (device loop0): reiserfs_fill_super: corrupt root inode, run fsck