ERROR: (device loop2): remounting filesystem as read-only ERROR: (device loop2): xtTruncate: stack overrun! BUG at fs/jfs/jfs_txnmgr.c:529 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:529! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7603 Comm: syz.2.186 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 : txEnd+0x4a4/0x4f0 fs/jfs/jfs_txnmgr.c:529 lr : txEnd+0x4a4/0x4f0 fs/jfs/jfs_txnmgr.c:529 sp : ffff8000a07f7620 x29: ffff8000a07f7620 x28: 1ffff00013680644 x27: ffff80008fbb6000 x26: 1ffff00011f76d34 x25: dfff800000000000 x24: 0000000000000002 x23: 1ffff00013680649 x22: 0000000000000004 x21: ffff80009b403248 x20: 0000000000000002 x19: ffff0000c5f20800 x18: 00000000ffffffff x17: ffff800093325000 x16: ffff800082dee240 x15: 0000000000000001 x14: 1ffff000140fee40 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : 224312e303c63000 x8 : 224312e303c63000 x7 : ffff800080565bcc x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807d6fd0 x2 : 0000000000000002 x1 : 0000000000000001 x0 : 0000000000000036 Call trace: txEnd+0x4a4/0x4f0 fs/jfs/jfs_txnmgr.c:529 (P) jfs_truncate_nolock+0x298/0x2dc fs/jfs/inode.c:399 jfs_truncate fs/jfs/inode.c:420 [inline] jfs_write_failed+0x120/0x198 fs/jfs/inode.c:295 jfs_direct_IO+0x1a4/0x1d0 fs/jfs/inode.c:350 generic_file_direct_write+0x1a8/0x350 mm/filemap.c:4188 __generic_file_write_iter+0x10c/0x204 mm/filemap.c:4357 generic_file_write_iter+0x10c/0x47c mm/filemap.c:4397 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: 9004b063 912a8063 52804222 9792db0d (d4210000) ---[ end trace 0000000000000000 ]---