BUG at fs/jfs/jfs_txnmgr.c:662 assert(last) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:662! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 8590 Comm: syz.6.339 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : txLock+0x1604/0x17a8 fs/jfs/jfs_txnmgr.c:662 lr : txLock+0x1604/0x17a8 fs/jfs/jfs_txnmgr.c:662 sp : ffff80009ea96e40 x29: ffff80009ea96e60 x28: 1ffff000136c4800 x27: 0000000000000048 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000006 x23: ffff80009b624000 x22: ffff80009b624000 x21: 0000000000000002 x20: ffff80009b6241b0 x19: dfff800000000000 x18: 00000000ffffffff x17: 0000072c00000001 x16: ffff800082debb40 x15: 0000000000000001 x14: 1ffff00013d52d44 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000000ef7c x9 : d7b93b2d2808ce00 x8 : d7b93b2d2808ce00 x7 : ffff8000805653c0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807d6834 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000002b Call trace: txLock+0x1604/0x17a8 fs/jfs/jfs_txnmgr.c:662 (P) diWrite+0x368/0x18d4 fs/jfs/jfs_imap.c:654 txCommit+0x5d0/0x3e00 fs/jfs/jfs_txnmgr.c:1256 jfs_commit_inode+0x274/0x498 fs/jfs/inode.c:114 extAlloc+0xa10/0xdc8 fs/jfs/jfs_extent.c:177 jfs_get_block+0x2bc/0x8b8 fs/jfs/inode.c:254 __block_write_begin_int+0x53c/0x15e8 fs/buffer.c:2145 block_write_begin+0xa0/0x128 fs/buffer.c:2256 jfs_write_begin+0x44/0x88 fs/jfs/inode.c:306 generic_perform_write+0x244/0x7bc mm/filemap.c:4242 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4359 generic_file_write_iter+0x10c/0x47c mm/filemap.c:4385 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x540/0xa3c fs/read_write.c:686 ksys_write+0x120/0x210 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:746 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: b004b063 911b8063 528052c2 9792dea4 (d4210000) ---[ end trace 0000000000000000 ]---