INFO: task syz.7.1711:11164 blocked for more than 143 seconds.
      Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.1711      state:D stack:28880 pid:11164 tgid:11150 ppid:10440  task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x872/0xfe0
 down_write+0x1ab/0x1f0
 bch2_fallocate_dispatch+0x10e/0x410
 vfs_fallocate+0x669/0x7e0
 __x64_sys_fallocate+0xc0/0x110
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc398d8ebe9
RSP: 002b:00007fc399bc5038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007fc398fb6090 RCX: 00007fc398d8ebe9
RDX: 0000000000004000 RSI: 0000000000000001 RDI: 000000000000000a
RBP: 00007fc398e11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000000d R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc398fb6128 R14: 00007fc398fb6090 R15: 00007ffc839845e8
 </TASK>
INFO: task syz.7.1711:11165 blocked for more than 143 seconds.
      Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.1711      state:D stack:28936 pid:11165 tgid:11150 ppid:10440  task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x872/0xfe0
 down_write+0x1ab/0x1f0
 bch2_fallocate_dispatch+0x10e/0x410
 vfs_fallocate+0x669/0x7e0
 __x64_sys_fallocate+0xc0/0x110
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc398d8ebe9
RSP: 002b:00007fc399ba4038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007fc398fb6180 RCX: 00007fc398d8ebe9
RDX: 0000000000000009 RSI: 0000000000000003 RDI: 000000000000000a
RBP: 00007fc398e11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc398fb6218 R14: 00007fc398fb6180 R15: 00007ffc839845e8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5676:
 #0: ffff88811005d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
2 locks held by syz.7.1711/11151:
 #0: ffff888022eec428 (sb_writers#36){.+.+}-{0:0}, at: vfs_fallocate+0x5f0/0x7e0
 #1: ffff888120489078 (&sb->s_type->i_mutex_key#45){+.+.}-{4:4}, at: bch2_fallocate_dispatch+0x10e/0x410
2 locks held by syz.7.1711/11164:
 #0: ffff888022eec428 (sb_writers#36){.+.+}-{0:0}, at: vfs_fallocate+0x5f0/0x7e0
 #1: ffff888120489078 (&sb->s_type->i_mutex_key#45){+.+.}-{4:4}, at: bch2_fallocate_dispatch+0x10e/0x410
2 locks held by syz.7.1711/11165:
 #0: ffff888022eec428 (sb_writers#36){.+.+}-{0:0}, at: vfs_fallocate+0x5f0/0x7e0
 #1: ffff888120489078 (&sb->s_type->i_mutex_key#45){+.+.}-{4:4}, at: bch2_fallocate_dispatch+0x10e/0x410
4 locks held by syz.1.2123/13453:

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 13453 Comm: syz.1.2123 Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__list_del_entry_valid_or_report+0xbe/0x190
Code: 1f 0f 85 92 00 00 00 4d 8d 7e 08 4d 89 fc 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 ff e8 7b a6 53 fd 49 39 1f 0f 85 9e 00 00 00 <b0> 01 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc cc 48 c7 c7 20 29
RSP: 0018:ffffc9000600f250 EFLAGS: 00000246
RAX: 1ffffd400092ded1 RBX: ffffea000496f688 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 1ffffffff1f46e6e RDI: ffffea000496f690
RBP: ffffc9000600f470 R08: 0000000000000190 R09: 0000000000000080
R10: dffffc0000000000 R11: ffffffff8b969fec R12: 1ffffd400092deda
R13: dffffc0000000000 R14: ffffea000496f6c8 R15: ffffea000496f6d0
FS:  00007feaeb5f66c0(0000) GS:ffff8881a3c24000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feaeafff000 CR3: 000000002c380000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __rmqueue_pcplist+0x148f/0x1df0
 get_page_from_freelist+0x86a/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 folio_alloc_mpol_noprof+0x39/0x70
 shmem_alloc_and_add_folio+0x447/0xf60
 shmem_get_folio_gfp+0x59d/0x1660
 shmem_write_begin+0xf7/0x2b0
 generic_perform_write+0x2c5/0x900
 shmem_file_write_iter+0xf8/0x120
 vfs_write+0x54b/0xa90
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feaed38d69f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007feaeb5f5df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000008000000 RCX: 00007feaed38d69f
RDX: 0000000008000000 RSI: 00007feae3000000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000002220f
R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000004
R13: 00007feaeb5f5ef0 R14: 00007feaeb5f5eb0 R15: 00007feae3000000
 </TASK>
