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] PREEMPT SMP Modules linked in: CPU: 1 PID: 10443 Comm: syz.0.819 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : txLock+0x1714/0x18ac fs/jfs/jfs_txnmgr.c:662 lr : txLock+0x1714/0x18ac fs/jfs/jfs_txnmgr.c:662 sp : ffff8000221270e0 x29: ffff800022127110 x28: 0000000000000048 x27: 0000000000008001 x26: 0000000000000000 x25: 0000000000000000 x24: 000000000000000a x23: ffff80002022a000 x22: ffff80002022a000 x21: dfff800000000000 x20: ffff80002022a2d0 x19: 1ffff00004045400 x18: 1fffe00033e7697e x17: ffff80001537d000 x16: ffff800011b90080 x15: 0000000040000000 x14: 0000000000000001 x13: 1ffff00004424d84 x12: 0000000000080000 x11: 000000000003e861 x10: ffff800025ab9000 x9 : 4305a03a6dae8f00 x8 : 4305a03a6dae8f00 x7 : ffff80000825ab50 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000a927f5c x2 : ffff00019f3b4d10 x1 : 0000000100000000 x0 : 000000000000002b Call trace: txLock+0x1714/0x18ac fs/jfs/jfs_txnmgr.c:662 diWrite+0x354/0x1268 fs/jfs/jfs_imap.c:654 txCommit+0x608/0x3d34 fs/jfs/jfs_txnmgr.c:1256 jfs_commit_inode+0x274/0x498 fs/jfs/inode.c:114 extAlloc+0x9e0/0xda0 fs/jfs/jfs_extent.c:172 jfs_get_block+0x2cc/0x8cc fs/jfs/inode.c:254 __block_write_begin_int+0x3d8/0x13c0 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2102 jfs_write_begin+0x44/0x88 fs/jfs/inode.c:310 generic_perform_write+0x240/0x508 mm/filemap.c:3862 __generic_file_write_iter+0x130/0x250 mm/filemap.c:3960 generic_file_write_iter+0xb4/0x2b0 mm/filemap.c:3989 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x3c8/0x7c8 fs/read_write.c:584 ksys_write+0x12c/0x228 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: 90043b63 91380063 528052c2 979c9d8d (d4210000) ---[ end trace 0000000000000000 ]---