XFS (loop0): Unmounting Filesystem ================================================================== BUG: KASAN: slab-out-of-bounds in xlog_pack_data+0x2c8/0x444 fs/xfs/xfs_log.c:1760 Read of size 4 at addr ffff0000dc724e00 by task syz-executor.0/4322 CPU: 0 PID: 4322 Comm: syz-executor.0 Not tainted 5.15.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 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 __asan_report_load4_noabort+0x44/0x50 mm/kasan/report_generic.c:308 xlog_pack_data+0x2c8/0x444 fs/xfs/xfs_log.c:1760 xlog_sync+0x3ec/0xe78 fs/xfs/xfs_log.c:2014 xlog_state_release_iclog+0x554/0xaf0 fs/xfs/xfs_log.c:596 xlog_force_iclog fs/xfs/xfs_log.c:864 [inline] xlog_force_and_check_iclog+0x12c/0x258 fs/xfs/xfs_log.c:3223 xlog_force_lsn+0x690/0x7bc fs/xfs/xfs_log.c:3395 xfs_log_force_seq+0x310/0x81c fs/xfs/xfs_log.c:3460 __xfs_trans_commit+0x8cc/0xe98 fs/xfs/xfs_trans.c:890 xfs_trans_commit+0x24/0x34 fs/xfs/xfs_trans.c:925 xfs_sync_sb+0x144/0x1ac fs/xfs/libxfs/xfs_sb.c:1004 xfs_log_cover fs/xfs/xfs_log.c:1235 [inline] xfs_log_quiesce+0x424/0x684 fs/xfs/xfs_log.c:1052 xfs_log_clean+0xb4/0x9bc fs/xfs/xfs_log.c:1059 xfs_log_unmount+0x30/0xbc fs/xfs/xfs_log.c:1074 xfs_unmountfs+0x128/0x1c8 fs/xfs/xfs_mount.c:1040 xfs_fs_put_super+0x70/0x250 fs/xfs/xfs_super.c:1090 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_block_super+0x70/0xdc fs/super.c:1405 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 The buggy address belongs to the page: page:000000007c959e4e refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11c700 head:000000007c959e4e order:6 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010000(head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000dc724d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000dc724d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000dc724e00: 01 fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ ffff0000dc724e80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff0000dc724f00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ================================================================== XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem XFS (loop0): Unmounting Filesystem