INFO: task syz.4.271:6579 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-syzkaller-00389-g3d5ad2d4eca3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.271 state:D stack:27360 pid:6579 tgid:6577 ppid:5786 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 filemap_invalidate_lock include/linux/fs.h:860 [inline] blkdev_fallocate+0x20e/0x490 block/fops.c:808 vfs_fallocate+0x569/0x6e0 fs/open.c:333 ksys_fallocate fs/open.c:356 [inline] __do_sys_fallocate fs/open.c:364 [inline] __se_sys_fallocate fs/open.c:362 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:362 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:0x7f3c1117dff9 RSP: 002b:00007f3c11ed0038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f3c11335f80 RCX: 00007f3c1117dff9 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00007f3c111f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000002000000400 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3c11335f80 R15: 00007ffe3753e668 Showing all locks held in the system: 5 locks held by kworker/u8:0/11: #0: ffff8880b863ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:593 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffffffff9a66f5e0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] #2: ffffffff9a66f5e0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1019 #3: ffff88802e618a18 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] #3: ffff88802e618a18 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xbe/0x14b0 kernel/sched/core.c:4160 #4: ffff8880b873ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:593 1 lock held by khungtaskd/30: #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:7/1085: 2 locks held by getty/4977: #0: ffff888032fb20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 4 locks held by syz.2.42/5477: 1 lock held by syz.3.139/6009: 1 lock held by syz.4.271/6579: #0: ffff88802348c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:860 [inline] #0: ffff88802348c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x20e/0x490 block/fops.c:808 2 locks held by syz.2.631/8634: 2 locks held by syz.1.632/8649: 1 lock held by syz.3.633/8652: #0: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc3-syzkaller-00389-g3d5ad2d4eca3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8649 Comm: syz.1.632 Not tainted 6.12.0-rc3-syzkaller-00389-g3d5ad2d4eca3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0033:0x7fdf4785d574 Code: 43 38 c6 40 02 00 e9 c7 fe ff ff 4d 8d a6 80 00 00 00 4c 89 f7 4c 89 e6 e8 39 83 ff ff 49 39 ec 0f 84 12 fd ff ff 49 8b 0c 24 <49> 8b 54 24 f8 49 8d 44 24 f8 48 39 d1 73 5f 0f 1f 44 00 00 48 89 RSP: 002b:00007ffe900e78a0 EFLAGS: 00000283 RAX: 00007fdf47139658 RBX: 00007fdf48665720 RCX: ffffffff83fd94ee RDX: ffffffff83fd94ee RSI: 00007fdf47139660 RDI: 00007fdf47001008 RBP: 00007fdf47201000 R08: 00007fdf47001068 R09: 00007fdf47b22000 R10: 0000000083fd9d20 R11: 0000000000000000 R12: 00007fdf47139668 R13: 00007fdf47b36018 R14: 00007fdf47001008 R15: 000000000004893f FS: 0000555580f8b500 GS: 0000000000000000