program:
r0 = gettid()
timer_create(0x2, &(0x7f0000533fa0)={0x0, 0x21, 0x800000000004, @tid=r0}, &(0x7f0000bbdffc))
timer_settime(0x0, 0x0, &(0x7f0000000280)={{0x0, 0x989680}, {0x0, 0x989680}}, 0x0)
syz_mount_image$ext4(&(0x7f0000000080)='ext3\x00', &(0x7f0000000480)='./file0\x00', 0x10, &(0x7f0000000140)={[{@norecovery}]}, 0xee, 0x468, &(0x7f00000004c0)="$eJzs3E1sVEUcAPD/e/3i01bEDxC0ikbiR0vLhxy8aDTxoImJHjCealsIUqihNRFCFD3g0ZB4Nx5NvJt40otRD8bEq94NCTFcQE9rZve9sl12S8tuWXB/v+RtZ96bZua/86Y7O7PbAHrWaHrIIrZExB8RMVzLLi8wWvtx7cq56X+unJvOolJ58++sWu7qlXPTZdHy9zbXMpVKxFBKDjWp98I7EVNzc7Oni/z44sn3xxfOnH3u+MmpY7PHZk9NHj58YP/uwUOTB9uKLy9+priu7vxofteOV9+++Pr0kYvv/vxNau+W4np9HLckRdtgtPbsNno0PTzZVmV3lF/Tw9a6E1l/68Jjt6FBrF5fRKTuGqiO/+Hoi41L14bjlU+72jhgXVUqlUqz1+fC+QrwP5ZFt1sAdEf5Qp/e/5bHbZp63BEuv1h7A5TivlYctSv9S2sHAw3vbztpNCKOnP/3y3REJ9YhAABu4vs0/3m22fwvjwfqyt1T7KGMRMS9EbEtIu6LiO0RcX9EteyDEfHQGutv3CG5cf6TX7qlwFYpzf9eKPa2ls//ytlfjPQVua3V+Aeyo8fnZvcVz8neGBhK+YkV6vjh5d8/L9MbGq7Vz//Skeov54JFOy71NyzQzUwtTrUbd+nyJxE7+5vFn0W5jZNFxI6I2HmLdRx/+utdra7dPP4VrLDPtFqVryKeqvX/+VgW//WuylruT048f2jy4PiGmJvdN17eFTf65bcLb7Sqv634OyD1/6am9//SLvBItiFi4czZE9X92oW113Hhz8/qxvSy3eUUf/5txJrv/8HsrWp6sDj34dTi4umJiMHstRvPT17/3TJflk/x793TfPxvq2vxwxGRbuLdEfFIsYmb+u6xiHg8IvasEP9PLz3xXqtrrft/hVX5Dkrxz9ys/6O+/9ee6Dvx43drj7+U+v9ANbW3OLOav3+rbWA7zx0AAADcLfLqZ+CzfGwpnedjY7XP8G+PTfnc/MLiM0fnPzg1U/us/EgM5OVK13DdeuhEsTZc5icb8vuLdeMv+jZW82PT83Mz3Q4eetzmFuM/+auv260D1l0H9tGAu5TxD73L+IfeZfxD7zL+oXc1G/8fd6EdwO3n9R96l/EPvcv4h95l/ENPavnd+Lytr/x3OVH+74Q7pT1dSmxczyoi736APZHoX+/beKjppS7/YQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOiQ/wIAAP//YKPiyQ==")
[ 68.644144][ T5301] Bluetooth: hci0: command tx timeout
[ 68.725478][ T5315] loop0: detected capacity change from 0 to 512
[ 68.739322][ T5315] EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem
[ 68.772965][ C0]
[ 68.773971][ C0] =============================
[ 68.775835][ C0] [ BUG: Invalid wait context ]
[ 68.777679][ C0] 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0 Not tainted
[ 68.780242][ C0] -----------------------------
[ 68.782042][ C0] syz.0.0/5315 is trying to lock:
[ 68.784002][ C0] ffff88805ffd7298 (&zone->lock){..-.}-{3:3}, at: get_page_from_freelist+0xb3d/0x37a0
[ 68.787805][ C0] other info that might help us debug this:
[ 68.790127][ C0] context-{2:2}
[ 68.791430][ C0] 2 locks held by syz.0.0/5315:
[ 68.793334][ C0] #0: ffff8880403020e0 (&type->s_umount_key#25/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0
[ 68.797008][ C0] #1: ffff88801fc44ad8 (&pcp->lock){+.+.}-{3:3}, at: get_page_from_freelist+0x7d3/0x37a0
[ 68.800644][ C0] stack backtrace:
[ 68.802019][ C0] CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0
[ 68.805894][ C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 68.810085][ C0] Call Trace:
[ 68.811401][ C0]
[ 68.812553][ C0] dump_stack_lvl+0x241/0x360
[ 68.814327][ C0] ? __pfx_dump_stack_lvl+0x10/0x10
[ 68.816259][ C0] ? __pfx__printk+0x10/0x10
[ 68.817997][ C0] ? __find_rr_leaf+0x747/0x8e0
[ 68.819849][ C0] __lock_acquire+0x15a8/0x2100
[ 68.821726][ C0] lock_acquire+0x1ed/0x550
[ 68.823463][ C0] ? get_page_from_freelist+0xb3d/0x37a0
[ 68.825652][ C0] ? stack_trace_save+0x118/0x1d0
[ 68.827611][ C0] ? __pfx_lock_acquire+0x10/0x10
[ 68.829556][ C0] ? __asan_memset+0x23/0x50
[ 68.831320][ C0] ? unwind_next_frame+0x193b/0x22d0
[ 68.833215][ C0] ? ret_from_fork_asm+0x1a/0x30
[ 68.835045][ C0] _raw_spin_lock_irqsave+0xd5/0x120
[ 68.837131][ C0] ? get_page_from_freelist+0xb3d/0x37a0
[ 68.839292][ C0] ? __pfx__raw_spin_lock_irqsave+0x10/0x10
[ 68.841503][ C0] get_page_from_freelist+0xb3d/0x37a0
[ 68.843532][ C0] __alloc_pages_noprof+0x292/0x710
[ 68.845533][ C0] ? __pfx___alloc_pages_noprof+0x10/0x10
[ 68.847742][ C0] ? __pfx_stack_trace_consume_entry+0x10/0x10
[ 68.850181][ C0] ? __kernel_text_address+0xd/0x40
[ 68.852453][ C0] ? unwind_get_return_address+0x4d/0x90
[ 68.854631][ C0] alloc_pages_mpol_noprof+0x3e1/0x780
[ 68.856860][ C0] ? __pfx_alloc_pages_mpol_noprof+0x10/0x10
[ 68.859138][ C0] ? stack_trace_save+0x118/0x1d0
[ 68.861098][ C0] ? alloc_pages_noprof+0x43/0x170
[ 68.863083][ C0] stack_depot_save_flags+0x72d/0x940
[ 68.865211][ C0] kasan_save_stack+0x4f/0x60
[ 68.867041][ C0] ? kasan_save_stack+0x3f/0x60
[ 68.868951][ C0] ? __kasan_record_aux_stack+0xac/0xc0
[ 68.871027][ C0] ? task_work_add+0xd9/0x490
[ 68.872812][ C0] ? run_posix_cpu_timers+0x6ac/0x810
[ 68.874787][ C0] ? tick_nohz_handler+0x37c/0x500
[ 68.876573][ C0] ? __hrtimer_run_queues+0x551/0xd30
[ 68.878384][ C0] ? hrtimer_interrupt+0x403/0xa40
[ 68.880157][ C0] ? __sysvec_apic_timer_interrupt+0x110/0x420
[ 68.882213][ C0] ? sysvec_apic_timer_interrupt+0xa1/0xc0
[ 68.884182][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 68.886337][ C0] ? _raw_spin_unlock_irqrestore+0xd8/0x140
[ 68.888720][ C0] ? __rmqueue_pcplist+0x21fd/0x2a90
[ 68.890731][ C0] ? get_page_from_freelist+0x886/0x37a0
[ 68.892788][ C0] ? __alloc_pages_noprof+0x292/0x710
[ 68.894762][ C0] ? alloc_pages_mpol_noprof+0x3e1/0x780
[ 68.896906][ C0] ? folio_alloc_noprof+0x128/0x180
[ 68.898850][ C0] ? filemap_alloc_folio_noprof+0xdf/0x500
[ 68.901084][ C0] ? __filemap_get_folio+0x41f/0x940
[ 68.903089][ C0] ? bdev_getblk+0x1d4/0x670
[ 68.904878][ C0] ? __ext4_get_inode_loc+0x53a/0xfb0
[ 68.906838][ C0] ? __ext4_iget+0x4fd/0x3f60
[ 68.908434][ C0] ? ext4_get_journal_inode+0x30/0x1d0
[ 68.910313][ C0] ? ext4_calculate_overhead+0xe5c/0x1200
[ 68.912165][ C0] ? ext4_fill_super+0x5630/0x6e60
[ 68.913933][ C0] ? get_tree_bdev_flags+0x48c/0x5c0
[ 68.915760][ C0] ? vfs_get_tree+0x90/0x2b0
[ 68.917554][ C0] ? do_new_mount+0x2be/0xb40
[ 68.919286][ C0] ? __se_sys_mount+0x2d6/0x3c0
[ 68.921007][ C0] ? do_syscall_64+0xf3/0x230
[ 68.922826][ C0] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 68.925106][ C0] ? __phys_addr+0xba/0x170
[ 68.926807][ C0] __kasan_record_aux_stack+0xac/0xc0
[ 68.928951][ C0] task_work_add+0xd9/0x490
[ 68.930909][ C0] ? __pfx_lock_acquire+0x10/0x10
[ 68.932886][ C0] ? __pfx_task_work_add+0x10/0x10
[ 68.934957][ C0] run_posix_cpu_timers+0x6ac/0x810
[ 68.937134][ C0] ? __pfx_run_posix_cpu_timers+0x10/0x10
[ 68.939341][ C0] ? sched_balance_trigger+0x51/0x890
[ 68.941422][ C0] tick_nohz_handler+0x37c/0x500
[ 68.943319][ C0] ? __pfx_tick_nohz_handler+0x10/0x10
[ 68.945579][ C0] __hrtimer_run_queues+0x551/0xd30
[ 68.947903][ C0] ? __pfx___hrtimer_run_queues+0x10/0x10
[ 68.950088][ C0] ? kvm_clock_get_cycles+0x52/0x70
[ 68.952109][ C0] ? ktime_get_update_offsets_now+0x393/0x3b0
[ 68.954447][ C0] hrtimer_interrupt+0x403/0xa40
[ 68.956382][ C0] __sysvec_apic_timer_interrupt+0x110/0x420
[ 68.958682][ C0] sysvec_apic_timer_interrupt+0xa1/0xc0
[ 68.960798][ C0]
[ 68.961924][ C0]
[ 68.963051][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 68.965251][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140
[ 68.967671][ C0] Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 7e 2f 3a f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 43 d6 a1 f5 65 8b 05 b4 18 38 74 85 c0 74 43 48 c7 04 24 0e 36
[ 68.975058][ C0] RSP: 0018:ffffc9000d436c20 EFLAGS: 00000206
[ 68.977451][ C0] RAX: 8bf8e5b2900d1000 RBX: 1ffff92001a86d88 RCX: ffffffff817b387a
[ 68.980167][ C0] RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: 0000000000000001
[ 68.982825][ C0] RBP: ffffc9000d436cb8 R08: ffffffff942a5887 R09: 1ffffffff2854b10
[ 68.985547][ C0] R10: dffffc0000000000 R11: fffffbfff2854b11 R12: dffffc0000000000
[ 68.988480][ C0] R13: 1ffff92001a86d84 R14: ffffc9000d436c40 R15: 0000000000000246
[ 68.991444][ C0] ? mark_lock+0x9a/0x360
[ 68.993030][ C0] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10
[ 68.995484][ C0] __rmqueue_pcplist+0x21fd/0x2a90
[ 68.997444][ C0] get_page_from_freelist+0x886/0x37a0
[ 68.999495][ C0] ? __pfx___might_resched+0x10/0x10
[ 69.001440][ C0] ? should_fail_alloc_page+0x75/0x110
[ 69.003275][ C0] __alloc_pages_noprof+0x292/0x710
[ 69.005154][ C0] ? __pfx___alloc_pages_noprof+0x10/0x10
[ 69.007133][ C0] alloc_pages_mpol_noprof+0x3e1/0x780
[ 69.009023][ C0] ? __pfx_alloc_pages_mpol_noprof+0x10/0x10
[ 69.011089][ C0] ? xas_start+0x3cc/0x7b0
[ 69.012676][ C0] ? xas_load+0x58d/0x5c0
[ 69.014000][ C0] folio_alloc_noprof+0x128/0x180
[ 69.015639][ C0] filemap_alloc_folio_noprof+0xdf/0x500
[ 69.017703][ C0] ? filemap_get_entry+0x123/0x3b0
[ 69.019576][ C0] ? __pfx_filemap_alloc_folio_noprof+0x10/0x10
[ 69.021823][ C0] ? __find_get_block+0x297/0x1150
[ 69.023641][ C0] ? __pfx___find_get_block+0x10/0x10
[ 69.025666][ C0] ? __pfx___might_resched+0x10/0x10
[ 69.027702][ C0] __filemap_get_folio+0x41f/0x940
[ 69.029561][ C0] bdev_getblk+0x1d4/0x670
[ 69.031262][ C0] __ext4_get_inode_loc+0x53a/0xfb0
[ 69.033394][ C0] ? __pfx_lock_release+0x10/0x10
[ 69.035400][ C0] ? __pfx___ext4_get_inode_loc+0x10/0x10
[ 69.037741][ C0] ? do_raw_spin_unlock+0x58/0x8b0
[ 69.039676][ C0] ? _raw_spin_unlock+0x28/0x50
[ 69.041517][ C0] ? iget_locked+0x558/0x5a0
[ 69.043305][ C0] __ext4_iget+0x4fd/0x3f60
[ 69.045023][ C0] ? __pfx___ext4_iget+0x10/0x10
[ 69.046977][ C0] ? __pfx_alloc_pages_mpol_noprof+0x10/0x10
[ 69.049146][ C0] ? __asan_memset+0x23/0x50
[ 69.050835][ C0] ? ext4_bg_has_super+0xc7/0x3c0
[ 69.052668][ C0] ext4_get_journal_inode+0x30/0x1d0
[ 69.054652][ C0] ext4_calculate_overhead+0xe5c/0x1200
[ 69.056742][ C0] ? mb_cache_create+0x500/0x650
[ 69.058492][ C0] ext4_fill_super+0x5630/0x6e60
[ 69.060282][ C0] ? __pfx_ext4_fill_super+0x10/0x10
[ 69.062211][ C0] ? do_raw_spin_lock+0x14f/0x370
[ 69.064093][ C0] ? __pfx_snprintf+0x10/0x10
[ 69.065904][ C0] ? set_blocksize+0x1fc/0x360
[ 69.067885][ C0] ? sb_set_blocksize+0x98/0xf0
[ 69.069889][ C0] ? setup_bdev_super+0x4e6/0x5d0
[ 69.071875][ C0] get_tree_bdev_flags+0x48c/0x5c0
[ 69.073974][ C0] ? __pfx_ext4_fill_super+0x10/0x10
[ 69.075976][ C0] ? __pfx_get_tree_bdev_flags+0x10/0x10
[ 69.078137][ C0] ? apparmor_capable+0x13b/0x1b0
[ 69.080159][ C0] vfs_get_tree+0x90/0x2b0
[ 69.081831][ C0] do_new_mount+0x2be/0xb40
[ 69.083532][ C0] ? __pfx_do_new_mount+0x10/0x10
[ 69.085432][ C0] __se_sys_mount+0x2d6/0x3c0
[ 69.087211][ C0] ? __pfx___se_sys_mount+0x10/0x10
[ 69.089226][ C0] ? exc_page_fault+0x590/0x8b0
[ 69.091144][ C0] ? __x64_sys_mount+0x20/0xc0
[ 69.092973][ C0] do_syscall_64+0xf3/0x230
[ 69.094685][ C0] ? clear_bhb_loop+0x35/0x90
[ 69.096538][ C0] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 69.098768][ C0] RIP: 0033:0x7f3cd0b874ca
[ 69.100487][ C0] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
[ 69.107456][ C0] RSP: 002b:00007f3cd1a59e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
[ 69.110607][ C0] RAX: ffffffffffffffda RBX: 00007f3cd1a59ef0 RCX: 00007f3cd0b874ca
[ 69.113554][ C0] RDX: 0000000020000080 RSI: 0000000020000480 RDI: 00007f3cd1a59eb0
[ 69.116554][ C0] RBP: 0000000020000080 R08: 00007f3cd1a59ef0 R09: 0000000000000010
[ 69.119400][ C0] R10: 0000000000000010 R11: 0000000000000246 R12: 0000000020000480
[ 69.122433][ C0] R13: 00007f3cd1a59eb0 R14: 0000000000000468 R15: 0000000020000140
[ 69.125454][ C0]
[ 69.146987][ T5315] EXT4-fs (loop0): invalid journal inode
[ 69.149192][ T5315] EXT4-fs (loop0): can't get journal size
[ 69.154109][ T5315] EXT4-fs (loop0): 1 truncate cleaned up
[ 69.156663][ T5315] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.