ERROR: (device loop2): remounting filesystem as read-only xtLookup: xtSearch returned -5 ERROR: (device loop2): xtSearch: XT_GETPAGE: xtree page corrupt ERROR: (device loop2): xtTruncate: XT_GETPAGE: xtree page corrupt BUG at fs/jfs/jfs_txnmgr.c:528 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:528! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4427 Comm: syz.2.39 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:txEnd+0x51a/0x520 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cc fe ff ff e8 55 7a aa fe 48 c7 c7 c0 37 42 8a 48 c7 c6 b9 33 42 8a ba 10 02 00 00 48 c7 c1 00 38 42 8a e8 a6 7e d1 06 <0f> 0b 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 60 41 89 RSP: 0018:ffffc900033ef400 EFLAGS: 00010246 RAX: 0000000000000036 RBX: ffff88802b7c3000 RCX: 8694b1b1ccd50700 RDX: ffffc90005f91000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900025e1112 R08: dffffc0000000000 R09: fffff5200067dde5 R10: fffff5200067dde5 R11: 1ffff9200067dde4 R12: 1ffff920004bc227 R13: dffffc0000000000 R14: ffffc900025e1138 R15: 0000000000000001 FS: 00007f328cc2d6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000795ff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_truncate_nolock+0x247/0x2d0 fs/jfs/inode.c:402 jfs_truncate fs/jfs/inode.c:423 [inline] jfs_write_failed+0x119/0x190 fs/jfs/inode.c:312 jfs_direct_IO+0x1ef/0x220 fs/jfs/inode.c:354 generic_file_direct_write+0x22c/0x490 mm/filemap.c:3687 __generic_file_write_iter+0x2b1/0x4e0 mm/filemap.c:3869 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 iter_file_splice_write+0x65f/0xc40 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe1/0x130 fs/splice.c:936 splice_direct_to_actor+0x4dc/0xb50 fs/splice.c:891 do_splice_direct+0x1b9/0x2c0 fs/splice.c:979 do_sendfile+0x5d5/0xec0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x13b/0x190 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f328e9c5fc9 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:00007f328cc2d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f328ec1cfa0 RCX: 00007f328e9c5fc9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f328ea48f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020fffe85 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f328ec1d038 R14: 00007f328ec1cfa0 R15: 00007ffd7105b548 Modules linked in: ---[ end trace 38171ef0afe852fa ]--- RIP: 0010:txEnd+0x51a/0x520 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cc fe ff ff e8 55 7a aa fe 48 c7 c7 c0 37 42 8a 48 c7 c6 b9 33 42 8a ba 10 02 00 00 48 c7 c1 00 38 42 8a e8 a6 7e d1 06 <0f> 0b 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 60 41 89 RSP: 0018:ffffc900033ef400 EFLAGS: 00010246 RAX: 0000000000000036 RBX: ffff88802b7c3000 RCX: 8694b1b1ccd50700 RDX: ffffc90005f91000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900025e1112 R08: dffffc0000000000 R09: fffff5200067dde5 R10: fffff5200067dde5 R11: 1ffff9200067dde4 R12: 1ffff920004bc227 R13: dffffc0000000000 R14: ffffc900025e1138 R15: 0000000000000001 FS: 00007f328cc2d6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000795ff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400