syz.0.0 (5104) use[ 60.320885][ T5104] loop0: detected capacity change from 0 to 32768 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5104 Comm: syz.0.0 Not tainted 6.12.0-rc3-syzkaller-00319-gb04ae0f45168 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:53 [inline] should_fail_ex+0x3b0/0x4e0 lib/fault-inject.c:154 prepare_alloc_pages+0x1da/0x5b0 mm/page_alloc.c:4495 __alloc_pages_noprof+0x16f/0x710 mm/page_alloc.c:4722 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 alloc_pages_noprof mm/mempolicy.c:2345 [inline] folio_alloc_noprof+0x128/0x180 mm/mempolicy.c:2352 filemap_alloc_folio_noprof+0xdf/0x500 mm/filemap.c:1010 __filemap_get_folio+0x446/0xbd0 mm/filemap.c:1952 filemap_grab_folio include/linux/pagemap.h:806 [inline] __get_metapage+0x2b2/0xef0 fs/jfs/jfs_metapage.c:614 dtSplitRoot+0x2af/0x1930 fs/jfs/jfs_dtree.c:1909 dtSplitUp fs/jfs/jfs_dtree.c:1243 [inline] dtInsert+0x2e6b/0x6c10 fs/jfs/jfs_dtree.c:870 jfs_rename+0xafe/0x1bf0 fs/jfs/namei.c:1225 vfs_rename+0xbdb/0xf00 fs/namei.c:5013 do_renameat2+0xd94/0x13f0 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5215 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9526b7dff9 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:00007f952795f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f9526d35f80 RCX: 00007f9526b7dff9 RDX: 0000000000000000 RSI: 0000000020000f40 RDI: 0000000020000240 RBP: 00007f952795f090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f9526d35f80 R15: 00007fff456dff78 filemap_grab_folio failed! jfs_rename: dtInsert returned -EIO BUG at fs/jfs/jfs_txnmgr.c:528 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:528! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5104 Comm: syz.0.0 Not tainted 6.12.0-rc3-syzkaller-00319-gb04ae0f45168 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:txEnd+0x557/0x560 fs/jfs/jfs_txnmgr.c:528 Code: e9 cd fe ff ff e8 b9 c6 64 fe 48 c7 c7 20 71 43 8c 48 c7 c6 19 6d 43 8c ba 10 02 00 00 48 c7 c1 60 71 43 8c e8 0a 36 93 08 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000b007790 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000005 RCX: e94f6bb4eaf05d00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff9200022b227 R08: ffffffff8174afec R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90001159138 R15: 0000000000000110 FS: 00007f952795f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000003fb96000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_rename+0x14e6/0x1bf0 fs/jfs/namei.c:1305 vfs_rename+0xbdb/0xf00 fs/namei.c:5013 do_renameat2+0xd94/0x13f0 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5215 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9526b7dff9 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:00007f952795f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f9526d35f80 RCX: 00007f9526b7dff9 RDX: 0000000000000000 RSI: 0000000020000f40 RDI: 0000000020000240 RBP: 00007f952795f090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f9526d35f80 R15: 00007fff456dff78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x557/0x560 fs/jfs/jfs_txnmgr.c:528 Code: e9 cd fe ff ff e8 b9 c6 64 fe 48 c7 c7 20 71 43 8c 48 c7 c6 19 6d 43 8c ba 10 02 00 00 48 c7 c1 60 71 43 8c e8 0a 36 93 08 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000b007790 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000005 RCX: e94f6bb4eaf05d00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff9200022b227 R08: ffffffff8174afec R09: 1ffff11003f8519a R10: dffffc0000000000 R11: ffffed1003f8519b R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90001159138 R15: 0000000000000110 FS: 00007f952795f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000003fb96000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400