INFO: task syz-executor.2:10121 blocked for more than 143 seconds. Not tainted 6.1.0-rc5-syzkaller-00241-gab290eaddc4c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:22920 pid:10121 ppid:3666 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1034/0x1870 fs/fuse/dev.c:511 fuse_do_setattr+0x10e3/0x1e90 fs/fuse/dir.c:1767 fuse_setattr+0x4e4/0xae0 fs/fuse/dir.c:1880 notify_change+0xe38/0x10f0 fs/attr.c:420 chmod_common+0x2a7/0x4c0 fs/open.c:606 do_fchmodat fs/open.c:645 [inline] __do_sys_chmod fs/open.c:663 [inline] __se_sys_chmod fs/open.c:661 [inline] __x64_sys_chmod+0xf0/0x180 fs/open.c:661 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:0x7f639de8b639 RSP: 002b:00007f639eb7c168 EFLAGS: 00000246 ORIG_RAX: 000000000000005a RAX: ffffffffffffffda RBX: 00007f639dfabf80 RCX: 00007f639de8b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f639dee6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2c98bb6f R14: 00007f639eb7c300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327330 ( rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 3 locks held by kworker/1:0/22: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900001c7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 1 lock held by khungtaskd/28: #0: ffffffff8d327160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/1:2/2487: #0: ffff888012866538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000b42fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by getty/3318: #0: ffff888145037098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.2/10121: #0: ffff88808aa50460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff8880700fb090 (&sb->s_type->i_mutex_key#35){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880700fb090 (&sb->s_type->i_mutex_key#35){+.+.}-{3:3}, at: chmod_common+0x1aa/0x4c0 fs/open.c:600 1 lock held by udevd/10218: #0: ffff888140c576c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #0: ffff888140c576c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xe9/0x820 mm/readahead.c:226 1 lock held by syz-executor.0/12778: #0: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 3 locks held by syz-executor.0/12779: 2 locks held by syz-executor.0/12780: #0: ffff88814ab7c460 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2936 [inline] #0: ffff88814ab7c460 (sb_writers#4){.+.+}-{0:0}, at: vfs_fallocate+0x489/0x670 fs/open.c:322 #1: ffff88808bd6ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88808bd6ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x141/0x1c90 fs/ext4/extents.c:4701 3 locks held by syz-executor.0/12788: #0: ffff8880b9839dd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9827788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x611/0x9a0 kernel/sched/psi.c:909 #2: ffff88808bd6ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #2: ffff88808bd6ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:525 [inline] #2: ffff88808bd6ac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_file_write_iter+0x5c9/0x18d0 fs/ext4/file.c:698 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc5-syzkaller-00241-gab290eaddc4c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4276 Comm: syz-fuzzer Not tainted 6.1.0-rc5-syzkaller-00241-gab290eaddc4c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0033:0x529369 Code: fd 15 4c 00 e8 18 3e ee ff 48 89 44 24 50 48 8b 8c 24 90 00 00 00 48 8b 51 08 8b 19 0f b6 71 04 48 8b 79 10 4c 8b 41 18 89 18 <40> 88 70 04 48 89 78 10 4c 89 40 18 48 8d 78 08 48 89 bc 24 88 00 RSP: 002b:000000c02d648e38 EFLAGS: 00000206 RAX: 000000c02fec8840 RBX: 00000000000033bc RCX: 000000c001cd8c00 RDX: 000000c0040ea100 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000c02d648ee0 R08: 0000000000000004 R09: 0000000000000010 R10: 0000000000000006 R11: 0000000000c08180 R12: 000000000020300b R13: 000000000020300b R14: 000000c001ed2340 R15: 00007fe0679f6443 FS: 000000c015ca2890 GS: 0000000000000000