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: 7139 Comm: syz.3.186 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:txLock+0x1b92/0x1cc0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 ee bd 6f fe 48 c7 c7 60 e1 8a 8b 48 c7 c6 59 dd 8a 8b ba 96 02 00 00 48 c7 c1 80 e2 8a 8b e8 0f 9b d2 fd 90 <0f> 0b e8 c7 bd 6f fe 48 c7 c7 40 e3 8a 8b e8 fb 9a d2 fd 48 c7 c7 RSP: 0018:ffffc900069072e0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 48e53c4c93c2ab00 RDX: ffffc90010038000 RSI: 0000000000002dbf RDI: 0000000000002dc0 RBP: ffffc90006907408 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000d20e0d R12: 1ffff9200069c400 R13: ffffc900034e2000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f1895f156c0(0000) GS:ffff888126335000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007effd3bb3000 CR3: 0000000063e18000 CR4: 00000000003526f0 Call Trace: diWrite+0x444/0x1f40 fs/jfs/jfs_imap.c:654 txCommit+0x869/0x5410 fs/jfs/jfs_txnmgr.c:1256 jfs_create+0x8f4/0xb10 fs/jfs/namei.c:157 lookup_open fs/namei.c:4489 [inline] open_last_lookups fs/namei.c:4589 [inline] path_openat+0x13b4/0x38a0 fs/namei.c:4833 do_file_open+0x23e/0x4a0 fs/namei.c:4865 do_sys_openat2+0x113/0x200 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1897cdc819 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:00007f1895f15028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f1897f56090 RCX: 00007f1897cdc819 RDX: 000000000000275a RSI: 0000200000000100 RDI: ffffffffffffff9c RBP: 00007f1897d72c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1897f56128 R14: 00007f1897f56090 R15: 00007fff6e422c28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txLock+0x1b92/0x1cc0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 ee bd 6f fe 48 c7 c7 60 e1 8a 8b 48 c7 c6 59 dd 8a 8b ba 96 02 00 00 48 c7 c1 80 e2 8a 8b e8 0f 9b d2 fd 90 <0f> 0b e8 c7 bd 6f fe 48 c7 c7 40 e3 8a 8b e8 fb 9a d2 fd 48 c7 c7 RSP: 0018:ffffc900069072e0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: 48e53c4c93c2ab00 RDX: ffffc90010038000 RSI: 0000000000002dbf RDI: 0000000000002dc0 RBP: ffffc90006907408 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000d20e0d R12: 1ffff9200069c400 R13: ffffc900034e2000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f1895f156c0(0000) GS:ffff888126335000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007effd3bb3000 CR3: 0000000063e18000 CR4: 00000000003526f0