================================================================== BUG: KASAN: use-after-free in reiserfs_release_objectid+0x454/0x63c fs/reiserfs/objectid.c:165 Read of size 8188 at addr ffff0000dff7c050 by task syz.0.476/5982 CPU: 1 PID: 5982 Comm: syz.0.476 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description+0x7c/0x3f0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x174/0x1e4 mm/kasan/report.c:451 kasan_check_range+0x274/0x2b4 mm/kasan/generic.c:189 memmove+0x90/0xe8 mm/kasan/shadow.c:54 reiserfs_release_objectid+0x454/0x63c fs/reiserfs/objectid.c:165 remove_save_link+0x2a0/0x460 fs/reiserfs/super.c:542 reiserfs_evict_inode+0x304/0x3f0 fs/reiserfs/inode.c:91 evict+0x260/0x68c fs/inode.c:587 iput_final fs/inode.c:1705 [inline] iput+0x744/0x824 fs/inode.c:1731 dentry_unlink_inode+0x37c/0x4bc fs/dcache.c:380 __dentry_kill+0x324/0x5e4 fs/dcache.c:586 dentry_kill+0xc8/0x250 dput+0x21c/0x458 fs/dcache.c:893 ovl_check_rename_whiteout fs/overlayfs/super.c:1312 [inline] ovl_make_workdir fs/overlayfs/super.c:1409 [inline] ovl_get_workdir+0x8b8/0x1110 fs/overlayfs/super.c:1524 ovl_fill_super+0x15b4/0x2254 fs/overlayfs/super.c:2080 mount_nodev+0x68/0x104 fs/super.c:1433 ovl_mount+0x3c/0x50 fs/overlayfs/super.c:2171 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1517 do_new_mount+0x278/0x8fc fs/namespace.c:3005 path_mount+0x594/0x101c fs/namespace.c:3335 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount fs/namespace.c:3533 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 The buggy address belongs to the page: page:0000000002b3b5bb refcount:2 mapcount:0 mapping:00000000298ecaa4 index:0x10 pfn:0x11ff7c memcg:ffff0000d7728000 aops:def_blk_aops ino:700000 flags: 0x5ffc00000022036(referenced|uptodate|lru|active|private|mappedtodisk|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000022036 fffffc0003aca048 fffffc00037fdf88 ffff0000c51ecf48 raw: 0000000000000010 ffff0000de169658 00000002ffffffff ffff0000d7728000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000dff7cf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000dff7cf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000dff7d000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000dff7d080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000dff7d100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== overlayfs: upper fs does not support RENAME_WHITEOUT. overlayfs: failed to set xattr on upper overlayfs: ...falling back to index=off,metacopy=off.