workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR bcachefs (loop1): flushing journal and stopping allocators, journal seq 13 bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 13 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.c:397! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7236 Comm: syz.1.269 Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:journal_entry_open fs/bcachefs/journal.c:397 [inline] RIP: 0010:__journal_res_get+0x25cd/0x27f0 fs/bcachefs/journal.c:639 Code: ff ff e9 2b db ff ff e8 b1 96 76 fd 41 be e9 f6 ff ff e9 1b db ff ff e8 81 16 31 07 e8 9c 96 76 fd 90 0f 0b e8 94 96 76 fd 90 <0f> 0b e8 8c 96 76 fd 90 0f 0b e8 84 96 76 fd 90 0f 0b e8 7c 96 76 RSP: 0018:ffffc9000b4d74c0 EFLAGS: 00010287 RAX: ffffffff844920fc RBX: 1ffff1100932951b RCX: 0000000000080000 RDX: ffffc9000bbf9000 RSI: 000000000001a1e0 RDI: 000000000001a1e1 RBP: ffffc9000b4d7790 R08: ffff88804994a9f7 R09: 1ffff1100932953e R10: dffffc0000000000 R11: ffffed100932953f R12: ffff888049949800 R13: 1ffff1100932953e R14: 0000000000000002 R15: 00000000007ffffe FS: 00007eff5b9f66c0(0000) GS:ffff888125cc6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3f7e98 CR3: 000000002d098000 CR4: 00000000003526f0 Call Trace: bch2_journal_res_get_slowpath+0xdc/0xaf0 fs/bcachefs/journal.c:734 bch2_journal_res_get+0x14f/0x1f0 fs/bcachefs/journal.h:401 __bch2_journal_meta+0x40/0x1d0 fs/bcachefs/journal.c:980 bch2_fs_journal_stop+0x1dd/0x440 fs/bcachefs/journal.c:1462 __bch2_fs_read_only+0x343/0x5b0 fs/bcachefs/super.c:306 __bch2_fs_read_write+0x518/0x590 fs/bcachefs/super.c:553 bch2_fs_reconfigure+0x29a/0x400 fs/bcachefs/fs.c:2681 reconfigure_super+0x224/0x890 fs/super.c:1077 do_remount fs/namespace.c:3314 [inline] path_mount+0xd18/0xfe0 fs/namespace.c:4112 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4321 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7eff5db900ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007eff5b9f5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007eff5b9f5ef0 RCX: 00007eff5db900ca RDX: 0000200000000180 RSI: 00002000000006c0 RDI: 0000000000000000 RBP: 0000200000000180 R08: 00007eff5b9f5ef0 R09: 0000000001a4243c R10: 0000000001a4243c R11: 0000000000000246 R12: 00002000000006c0 R13: 00007eff5b9f5eb0 R14: 0000000000000000 R15: 0000200000000580 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:journal_entry_open fs/bcachefs/journal.c:397 [inline] RIP: 0010:__journal_res_get+0x25cd/0x27f0 fs/bcachefs/journal.c:639 Code: ff ff e9 2b db ff ff e8 b1 96 76 fd 41 be e9 f6 ff ff e9 1b db ff ff e8 81 16 31 07 e8 9c 96 76 fd 90 0f 0b e8 94 96 76 fd 90 <0f> 0b e8 8c 96 76 fd 90 0f 0b e8 84 96 76 fd 90 0f 0b e8 7c 96 76 RSP: 0018:ffffc9000b4d74c0 EFLAGS: 00010287 RAX: ffffffff844920fc RBX: 1ffff1100932951b RCX: 0000000000080000 RDX: ffffc9000bbf9000 RSI: 000000000001a1e0 RDI: 000000000001a1e1 RBP: ffffc9000b4d7790 R08: ffff88804994a9f7 R09: 1ffff1100932953e R10: dffffc0000000000 R11: ffffed100932953f R12: ffff888049949800 R13: 1ffff1100932953e R14: 0000000000000002 R15: 00000000007ffffe FS: 00007eff5b9f66c0(0000) GS:ffff888125cc6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3f7e98 CR3: 000000002d098000 CR4: 00000000003526f0