ERROR: (device loop0): xtTruncate: XT_GETPAGE: xtree page corrupt ERROR: (device loop0): remounting filesystem as read-only 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: 5455 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller-00196-g57d88e8a5974 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:txEnd+0x552/0x560 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cd fe ff ff e8 4d 71 7b fe 48 c7 c7 40 24 46 8b 48 c7 c6 39 20 46 8b ba 10 02 00 00 48 c7 c1 80 24 46 8b e8 3e 7d a9 07 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 41 57 41 56 41 55 41 RSP: 0018:ffffc9000587f5d0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000001 RCX: 57949638f9f7eb00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff920004b8227 R08: ffffffff81702afc R09: 1ffff92000b0fe24 R10: dffffc0000000000 R11: fffff52000b0fe25 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900025c1138 R15: 0000000000000110 FS: 00007f8201f906c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560c4a6b9000 CR3: 000000007e105000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_truncate_nolock+0x2d8/0x370 fs/jfs/inode.c:391 jfs_truncate+0xc7/0x140 fs/jfs/inode.c:412 jfs_setattr+0x522/0x770 fs/jfs/file.c:119 notify_change+0xb95/0xe60 fs/attr.c:499 do_truncate+0x21c/0x300 fs/open.c:66 handle_truncate fs/namei.c:3298 [inline] do_open fs/namei.c:3643 [inline] path_openat+0x2955/0x3180 fs/namei.c:3796 do_filp_open+0x230/0x480 fs/namei.c:3823 do_sys_openat2+0x13a/0x1c0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_open fs/open.c:1445 [inline] __se_sys_open fs/open.c:1441 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f820127cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8201f900c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f820139bf80 RCX: 00007f820127cae9 RDX: 0000000000000000 RSI: 000000000014527e RDI: 0000000020000040 RBP: 00007f82012c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f820139bf80 R15: 00007ffc2b5bd1e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x552/0x560 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cd fe ff ff e8 4d 71 7b fe 48 c7 c7 40 24 46 8b 48 c7 c6 39 20 46 8b ba 10 02 00 00 48 c7 c1 80 24 46 8b e8 3e 7d a9 07 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 41 57 41 56 41 55 41 RSP: 0018:ffffc9000587f5d0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000001 RCX: 57949638f9f7eb00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff920004b8227 R08: ffffffff81702afc R09: 1ffff92000b0fe24 R10: dffffc0000000000 R11: fffff52000b0fe25 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900025c1138 R15: 0000000000000110 FS: 00007f8201f906c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560c4a6b9000 CR3: 000000007e105000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400