XFS (loop3): log I/O error -5 ================================================================== BUG: KASAN: use-after-free in instrument_atomic_write include/linux/instrumented.h:86 [inline] BUG: KASAN: use-after-free in set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] BUG: KASAN: use-after-free in xfs_trans_committed_bulk+0x14c/0x70c fs/xfs/xfs_trans.c:757 Write of size 8 at addr ffff0000ce3c6a80 by task kworker/0:1H/149 CPU: 0 PID: 149 Comm: kworker/0:1H Not tainted 5.15.105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop3 xlog_ioend_work 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 __kasan_check_write+0x44/0x54 mm/kasan/shadow.c:37 instrument_atomic_write include/linux/instrumented.h:86 [inline] set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] xfs_trans_committed_bulk+0x14c/0x70c fs/xfs/xfs_trans.c:757 xlog_cil_committed+0x22c/0xc20 fs/xfs/xfs_log_cil.c:631 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:659 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:516 xlog_force_shutdown+0x1a8/0x208 fs/xfs/xfs_log.c:3896 xfs_do_force_shutdown+0x118/0x5e8 fs/xfs/xfs_fsops.c:529 xlog_ioend_work+0xc0/0x114 fs/xfs/xfs_log.c:1364 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Allocated by task 5133: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8c/0xcc mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x74/0x3f4 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x1dc/0x45c mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] xfs_buf_item_init+0x70/0x434 fs/xfs/xfs_buf_item.c:807 _xfs_trans_bjoin+0x54/0x14c fs/xfs/xfs_trans_buf.c:75 xfs_trans_get_buf_map+0x368/0x884 fs/xfs/xfs_trans_buf.c:162 xfs_trans_get_buf fs/xfs/xfs_trans.h:187 [inline] xfs_dquot_disk_alloc+0x630/0xad8 fs/xfs/xfs_dquot.c:341 xfs_qm_dqread_alloc fs/xfs/xfs_dquot.c:647 [inline] xfs_qm_dqread+0x388/0x828 fs/xfs/xfs_dquot.c:692 xfs_qm_dqget+0x23c/0x790 fs/xfs/xfs_dquot.c:897 xfs_qm_quotacheck_dqadjust+0xe0/0x694 fs/xfs/xfs_qm.c:1085 xfs_qm_dqusage_adjust+0x478/0x518 fs/xfs/xfs_qm.c:1204 xfs_iwalk_ag_recs+0x42c/0x834 fs/xfs/xfs_iwalk.c:220 xfs_iwalk_run_callbacks+0x1bc/0x3b4 fs/xfs/xfs_iwalk.c:376 xfs_iwalk_ag+0x8d4/0x9b0 fs/xfs/xfs_iwalk.c:482 xfs_iwalk_ag_work+0x10c/0x1a8 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x80/0x1b8 fs/xfs/xfs_pwork.c:47 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Freed by task 7205: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x84 mm/kasan/common.c:46 kasan_set_free_info+0x28/0x4c mm/kasan/generic.c:360 ____kasan_slab_free+0x118/0x164 mm/kasan/common.c:366 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0x128/0x1ec mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0xdc/0x3c4 mm/slub.c:3515 xfs_buf_item_free+0x54/0x64 fs/xfs/xfs_buf_item.c:1005 xfs_buf_item_relse+0x19c/0x3e0 fs/xfs/xfs_buf_item.c:1022 xfs_buf_item_done+0x60/0x94 fs/xfs/xfs_buf_item.c:1044 xfs_buf_ioend+0x324/0x7a0 fs/xfs/xfs_buf.c:1286 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1357 __xfs_buf_submit+0x1f4/0x85c fs/xfs/xfs_buf.c:1598 xfs_buf_delwri_submit_buffers+0x5cc/0x93c fs/xfs/xfs_buf.c:2136 xfs_buf_delwri_submit+0xbc/0x244 fs/xfs/xfs_buf.c:2182 xfs_qm_quotacheck+0x34c/0x56c fs/xfs/xfs_qm.c:1351 xfs_qm_mount_quotas+0x2ac/0x578 fs/xfs/xfs_qm.c:1441 xfs_mountfs+0x11e4/0x1778 fs/xfs/xfs_mount.c:904 xfs_fs_fill_super+0xd64/0xf60 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x360/0x54c fs/super.c:1303 xfs_fs_get_tree+0x28/0x38 fs/xfs/xfs_super.c:1705 vfs_get_tree+0x90/0x274 fs/super.c:1508 do_new_mount+0x25c/0x8c8 fs/namespace.c:2994 path_mount+0x590/0x104c fs/namespace.c:3324 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount fs/namespace.c:3522 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522 __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:596 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 object at ffff0000ce3c6a40 which belongs to the cache xfs_buf_item of size 264 The buggy address is located 64 bytes inside of 264-byte region [ffff0000ce3c6a40, ffff0000ce3c6b48) The buggy address belongs to the page: page:00000000c84be851 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10e3c6 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc000329c040 0000000200000002 ffff0000c6978900 raw: 0000000000000000 00000000800c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000ce3c6980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000ce3c6a00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb >ffff0000ce3c6a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000ce3c6b00: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc ffff0000ce3c6b80: fc fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3499 [inline] BUG: KASAN: double-free or invalid-free in kfree+0x178/0x410 mm/slub.c:4559 CPU: 0 PID: 149 Comm: kworker/0:1H Tainted: G B 5.15.105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop3 xlog_ioend_work 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_invalid_free+0x64/0x94 mm/kasan/report.c:373 ____kasan_slab_free+0x134/0x164 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0x128/0x1ec mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0x178/0x410 mm/slub.c:4559 kvfree+0x40/0x50 mm/util.c:654 kmem_free fs/xfs/kmem.h:62 [inline] xfs_buf_free+0x1cc/0x484 fs/xfs/xfs_buf.c:307 xfs_buf_rele+0xef4/0x15a0 xfs_buf_relse fs/xfs/xfs_buf.h:270 [inline] xfs_buf_ioend+0x434/0x7a0 fs/xfs/xfs_buf.c:1299 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1357 xfs_buf_item_unpin+0x210/0x808 fs/xfs/xfs_buf_item.c:548 xfs_trans_committed_bulk+0x2b0/0x70c fs/xfs/xfs_trans.c:780 xlog_cil_committed+0x22c/0xc20 fs/xfs/xfs_log_cil.c:631 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:659 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:516 xlog_force_shutdown+0x1a8/0x208 fs/xfs/xfs_log.c:3896 xfs_do_force_shutdown+0x118/0x5e8 fs/xfs/xfs_fsops.c:529 xlog_ioend_work+0xc0/0x114 fs/xfs/xfs_log.c:1364 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Allocated by task 5133: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xbc/0xfc mm/kasan/common.c:513 __kasan_kmalloc+0x10/0x1c mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc+0x29c/0x4c8 mm/slub.c:4407 kmalloc include/linux/slab.h:596 [inline] kmem_alloc+0x214/0x53c fs/xfs/kmem.c:21 xfs_buf_alloc_kmem fs/xfs/xfs_buf.c:325 [inline] xfs_buf_get_map+0x55c/0xbb0 fs/xfs/xfs_buf.c:670 xfs_trans_get_buf_map+0x184/0x884 fs/xfs/xfs_trans_buf.c:156 xfs_trans_get_buf fs/xfs/xfs_trans.h:187 [inline] xfs_dquot_disk_alloc+0x630/0xad8 fs/xfs/xfs_dquot.c:341 xfs_qm_dqread_alloc fs/xfs/xfs_dquot.c:647 [inline] xfs_qm_dqread+0x388/0x828 fs/xfs/xfs_dquot.c:692 xfs_qm_dqget+0x23c/0x790 fs/xfs/xfs_dquot.c:897 xfs_qm_quotacheck_dqadjust+0xe0/0x694 fs/xfs/xfs_qm.c:1085 xfs_qm_dqusage_adjust+0x478/0x518 fs/xfs/xfs_qm.c:1204 xfs_iwalk_ag_recs+0x42c/0x834 fs/xfs/xfs_iwalk.c:220 xfs_iwalk_run_callbacks+0x1bc/0x3b4 fs/xfs/xfs_iwalk.c:376 xfs_iwalk_ag+0x8d4/0x9b0 fs/xfs/xfs_iwalk.c:482 xfs_iwalk_ag_work+0x10c/0x1a8 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x80/0x1b8 fs/xfs/xfs_pwork.c:47 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Freed by task 7205: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x84 mm/kasan/common.c:46 kasan_set_free_info+0x28/0x4c mm/kasan/generic.c:360 ____kasan_slab_free+0x118/0x164 mm/kasan/common.c:366 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0x128/0x1ec mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0x178/0x410 mm/slub.c:4559 kvfree+0x40/0x50 mm/util.c:654 kmem_free fs/xfs/kmem.h:62 [inline] xfs_buf_free+0x1cc/0x484 fs/xfs/xfs_buf.c:307 xfs_buf_rele+0xef4/0x15a0 xfs_buf_relse fs/xfs/xfs_buf.h:270 [inline] xfs_buf_delwri_submit+0x1ac/0x244 fs/xfs/xfs_buf.c:2195 xfs_qm_quotacheck+0x34c/0x56c fs/xfs/xfs_qm.c:1351 xfs_qm_mount_quotas+0x2ac/0x578 fs/xfs/xfs_qm.c:1441 xfs_mountfs+0x11e4/0x1778 fs/xfs/xfs_mount.c:904 xfs_fs_fill_super+0xd64/0xf60 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x360/0x54c fs/super.c:1303 xfs_fs_get_tree+0x28/0x38 fs/xfs/xfs_super.c:1705 vfs_get_tree+0x90/0x274 fs/super.c:1508 do_new_mount+0x25c/0x8c8 fs/namespace.c:2994 path_mount+0x590/0x104c fs/namespace.c:3324 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount fs/namespace.c:3522 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522 __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:596 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 object at ffff00010b570c00 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 0 bytes inside of 512-byte region [ffff00010b570c00, ffff00010b570e00) The buggy address belongs to the page: page:0000000022a5db12 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14b570 head:0000000022a5db12 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 dead000000000100 dead000000000122 ffff0000c0002600 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff00010b570b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff00010b570b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff00010b570c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff00010b570c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff00010b570d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3499 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0xdc/0x3c4 mm/slub.c:3515 CPU: 0 PID: 149 Comm: kworker/0:1H Tainted: G B 5.15.105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop3 xlog_ioend_work 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_invalid_free+0x64/0x94 mm/kasan/report.c:373 ____kasan_slab_free+0x134/0x164 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0x128/0x1ec mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0xdc/0x3c4 mm/slub.c:3515 xfs_buf_free+0x22c/0x484 fs/xfs/xfs_buf.c:310 xfs_buf_rele+0xef4/0x15a0 xfs_buf_relse fs/xfs/xfs_buf.h:270 [inline] xfs_buf_ioend+0x434/0x7a0 fs/xfs/xfs_buf.c:1299 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1357 xfs_buf_item_unpin+0x210/0x808 fs/xfs/xfs_buf_item.c:548 xfs_trans_committed_bulk+0x2b0/0x70c fs/xfs/xfs_trans.c:780 xlog_cil_committed+0x22c/0xc20 fs/xfs/xfs_log_cil.c:631 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:659 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:516 xlog_force_shutdown+0x1a8/0x208 fs/xfs/xfs_log.c:3896 xfs_do_force_shutdown+0x118/0x5e8 fs/xfs/xfs_fsops.c:529 xlog_ioend_work+0xc0/0x114 fs/xfs/xfs_log.c:1364 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Allocated by task 5133: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8c/0xcc mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x74/0x3f4 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x1dc/0x45c mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] _xfs_buf_alloc+0x78/0xd20 fs/xfs/xfs_buf.c:223 xfs_buf_get_map+0x194/0xbb0 fs/xfs/xfs_buf.c:659 xfs_trans_get_buf_map+0x184/0x884 fs/xfs/xfs_trans_buf.c:156 xfs_trans_get_buf fs/xfs/xfs_trans.h:187 [inline] xfs_dquot_disk_alloc+0x630/0xad8 fs/xfs/xfs_dquot.c:341 xfs_qm_dqread_alloc fs/xfs/xfs_dquot.c:647 [inline] xfs_qm_dqread+0x388/0x828 fs/xfs/xfs_dquot.c:692 xfs_qm_dqget+0x23c/0x790 fs/xfs/xfs_dquot.c:897 xfs_qm_quotacheck_dqadjust+0xe0/0x694 fs/xfs/xfs_qm.c:1085 xfs_qm_dqusage_adjust+0x478/0x518 fs/xfs/xfs_qm.c:1204 xfs_iwalk_ag_recs+0x42c/0x834 fs/xfs/xfs_iwalk.c:220 xfs_iwalk_run_callbacks+0x1bc/0x3b4 fs/xfs/xfs_iwalk.c:376 xfs_iwalk_ag+0x8d4/0x9b0 fs/xfs/xfs_iwalk.c:482 xfs_iwalk_ag_work+0x10c/0x1a8 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x80/0x1b8 fs/xfs/xfs_pwork.c:47 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306 worker_thread+0x910/0x1034 kernel/workqueue.c:2453 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Freed by task 7205: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x84 mm/kasan/common.c:46 kasan_set_free_info+0x28/0x4c mm/kasan/generic.c:360 ____kasan_slab_free+0x118/0x164 mm/kasan/common.c:366 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0x128/0x1ec mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0xdc/0x3c4 mm/slub.c:3515 xfs_buf_free+0x22c/0x484 fs/xfs/xfs_buf.c:310 xfs_buf_rele+0xef4/0x15a0 xfs_buf_relse fs/xfs/xfs_buf.h:270 [inline] xfs_buf_delwri_submit+0x1ac/0x244 fs/xfs/xfs_buf.c:2195 xfs_qm_quotacheck+0x34c/0x56c fs/xfs/xfs_qm.c:1351 xfs_qm_mount_quotas+0x2ac/0x578 fs/xfs/xfs_qm.c:1441 xfs_mountfs+0x11e4/0x1778 fs/xfs/xfs_mount.c:904 xfs_fs_fill_super+0xd64/0xf60 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x360/0x54c fs/super.c:1303 xfs_fs_get_tree+0x28/0x38 fs/xfs/xfs_super.c:1705 vfs_get_tree+0x90/0x274 fs/super.c:1508 do_new_mount+0x25c/0x8c8 fs/namespace.c:2994 path_mount+0x590/0x104c fs/namespace.c:3324 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount fs/namespace.c:3522 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522 __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:596 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 object at ffff00010d49aa00 which belongs to the cache xfs_buf of size 632 The buggy address is located 0 bytes inside of 632-byte region [ffff00010d49aa00, ffff00010d49ac78) The buggy address belongs to the page: page:000000009a98067d refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14d498 head:000000009a98067d order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000122 ffff0000c6979b00 raw: 0000000000000000 0000000080150015 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff00010d49a900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc ffff00010d49a980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff00010d49aa00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff00010d49aa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff00010d49ab00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== XFS (loop3): Log I/O Error (0x2) detected at xlog_ioend_work+0xc0/0x114 fs/xfs/xfs_log.c:1364 (fs/xfs/xfs_log.c:1364). Shutting down filesystem. XFS (loop3): Please unmount the filesystem and rectify the problem(s) XFS (loop3): log I/O error -5 XFS (loop3): Log I/O Error (0x2) detected at xlog_ioend_work+0xc0/0x114 fs/xfs/xfs_log.c:1364 (fs/xfs/xfs_log.c:1364). Shutting down filesystem. XFS (loop3): Please unmount the filesystem and rectify the problem(s)