XFS (loop0): Torn write (CRC failure) detected at log block 0x10. Truncating head block from 0x20. XFS (loop0): Ending clean mount XFS (loop0): Unmounting Filesystem acfebfcd-0806-4e27-9777-0ac4ff5ddf54 ================================================================== BUG: KASAN: slab-out-of-bounds in xlog_pack_data+0x2c8/0x444 fs/xfs/xfs_log.c:1822 Read of size 4 at addr ffff0000df8e4e00 by task syz-executor293/5971 CPU: 0 PID: 5971 Comm: syz-executor293 Not tainted 6.4.0-rc5-syzkaller-g4641cff8e810 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:351 [inline] print_report+0x174/0x514 mm/kasan/report.c:462 kasan_report+0xd4/0x130 mm/kasan/report.c:572 __asan_report_load4_noabort+0x20/0x2c mm/kasan/report_generic.c:380 xlog_pack_data+0x2c8/0x444 fs/xfs/xfs_log.c:1822 xlog_sync+0x36c/0x10f4 fs/xfs/xfs_log.c:2093 xlog_state_release_iclog+0x460/0x934 fs/xfs/xfs_log.c:619 xlog_force_iclog fs/xfs/xfs_log.c:888 [inline] xlog_force_and_check_iclog fs/xfs/xfs_log.c:3172 [inline] xlog_force_lsn+0x5ec/0x76c fs/xfs/xfs_log.c:3344 xfs_log_force_seq+0x278/0x76c fs/xfs/xfs_log.c:3409 __xfs_trans_commit+0x9e0/0xff4 fs/xfs/xfs_trans.c:1014 xfs_trans_commit+0x24/0x34 fs/xfs/xfs_trans.c:1049 xfs_sync_sb+0x144/0x1ac fs/xfs/libxfs/xfs_sb.c:1015 xfs_log_cover fs/xfs/xfs_log.c:1300 [inline] xfs_log_quiesce+0x57c/0x844 fs/xfs/xfs_log.c:1109 xfs_log_clean+0xb0/0xd50 fs/xfs/xfs_log.c:1116 xfs_log_unmount+0x38/0x1a4 fs/xfs/xfs_log.c:1131 xfs_unmountfs+0x1c4/0x268 fs/xfs/xfs_mount.c:1096 xfs_fs_put_super+0x7c/0x264 fs/xfs/xfs_super.c:1129 generic_shutdown_super+0x130/0x328 fs/super.c:500 kill_block_super+0x70/0xdc fs/super.c:1407 deactivate_locked_super+0xac/0x124 fs/super.c:331 deactivate_super+0xe0/0x100 fs/super.c:362 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1177 __cleanup_mnt+0x20/0x30 fs/namespace.c:1184 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:874 do_group_exit+0x194/0x22c kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1033 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 The buggy address belongs to the physical page: page:0000000095bf08c2 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11f8c0 head:0000000095bf08c2 order:6 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000010000(head|node=0|zone=2|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 05ffc00000010000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000df8e4d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000df8e4d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000df8e4e00: 01 fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ ffff0000df8e4e80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff0000df8e4f00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ==================================================================