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: 0 UID: 0 PID: 6713 Comm: syz.4.10 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 : ffff8000a2f36ce0 x29: ffff8000a2f36d00 x28: 1ffff00013780200 x27: 0000000000000048 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000004 x23: ffff80009bc01000 x22: ffff80009bc01000 x21: 0000000000000001 x20: ffff80009bc01120 x19: dfff800000000000 x18: 1fffe0003377d090 x17: ffff80008f86e000 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1ffff000145e6d18 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000012ae8 x9 : 0b5ffeaa43c46000 x8 : 0b5ffeaa43c46000 x7 : ffff80008049ea88 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000807f1260 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+0xa4/0x12c fs/buffer.c:2256 jfs_write_begin+0x44/0x88 fs/jfs/inode.c:306 generic_perform_write+0x244/0x7bc mm/filemap.c:4314 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4431 generic_file_write_iter+0x10c/0x47c mm/filemap.c:4457 do_iter_readv_writev+0x4bc/0x720 fs/read_write.c:-1 vfs_writev+0x29c/0x7cc fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2 fs/read_write.c:1202 [inline] __arm64_sys_pwritev2+0x1bc/0x2cc fs/read_write.c:1202 __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/0x26c 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: 9004bb23 91348063 528052c2 97919201 (d4210000) ---[ end trace 0000000000000000 ]---