ERROR: (device loop5): remounting filesystem as read-only ERROR: (device loop5): 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: 8751 Comm: syz.5.367 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 : ffff8000a0e77620 x29: ffff8000a0e77620 x28: 1ffff00013680644 x27: ffff80008fb96000 x26: 1ffff00011f72cbc x25: dfff800000000000 x24: 0000000000000002 x23: 1ffff00013680649 x22: 0000000000000004 x21: ffff80009b403248 x20: 0000000000000002 x19: ffff0000d81cf000 x18: 00000000ffffffff x17: ffff800093303000 x16: ffff800082debf80 x15: 0000000000000001 x14: 1ffff000141cee04 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : d4c99793d87a9a00 x8 : d4c99793d87a9a00 x7 : ffff800080565240 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000002 x1 : 0000000100000001 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:4176 __generic_file_write_iter+0x10c/0x204 mm/filemap.c:4345 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+0x130/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:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: f004b063 91108063 52804222 9792e3f8 (d4210000) ---[ end trace 0000000000000000 ]---