XFS (loop0): Please unmount the filesystem and rectify the problem(s). ================================================================== BUG: KASAN: use-after-free in instrument_atomic_write include/linux/instrumented.h:87 [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+0x16c/0x73c fs/xfs/xfs_trans.c:783 Write of size 8 at addr ffff0000d28b36d0 by task kworker/1:1H/1934 CPU: 1 PID: 1934 Comm: kworker/1:1H Not tainted 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop0 xlog_ioend_work Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x174/0x4c0 mm/kasan/report.c:395 kasan_report+0xd4/0x130 mm/kasan/report.c:495 kasan_check_range+0x264/0x2a4 mm/kasan/generic.c:189 __kasan_check_write+0x2c/0x3c mm/kasan/shadow.c:37 instrument_atomic_write include/linux/instrumented.h:87 [inline] set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] xfs_trans_committed_bulk+0x16c/0x73c fs/xfs/xfs_trans.c:783 xlog_cil_committed+0x210/0xf18 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Allocated by task 1880: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:52 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x74/0x8c mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x458 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x230/0x37c mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:679 [inline] xfs_buf_item_init+0x70/0x43c fs/xfs/xfs_buf_item.c:808 _xfs_trans_bjoin+0x54/0x13c fs/xfs/xfs_trans_buf.c:75 xfs_trans_get_buf_map+0x470/0xcf4 fs/xfs/xfs_trans_buf.c:162 xfs_trans_get_buf fs/xfs/xfs_trans.h:189 [inline] xfs_dquot_disk_alloc+0x89c/0xe18 fs/xfs/xfs_dquot.c:346 xfs_qm_dqread+0x2c4/0xb98 fs/xfs/xfs_dquot.c:665 xfs_qm_dqget+0x23c/0x510 fs/xfs/xfs_dquot.c:870 xfs_qm_quotacheck_dqadjust+0xe0/0x8c4 fs/xfs/xfs_qm.c:1077 xfs_qm_dqusage_adjust+0x36c/0x518 fs/xfs/xfs_qm.c:1182 xfs_iwalk_ag_recs+0x57c/0xadc 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/0x1a4 fs/xfs/xfs_pwork.c:47 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Freed by task 4345: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:52 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:516 ____kasan_slab_free+0x144/0x1c0 mm/kasan/common.c:236 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:244 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x328/0x5f8 mm/slub.c:3683 xfs_buf_item_free+0x54/0x64 fs/xfs/xfs_buf_item.c:1006 xfs_buf_item_relse+0x234/0x5a8 fs/xfs/xfs_buf_item.c:1023 xfs_buf_item_done+0x60/0x94 fs/xfs/xfs_buf_item.c:1045 xfs_buf_ioend+0x3e8/0x92c fs/xfs/xfs_buf.c:1326 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1397 __xfs_buf_submit+0x3d8/0xa38 fs/xfs/xfs_buf.c:1651 xfs_buf_delwri_submit_buffers+0x66c/0xad8 fs/xfs/xfs_buf.c:2196 xfs_buf_delwri_submit+0xbc/0x244 fs/xfs/xfs_buf.c:2242 xfs_qm_quotacheck+0x354/0x58c fs/xfs/xfs_qm.c:1347 xfs_qm_mount_quotas+0x2c4/0x590 fs/xfs/xfs_qm.c:1437 xfs_mountfs+0x1368/0x18fc fs/xfs/xfs_mount.c:945 xfs_fs_fill_super+0xd38/0xf50 fs/xfs/xfs_super.c:1666 get_tree_bdev+0x360/0x54c fs/super.c:1337 xfs_fs_get_tree+0x28/0x38 fs/xfs/xfs_super.c:1713 vfs_get_tree+0x90/0x274 fs/super.c:1544 do_new_mount+0x25c/0x8c8 fs/namespace.c:3040 path_mount+0x590/0xe58 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 The buggy address belongs to the object at ffff0000d28b3690 which belongs to the cache xfs_buf_item of size 272 The buggy address is located 64 bytes inside of 272-byte region [ffff0000d28b3690, ffff0000d28b37a0) The buggy address belongs to the physical page: page:00000000e6e8f8e2 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1128b3 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 0000000000000000 dead000000000122 ffff0000c2e7a900 raw: 0000000000000000 00000000800c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d28b3580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d28b3600: fb fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc >ffff0000d28b3680: fc fc fa fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d28b3700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d28b3780: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ------------[ cut here ]------------ ODEBUG: activate active (active state 1) object type: rcu_head hint: 0x0 WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline] WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 Modules linked in: CPU: 1 PID: 1934 Comm: kworker/1:1H Tainted: G B 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop0 xlog_ioend_work pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:509 [inline] pc : debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 lr : debug_print_object lib/debugobjects.c:509 [inline] lr : debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 sp : ffff8000236d7260 x29: ffff8000236d7260 x28: ffff800019ac7000 x27: 1fffe00019ae9360 x26: dfff800000000000 x25: ffff80001288b3d8 x24: 0000000000000000 x23: ffff8000123be600 x22: 0000000000000001 x21: ffff80001288b4c0 x20: ffff8000123be600 x19: ffff0000e04ccc38 x18: ffff8000236d7060 x17: 6820646165685f75 x16: ffff8000121a2440 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : 0c2e3eb7a7109400 x8 : 0c2e3eb7a7109400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000236d6b58 x4 : ffff800015813880 x3 : ffff800008355990 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object lib/debugobjects.c:509 [inline] debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 debug_rcu_head_queue kernel/rcu/rcu.h:189 [inline] call_rcu+0x50/0xa40 kernel/rcu/tree.c:2783 xfs_buf_free+0x270/0x5fc fs/xfs/xfs_buf.c:321 xfs_buf_rele+0xfe0/0x16cc xfs_buf_relse fs/xfs/xfs_buf.h:286 [inline] xfs_buf_ioend+0x4f8/0x92c fs/xfs/xfs_buf.c:1339 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1397 xfs_buf_item_unpin+0x308/0xc58 fs/xfs/xfs_buf_item.c:549 xfs_trans_committed_bulk+0x2d8/0x73c fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x210/0xf18 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 903 hardirqs last enabled at (903): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (903): [] __schedule+0x10b8/0x1d84 kernel/sched/core.c:6557 hardirqs last disabled at (902): [] __schedule+0x2a8/0x1d84 kernel/sched/core.c:6450 softirqs last enabled at (870): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (868): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ODEBUG: active_state active (active state 1) object type: rcu_head hint: 0x0 WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline] WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 Modules linked in: CPU: 1 PID: 1934 Comm: kworker/1:1H Tainted: G B W 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop0 xlog_ioend_work pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:509 [inline] pc : debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 lr : debug_print_object lib/debugobjects.c:509 [inline] lr : debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 sp : ffff8000236d7260 x29: ffff8000236d7260 x28: 1fffe00019ae9360 x27: dfff800000000000 x26: 1fffe00019ae9360 x25: ffff0000cd749b04 x24: 0000000000000000 x23: ffff80001288b3d8 x22: 0000000000000000 x21: ffff8000123be600 x20: 0000000000000001 x19: ffff80001288b4c0 x18: ffff8000236d7060 x17: 65685f756372203a x16: ffff800012253e1c x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : 0c2e3eb7a7109400 x8 : 0c2e3eb7a7109400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000236d6b58 x4 : ffff800015813880 x3 : ffff80000ab36c2c x2 : ffff0001b45a1cd0 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object lib/debugobjects.c:509 [inline] debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 debug_rcu_head_queue kernel/rcu/rcu.h:190 [inline] call_rcu+0x68/0xa40 kernel/rcu/tree.c:2783 xfs_buf_free+0x270/0x5fc fs/xfs/xfs_buf.c:321 xfs_buf_rele+0xfe0/0x16cc xfs_buf_relse fs/xfs/xfs_buf.h:286 [inline] xfs_buf_ioend+0x4f8/0x92c fs/xfs/xfs_buf.c:1339 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1397 xfs_buf_item_unpin+0x308/0xc58 fs/xfs/xfs_buf_item.c:549 xfs_trans_committed_bulk+0x2d8/0x73c fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x210/0xf18 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 903 hardirqs last enabled at (903): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (903): [] __schedule+0x10b8/0x1d84 kernel/sched/core.c:6557 hardirqs last disabled at (902): [] __schedule+0x2a8/0x1d84 kernel/sched/core.c:6450 softirqs last enabled at (870): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (868): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- rcu: call_rcu(): Double-freed CB 00000000fcb9bc32->0x0()!!! slab xfs_buf start ffff0000e04cc9c0 pointer offset 632 XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). ------------[ cut here ]------------ ODEBUG: activate active (active state 1) object type: rcu_head hint: 0x0 WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline] WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 Modules linked in: CPU: 1 PID: 1934 Comm: kworker/1:1H Tainted: G B W 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop0 xlog_ioend_work pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:509 [inline] pc : debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 lr : debug_print_object lib/debugobjects.c:509 [inline] lr : debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 sp : ffff8000236d7260 x29: ffff8000236d7260 x28: ffff800019ac7000 x27: 1fffe00018eb6c4f x26: dfff800000000000 x25: ffff80001288b3d8 x24: 0000000000000000 x23: ffff8000123be600 x22: 0000000000000001 x21: ffff80001288b4c0 x20: ffff8000123be600 x19: ffff0000dde75c78 x18: 1fffe000368b4376 x17: 6820646165685f75 x16: ffff8000121a2440 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : 0c2e3eb7a7109400 x8 : 0c2e3eb7a7109400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000236d6b58 x4 : ffff800015813880 x3 : ffff800008355990 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object lib/debugobjects.c:509 [inline] debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 debug_rcu_head_queue kernel/rcu/rcu.h:189 [inline] call_rcu+0x50/0xa40 kernel/rcu/tree.c:2783 xfs_buf_free+0x270/0x5fc fs/xfs/xfs_buf.c:321 xfs_buf_rele+0xfe0/0x16cc xfs_buf_relse fs/xfs/xfs_buf.h:286 [inline] xfs_buf_ioend+0x4f8/0x92c fs/xfs/xfs_buf.c:1339 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1397 xfs_buf_item_unpin+0x308/0xc58 fs/xfs/xfs_buf_item.c:549 xfs_trans_committed_bulk+0x2d8/0x73c fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x210/0xf18 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 903 hardirqs last enabled at (903): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (903): [] __schedule+0x10b8/0x1d84 kernel/sched/core.c:6557 hardirqs last disabled at (902): [] __schedule+0x2a8/0x1d84 kernel/sched/core.c:6450 softirqs last enabled at (870): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (868): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ODEBUG: active_state active (active state 1) object type: rcu_head hint: 0x0 WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline] WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 Modules linked in: CPU: 1 PID: 1934 Comm: kworker/1:1H Tainted: G B W 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop0 xlog_ioend_work pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:509 [inline] pc : debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 lr : debug_print_object lib/debugobjects.c:509 [inline] lr : debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 sp : ffff8000236d7260 x29: ffff8000236d7260 x28: 1fffe00018eb6c4f x27: dfff800000000000 x26: 1fffe00018eb6c4f x25: ffff0000c75b627c x24: 0000000000000000 x23: ffff80001288b3d8 x22: 0000000000000000 x21: ffff8000123be600 x20: 0000000000000001 x19: ffff80001288b4c0 x18: 1fffe000368b4376 x17: 65685f756372203a x16: ffff800012253e1c x15: 6a626f2029312065 x14: 7461747320657669 x13: 205d343339315420 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : 0c2e3eb7a7109400 x8 : 0c2e3eb7a7109400 x7 : 205b5d3437313934 x6 : ffff80000834ffd4 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000ab36c2c x2 : ffff0001b45a1cd0 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object lib/debugobjects.c:509 [inline] debug_object_active_state+0x314/0x3e8 lib/debugobjects.c:957 debug_rcu_head_queue kernel/rcu/rcu.h:190 [inline] call_rcu+0x68/0xa40 kernel/rcu/tree.c:2783 xfs_buf_free+0x270/0x5fc fs/xfs/xfs_buf.c:321 xfs_buf_rele+0xfe0/0x16cc xfs_buf_relse fs/xfs/xfs_buf.h:286 [inline] xfs_buf_ioend+0x4f8/0x92c fs/xfs/xfs_buf.c:1339 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1397 xfs_buf_item_unpin+0x308/0xc58 fs/xfs/xfs_buf_item.c:549 xfs_trans_committed_bulk+0x2d8/0x73c fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x210/0xf18 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 903 hardirqs last enabled at (903): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (903): [] __schedule+0x10b8/0x1d84 kernel/sched/core.c:6557 hardirqs last disabled at (902): [] __schedule+0x2a8/0x1d84 kernel/sched/core.c:6450 softirqs last enabled at (870): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (868): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- rcu: call_rcu(): Double-freed CB 000000009bc21e32->xfs_buf_free_callback+0x0/0xa0()!!! slab xfs_buf start ffff0000dde75a00 pointer offset 632 XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). ------------[ cut here ]------------ ODEBUG: activate active (active state 1) object type: rcu_head hint: 0x0 WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_print_object lib/debugobjects.c:509 [inline] WARNING: CPU: 1 PID: 1934 at lib/debugobjects.c:512 debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 Modules linked in: CPU: 1 PID: 1934 Comm: kworker/1:1H Tainted: G B W 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: xfs-log/loop0 xlog_ioend_work pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:509 [inline] pc : debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 lr : debug_print_object lib/debugobjects.c:509 [inline] lr : debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 sp : ffff8000236d7260 x29: ffff8000236d7260 x28: ffff800019ac7000 x27: 1fffe00019cc874b x26: dfff800000000000 x25: ffff80001288b3d8 x24: 0000000000000000 x23: ffff8000123be600 x22: 0000000000000001 x21: ffff80001288b4c0 x20: ffff8000123be600 x19: ffff0000dde022f8 x18: 1fffe000368b4376 x17: 6820646165685f75 x16: ffff8000121a2440 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : 0c2e3eb7a7109400 x8 : 0c2e3eb7a7109400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000236d6b58 x4 : ffff800015813880 x3 : ffff800008355990 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object lib/debugobjects.c:509 [inline] debug_object_activate+0x4d8/0x610 lib/debugobjects.c:681 debug_rcu_head_queue kernel/rcu/rcu.h:189 [inline] call_rcu+0x50/0xa40 kernel/rcu/tree.c:2783 xfs_buf_free+0x270/0x5fc fs/xfs/xfs_buf.c:321 xfs_buf_rele+0xfe0/0x16cc xfs_buf_relse fs/xfs/xfs_buf.h:286 [inline] xfs_buf_ioend+0x4f8/0x92c fs/xfs/xfs_buf.c:1339 xfs_buf_ioend_fail+0x78/0x90 fs/xfs/xfs_buf.c:1397 xfs_buf_item_unpin+0x308/0xc58 fs/xfs/xfs_buf_item.c:549 xfs_trans_committed_bulk+0x2d8/0x73c fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x210/0xf18 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x868/0x16f4 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 903 hardirqs last enabled at (903): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (903): [] __schedule+0x10b8/0x1d84 kernel/sched/core.c:6557 hardirqs last disabled at (902): [] __schedule+0x2a8/0x1d84 kernel/sched/core.c:6450 softirqs last enabled at (870): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (868): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- rcu: call_rcu(): Double-freed CB 000000003d93513e->xfs_buf_free_callback+0x0/0xa0()!!! slab xfs_buf start ffff0000dde02080 pointer offset 632 XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s). XFS (loop0): log I/O error -5 XFS (loop0): Filesystem has been shut down due to log error (0x2). XFS (loop0): Please unmount the filesystem and rectify the problem(s).