BUG at fs/jfs/jfs_txnmgr.c:661 assert(last) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:661! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5301 Comm: syz.0.153 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:txLock+0x1a0d/0x1b10 fs/jfs/jfs_txnmgr.c:661 Code: fe e9 48 f8 ff ff e8 a2 51 aa fe 48 c7 c7 c0 5f 42 8a 48 c7 c6 b9 5b 42 8a ba 95 02 00 00 48 c7 c1 c0 60 42 8a e8 73 74 d1 06 <0f> 0b e8 7c 51 aa fe 48 c7 c7 80 61 42 8a e8 60 74 d1 06 48 c7 c7 RSP: 0018:ffffc9000319e8f0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: f01d9317120f8c00 RDX: ffffc90003cd3000 RSI: 0000000000053c71 RDI: 0000000000053c72 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10172067b0 R10: ffffed10172067b0 R11: 1ffff110172067af R12: 0000000000000000 R13: ffffc90002802000 R14: ffffc90002802000 R15: 1ffff92000500400 FS: 00007ffbfa2cb6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f63565b6000 CR3: 0000000079dcb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: diWrite+0x43c/0x1610 fs/jfs/jfs_imap.c:654 txCommit+0x84b/0x51c0 fs/jfs/jfs_txnmgr.c:1255 jfs_commit_inode+0x2ec/0x520 fs/jfs/inode.c:108 extAlloc+0xb97/0xf30 fs/jfs/jfs_extent.c:175 jfs_get_block+0x343/0xab0 fs/jfs/inode.c:258 nobh_write_begin+0x3d5/0xe80 fs/buffer.c:2650 jfs_write_begin+0x3d/0x80 fs/jfs/inode.c:322 generic_perform_write+0x2aa/0x530 mm/filemap.c:3785 __generic_file_write_iter+0x25f/0x4e0 mm/filemap.c:3912 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 __kernel_write+0x4f9/0x930 fs/read_write.c:539 __dump_emit+0x243/0x360 fs/coredump.c:943 dump_user_range+0x84/0x340 fs/coredump.c:1017 elf_core_dump+0x2ff7/0x3530 fs/binfmt_elf.c:2285 do_coredump+0x1419/0x2960 fs/coredump.c:894 get_signal+0x40a/0x12c0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1504 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7ffbfc03d179 Code: f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 27 01 00 00 fd 74 0f c5 fd d7 c1 85 c0 74 5b f3 0f bc c0 e9 30 01 00 00 66 RSP: 002b:00007ffbfa2cae68 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 00007ffbfa2caef0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000200000000240 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000240 R13: 00007ffbfa2caeb0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0544a23f4e103306 ]--- RIP: 0010:txLock+0x1a0d/0x1b10 fs/jfs/jfs_txnmgr.c:661 Code: fe e9 48 f8 ff ff e8 a2 51 aa fe 48 c7 c7 c0 5f 42 8a 48 c7 c6 b9 5b 42 8a ba 95 02 00 00 48 c7 c1 c0 60 42 8a e8 73 74 d1 06 <0f> 0b e8 7c 51 aa fe 48 c7 c7 80 61 42 8a e8 60 74 d1 06 48 c7 c7 RSP: 0018:ffffc9000319e8f0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: f01d9317120f8c00 RDX: ffffc90003cd3000 RSI: 0000000000053c71 RDI: 0000000000053c72 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10172067b0 R10: ffffed10172067b0 R11: 1ffff110172067af R12: 0000000000000000 R13: ffffc90002802000 R14: ffffc90002802000 R15: 1ffff92000500400 FS: 00007ffbfa2cb6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4acef60ad8 CR3: 0000000079dcb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400