watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz-executor.0:3220] Modules linked in: CPU: 0 PID: 3220 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x59/0xb0 kernel/locking/spinlock.c:194 Code: df e8 cb cf 8b fe 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 3b 41 f7 c6 00 02 00 00 74 01 fb bf 01 00 00 00 c2 6f 88 fe 65 8b 05 23 be 6f 7d 85 c0 74 2c 65 48 8b 04 25 28 RSP: 0018:ffffc90002d135d8 EFLAGS: 00000206 RAX: 0000000000000001 RBX: ffffffff85012db8 RCX: 0000000000000000 RDX: 74f05d1b550d8fa7 RSI: ffffffff8331fdeb RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88800aa72000 R14: 0000000000000286 R15: 0000000000000000 FS: 00007f126d80b6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d721bf000 CR3: 000000010a328000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __debug_check_no_obj_freed lib/debugobjects.c:1042 [inline] debug_check_no_obj_freed+0x214/0x270 lib/debugobjects.c:1063 slab_free_hook mm/slub.c:1775 [inline] slab_free_freelist_hook mm/slub.c:1826 [inline] slab_free mm/slub.c:3809 [inline] __kmem_cache_free+0x256/0x440 mm/slub.c:3822 bch2_printbuf_exit+0x16/0x30 fs/bcachefs/printbuf.c:109 bch2_fsck_err+0x62d/0x930 fs/bcachefs/error.c:166 journal_validate_key+0x270/0x540 journal_entry_btree_keys_validate+0x70/0xa0 fs/bcachefs/journal_io.c:347 bch2_sb_clean_validate_late fs/bcachefs/sb-clean.c:32 [inline] bch2_read_superblock_clean+0x93/0x130 fs/bcachefs/sb-clean.c:157 bch2_fs_recovery+0x62/0x1310 fs/bcachefs/recovery.c:653 bch2_fs_start+0x2d8/0x3e0 fs/bcachefs/super.c:961 bch2_fs_open+0xe38/0x1470 fs/bcachefs/super.c:1948 bch2_mount+0x273/0x5b0 fs/bcachefs/fs.c:1829 legacy_get_tree+0x2d/0x60 fs/fs_context.c:638 vfs_get_tree+0x24/0xb0 fs/super.c:1750 do_new_mount+0x153/0x390 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3861 do_syscall_64+0x46/0xc0 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7f126ca7e66a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f126d80aef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f126d80af80 RCX: 00007f126ca7e66a RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 00007f126d80af40 RBP: 00000000200001c0 R08: 00007f126d80af80 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f126d80af40 R14: 0000000000005b61 R15: 0000000020001300 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 56 Comm: kworker/u4:2 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x6bc/0xa70 kernel/smp.c:844 Code: 5c 24 78 f7 c3 f8 ff ff ff 0f 85 2c 02 00 00 89 d8 4c 8b 34 c5 00 88 4e 83 4d 03 37 66 90 41 f7 46 08 01 00 00 00 74 0a f3 90 <41> 8b 46 08 a8 01 75 f6 ff c3 83 fb 08 72 a2 e9 fd 01 00 00 f3 0f RSP: 0000:ffffc900001c3c60 EFLAGS: 00000202 RAX: 0000000000000011 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000800 RSI: ffffffff83473898 RDI: ffffffff833366e9 RBP: ffffffff8103c4e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8103c4e0 R12: 0000000000000000 R13: ffff888237c35ae0 R14: ffff888237c35ae0 R15: ffff888237d2fd00 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f747d000000 CR3: 0000000003644000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3a/0x70 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1998 [inline] text_poke_bp_batch+0xea/0x310 arch/x86/kernel/alternative.c:2208 text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2406 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked kernel/jump_label.c:205 [inline] static_key_enable+0x40/0x60 kernel/jump_label.c:218 toggle_allocation_gate+0x3a/0x130 mm/kfence/core.c:830 process_one_work+0x200/0x450 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x26e/0x340 kernel/workqueue.c:2784 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:304