loop0: detected capacity change from 0 to 32768 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: 1 UID: 0 PID: 7593 Comm: syz.0.249 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 17 7c 7e fe 48 c7 c7 a0 2e 25 8b 48 c7 c6 99 2a 25 8b ba 96 02 00 00 48 c7 c1 c0 2f 25 8b e8 f8 1f e6 fd 90 <0f> 0b e8 f0 7b 7e fe 48 c7 c7 80 30 25 8b e8 e4 1f e6 fd 48 c7 c7 RSP: 0018:ffffc90006a7efe0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: eb16df016ce7f700 RDX: ffffc900059f2000 RSI: 0000000000004b3b RDI: 0000000000004b3c RBP: ffffc90006a7f108 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000d4fdad R12: 1ffff9200069f400 R13: ffffc900034fa000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f37b1e1e6c0(0000) GS:ffff888126dee000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 000000005c032000 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:0x7f37b3bbf749 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:00007f37b1e1e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f37b3e15fa0 RCX: 00007f37b3bbf749 RDX: 000000000000ffc9 RSI: 0000200000000140 RDI: 000000000000000b RBP: 00007f37b3c43f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f37b3e16038 R14: 00007f37b3e15fa0 R15: 00007ffd45dbe2b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txLock+0x1b79/0x1cb0 fs/jfs/jfs_txnmgr.c:662 Code: e9 6a f8 ff ff e8 17 7c 7e fe 48 c7 c7 a0 2e 25 8b 48 c7 c6 99 2a 25 8b ba 96 02 00 00 48 c7 c1 c0 2f 25 8b e8 f8 1f e6 fd 90 <0f> 0b e8 f0 7b 7e fe 48 c7 c7 80 30 25 8b e8 e4 1f e6 fd 48 c7 c7 RSP: 0018:ffffc90006a7efe0 EFLAGS: 00010246 RAX: 000000000000002b RBX: 0000000000000000 RCX: eb16df016ce7f700 RDX: ffffc900059f2000 RSI: 0000000000004b3b RDI: 0000000000004b3c RBP: ffffc90006a7f108 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000d4fdad R12: 1ffff9200069f400 R13: ffffc900034fa000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f37b1e1e6c0(0000) GS:ffff888126dee000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 000000005c032000 CR4: 00000000003526f0