BUG at fs/jfs/jfs_txnmgr.c:662 assert(last) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:662! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 8261 Comm: syz.3.569 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:txLock+0x1b92/0x1cc0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 6e 05 6d fe 48 c7 c7 a0 e5 ea 8b 48 c7 c6 99 e1 ea 8b ba 96 02 00 00 48 c7 c1 c0 e6 ea 8b e8 cf 3e d0 fd 90 <0f> 0b e8 47 05 6d fe 48 c7 c7 80 e7 ea 8b e8 bb 3e d0 fd 48 c7 c7 RSP: 0018:ffffc90002ff7400 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 516b3c5ea106e700 RDX: ffffc900106f9000 RSI: 0000000000018db1 RDI: 0000000000018db2 RBP: ffffc90002ff7530 R08: ffffc90002ff7187 R09: 1ffff920005fee30 R10: dffffc0000000000 R11: fffff520005fee31 R12: 1ffff92000523400 R13: ffffc9000291a000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ffa34b026c0(0000) GS:ffff8881256f5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000016000 CR3: 000000007673f000 CR4: 0000000000350ef0 Call Trace: xtTruncate+0x8bd/0x2f20 fs/jfs/jfs_xtree.c:2337 jfs_truncate_nolock+0x19a/0x340 fs/jfs/inode.c:396 jfs_truncate fs/jfs/inode.c:420 [inline] jfs_write_failed fs/jfs/inode.c:295 [inline] jfs_write_end+0x16f/0x1f0 fs/jfs/inode.c:322 generic_perform_write+0x620/0x8f0 mm/filemap.c:4335 generic_file_write_iter+0x14a/0x680 mm/filemap.c:4457 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x61d/0xb90 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x199/0x230 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffa33b9aeb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffa34b02028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007ffa33e16180 RCX: 00007ffa33b9aeb9 RDX: 00000000200000c1 RSI: 00002000000000c0 RDI: 0000000000000006 RBP: 00007ffa33c08c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000009000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffa33e16218 R14: 00007ffa33e16180 R15: 00007ffc93795d68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txLock+0x1b92/0x1cc0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 6e 05 6d fe 48 c7 c7 a0 e5 ea 8b 48 c7 c6 99 e1 ea 8b ba 96 02 00 00 48 c7 c1 c0 e6 ea 8b e8 cf 3e d0 fd 90 <0f> 0b e8 47 05 6d fe 48 c7 c7 80 e7 ea 8b e8 bb 3e d0 fd 48 c7 c7 RSP: 0018:ffffc90002ff7400 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 516b3c5ea106e700 RDX: ffffc900106f9000 RSI: 0000000000018db1 RDI: 0000000000018db2 RBP: ffffc90002ff7530 R08: ffffc90002ff7187 R09: 1ffff920005fee30 R10: dffffc0000000000 R11: fffff520005fee31 R12: 1ffff92000523400 R13: ffffc9000291a000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ffa34b026c0(0000) GS:ffff8881256f5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1fe3d62000 CR3: 000000007673f000 CR4: 0000000000350ef0