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 PTI CPU: 0 UID: 0 PID: 12150 Comm: syz.3.773 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:txLock+0x1b79/0x1cb0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 a7 7b 7e fe 48 c7 c7 20 2f 25 8b 48 c7 c6 19 2b 25 8b ba 96 02 00 00 48 c7 c1 40 30 25 8b e8 88 1f e6 fd 90 <0f> 0b e8 80 7b 7e fe 48 c7 c7 00 31 25 8b e8 74 1f e6 fd 48 c7 c7 RSP: 0000:ffffc90005026fe0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: f8abc1a505a11200 RDX: ffffc9002588f000 RSI: 0000000000003fb1 RDI: 0000000000003fb2 RBP: ffffc90005027108 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000a04dad R12: 1ffff920006a1400 R13: ffffc9000350a000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f07680356c0(0000) GS:ffff888126cee000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81c0e9f000 CR3: 000000006f3d0000 CR4: 00000000003526f0 Call Trace: diWrite+0x444/0x1f40 fs/jfs/jfs_imap.c:654 txCommit+0x852/0x5430 fs/jfs/jfs_txnmgr.c:1256 jfs_commit_inode+0x2ef/0x530 fs/jfs/inode.c:114 extAlloc+0xc3b/0xfb0 fs/jfs/jfs_extent.c:177 jfs_get_block+0x346/0xab0 fs/jfs/inode.c:254 __block_write_begin_int+0x6b5/0x1900 fs/buffer.c:2145 block_write_begin+0x8d/0x120 fs/buffer.c:2256 jfs_write_begin+0x35/0x80 fs/jfs/inode.c:306 generic_perform_write+0x29d/0x8c0 mm/filemap.c:4314 generic_file_write_iter+0x118/0x550 mm/filemap.c:4457 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5d5/0xb40 fs/read_write.c:686 ksys_write+0x14b/0x260 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0769def749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0768035038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f076a046090 RCX: 00007f0769def749 RDX: 000000000000ffc9 RSI: 0000200000000140 RDI: 0000000000000007 RBP: 00007f0769e73f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f076a046128 R14: 00007f076a046090 R15: 00007ffdfe796ea8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txLock+0x1b79/0x1cb0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 a7 7b 7e fe 48 c7 c7 20 2f 25 8b 48 c7 c6 19 2b 25 8b ba 96 02 00 00 48 c7 c1 40 30 25 8b e8 88 1f e6 fd 90 <0f> 0b e8 80 7b 7e fe 48 c7 c7 00 31 25 8b e8 74 1f e6 fd 48 c7 c7 RSP: 0000:ffffc90005026fe0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: f8abc1a505a11200 RDX: ffffc9002588f000 RSI: 0000000000003fb1 RDI: 0000000000003fb2 RBP: ffffc90005027108 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000a04dad R12: 1ffff920006a1400 R13: ffffc9000350a000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f07680356c0(0000) GS:ffff888126cee000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81c0e9f000 CR3: 000000006f3d0000 CR4: 00000000003526f0