psci: CPU0 killed (polled 0 ms) ================================================================== BUG: KASAN: use-after-free in xlog_cil_pcp_dead+0xe8/0x468 fs/xfs/xfs_log_cil.c:1812 Read of size 8 at addr ffff0000cdb54828 by task kworker/1:0/22 CPU: 1 PID: 22 Comm: kworker/1:0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 Workqueue: events work_for_cpu_fn Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load8_noabort+0x2c/0x38 mm/kasan/report_generic.c:351 xlog_cil_pcp_dead+0xe8/0x468 fs/xfs/xfs_log_cil.c:1812 xfs_cpu_dead+0xa4/0xf8 fs/xfs/xfs_super.c:2260 cpuhp_invoke_callback+0x390/0x6dc kernel/cpu.c:192 __cpuhp_invoke_callback_range kernel/cpu.c:700 [inline] cpuhp_invoke_callback_range kernel/cpu.c:724 [inline] cpuhp_down_callbacks kernel/cpu.c:1157 [inline] _cpu_down+0x44c/0xb10 kernel/cpu.c:1218 __cpu_down_maps_locked+0x48/0x9c kernel/cpu.c:1249 work_for_cpu_fn+0x60/0x94 kernel/workqueue.c:5184 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Allocated by task 489: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xd8/0x180 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kmem_alloc+0x19c/0x49c fs/xfs/kmem.c:20 kmem_zalloc fs/xfs/kmem.h:69 [inline] xlog_cil_ctx_alloc fs/xfs/xfs_log_cil.c:104 [inline] xlog_cil_push_work+0x198/0x1f34 fs/xfs/xfs_log_cil.c:1194 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Freed by task 4329: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:516 ____kasan_slab_free+0x148/0x1b0 mm/kasan/common.c:237 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:245 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1729 [inline] slab_free_freelist_hook+0x16c/0x1e8 mm/slub.c:1755 slab_free mm/slub.c:3687 [inline] __kmem_cache_free+0xbc/0x21c mm/slub.c:3700 kfree+0xd0/0x1a8 mm/slab_common.c:988 kvfree+0x40/0x50 mm/util.c:627 kmem_free fs/xfs/kmem.h:62 [inline] xlog_cil_destroy+0xa8/0x120 fs/xfs/xfs_log_cil.c:1889 xlog_dealloc_log+0x34/0x1a0 fs/xfs/xfs_log.c:2115 xfs_log_unmount+0x174/0x1a0 fs/xfs/xfs_log.c:1111 xfs_unmountfs+0x1b0/0x250 fs/xfs/xfs_mount.c:1097 xfs_fs_put_super+0x74/0x268 fs/xfs/xfs_super.c:1118 generic_shutdown_super+0x138/0x32c fs/super.c:501 kill_block_super+0x78/0xe0 fs/super.c:1481 deactivate_locked_super+0xb4/0x128 fs/super.c:332 deactivate_super+0xe4/0x104 fs/super.c:363 cleanup_mnt+0x3a8/0x430 fs/namespace.c:1191 __cleanup_mnt+0x20/0x30 fs/namespace.c:1198 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000cdb54800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 40 bytes inside of 512-byte region [ffff0000cdb54800, ffff0000cdb54a00) The buggy address belongs to the physical page: page:00000000d3e92a0f refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10db54 head:00000000d3e92a0f order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000001 ffff0000c0002600 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000cdb54700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000cdb54780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000cdb54800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000cdb54880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000cdb54900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== Unable to handle kernel paging request at virtual address dfff800000000001 KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000001] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 22 Comm: kworker/1:0 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 Workqueue: events work_for_cpu_fn pstate: 02400005 (nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __list_splice include/linux/list.h:449 [inline] pc : list_splice_init include/linux/list.h:491 [inline] pc : xlog_cil_pcp_dead+0x2cc/0x468 fs/xfs/xfs_log_cil.c:1819 lr : list_splice_init include/linux/list.h:491 [inline] lr : xlog_cil_pcp_dead+0x2a0/0x468 fs/xfs/xfs_log_cil.c:1819 sp : ffff80001cc27970 x29: ffff80001cc27970 x28: ffff0000cdb54838 x27: ffff0000cdb54838 x26: 1fffff7ffdfd6e27 x25: fffffbffefeb7138 x24: ffff0000cdb54800 x23: dfff800000000000 x22: ffff0000d1a33000 x21: 0000000000000000 x20: fffffbffefeb7138 x19: fffffbffefeb7130 x18: 1fffe00033e7457e x17: ffff80001538d000 x16: ffff800011b9ea98 x15: 0000000040000000 x14: 0000000000000001 x13: 1ffff00002ff216c x12: 0000000000000000 x11: ff00800009b5f854 x10: 0000000000000000 x9 : fffffbffefeb7140 x8 : 0000000000000001 x7 : ffff800011cfc160 x6 : ffff80000825ab48 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800009b5f86c x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000000 Call trace: __list_splice include/linux/list.h:447 [inline] list_splice_init include/linux/list.h:491 [inline] xlog_cil_pcp_dead+0x2cc/0x468 fs/xfs/xfs_log_cil.c:1819 xfs_cpu_dead+0xa4/0xf8 fs/xfs/xfs_super.c:2260 cpuhp_invoke_callback+0x390/0x6dc kernel/cpu.c:192 __cpuhp_invoke_callback_range kernel/cpu.c:700 [inline] cpuhp_invoke_callback_range kernel/cpu.c:724 [inline] cpuhp_down_callbacks kernel/cpu.c:1157 [inline] _cpu_down+0x44c/0xb10 kernel/cpu.c:1218 __cpu_down_maps_locked+0x48/0x9c kernel/cpu.c:1249 work_for_cpu_fn+0x60/0x94 kernel/workqueue.c:5184 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Code: 910022a8 91004269 d343fd08 f9400134 (38776908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 910022a8 add x8, x21, #0x8 4: 91004269 add x9, x19, #0x10 8: d343fd08 lsr x8, x8, #3 c: f9400134 ldr x20, [x9] * 10: 38776908 ldrb w8, [x8, x23] <-- trapping instruction