BUG at fs/jfs/jfs_txnmgr.c:2209 assert(mp->xflag & COMMIT_PAGE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:2209! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 8803 Comm: syz.4.352 Not tainted 6.11.0-syzkaller-10622-gaa486552a110 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:txForce fs/jfs/jfs_txnmgr.c:2209 [inline] RIP: 0010:txCommit+0x6b3b/0x6b90 fs/jfs/jfs_txnmgr.c:1315 Code: 8b 08 90 0f 0b e8 75 7a 67 fe 48 c7 c7 60 66 43 8c 48 c7 c6 59 62 43 8c ba a1 08 00 00 48 c7 c1 60 72 43 8c e8 76 6c 8b 08 90 <0f> 0b e8 ae 79 8e 08 e8 49 7a 67 fe 48 8b 7c 24 10 48 c7 c6 c0 73 RSP: 0018:ffffc90009427560 EFLAGS: 00010246 RAX: 000000000000003f RBX: 0000000000000000 RCX: ee42acf727656c00 RDX: ffffc900046b1000 RSI: 0000000000004592 RDI: 0000000000004593 RBP: ffffc900094277d0 R08: ffffffff81746c3c R09: 1ffff92001284e48 R10: dffffc0000000000 R11: fffff52001284e49 R12: ffff888077665360 R13: 000000000000005a R14: 0000000000000000 R15: ffffc900028c2000 FS: 00007fa0c57d36c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f26e698 CR3: 000000001b3ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: duplicateIXtree+0x33f/0x550 fs/jfs/jfs_imap.c:3019 diNewIAG fs/jfs/jfs_imap.c:2597 [inline] diAllocExt fs/jfs/jfs_imap.c:1905 [inline] diAllocAG+0x17dc/0x1e50 fs/jfs/jfs_imap.c:1669 diAlloc+0x1d2/0x1630 fs/jfs/jfs_imap.c:1590 ialloc+0x8f/0x900 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1c5/0xba0 fs/jfs/namei.c:225 vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4257 do_mkdirat+0x264/0x3a0 fs/namei.c:4280 __do_sys_mkdir fs/namei.c:4300 [inline] __se_sys_mkdir fs/namei.c:4298 [inline] __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4298 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa0c497df39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fa0c57d3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa0c4b35f80 RCX: 00007fa0c497df39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000640 RBP: 00007fa0c49f0216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa0c4b35f80 R15: 00007fff5daca878 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txForce fs/jfs/jfs_txnmgr.c:2209 [inline] RIP: 0010:txCommit+0x6b3b/0x6b90 fs/jfs/jfs_txnmgr.c:1315 Code: 8b 08 90 0f 0b e8 75 7a 67 fe 48 c7 c7 60 66 43 8c 48 c7 c6 59 62 43 8c ba a1 08 00 00 48 c7 c1 60 72 43 8c e8 76 6c 8b 08 90 <0f> 0b e8 ae 79 8e 08 e8 49 7a 67 fe 48 8b 7c 24 10 48 c7 c6 c0 73 RSP: 0018:ffffc90009427560 EFLAGS: 00010246 RAX: 000000000000003f RBX: 0000000000000000 RCX: ee42acf727656c00 RDX: ffffc900046b1000 RSI: 0000000000004592 RDI: 0000000000004593 RBP: ffffc900094277d0 R08: ffffffff81746c3c R09: 1ffff92001284e48 R10: dffffc0000000000 R11: fffff52001284e49 R12: ffff888077665360 R13: 000000000000005a R14: 0000000000000000 R15: ffffc900028c2000 FS: 00007fa0c57d36c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff9a9dd950 CR3: 000000001b3ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400