INFO: task syz-executor.3:10522 blocked for more than 143 seconds. Not tainted 6.1.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23536 pid:10522 ppid:3645 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:0x7f559748b639 RSP: 002b:00007f559827a168 EFLAGS: 00000246 ORIG_RAX: 000000000000005a RAX: ffffffffffffffda RBX: 00007f55975ac120 RCX: 00007f559748b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f55974e6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc05aa3d1f R14: 00007f559827a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb226f0 (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: ffffffff8cb22ef0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8cb22520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3284: #0: ffff88814b204098 (&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 1 lock held by syz-executor.5/3637: #0: ffffffff8cb27af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8cb27af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 3 locks held by kworker/1:6/3700: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900053afd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8cb27af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8cb27af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 1 lock held by kworker/0:12/3813: #0: ffff8880b9a39dd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 2 locks held by kworker/1:10/5480: #0: ffff888012066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900053dfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by syz-executor.3/10522: #0: ffff88807d35e460 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888034f6a310 (&sb->s_type->i_mutex_key#38){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888034f6a310 (&sb->s_type->i_mutex_key#38){+.+.}-{3:3}, at: chmod_common+0x1aa/0x4c0 fs/open.c:600 2 locks held by syz-executor.0/15172: #0: ffff8880285da0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 #1: ffff88808c533628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88808c533628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:525 [inline] #1: ffff88808c533628 (&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 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc5-syzkaller #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline] RIP: 0010:rcu_is_watching+0x55/0xb0 kernel/rcu/tree.c:719 Code: 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 e0 19 6b 00 48 c7 c3 a8 4a 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 8a 04 38 <84> c0 75 1e 8b 03 65 ff 0d 76 aa 91 7e 74 0c 83 e0 04 c1 e8 02 5b RSP: 0018:ffffc900001479a8 EFLAGS: 00000a06 RAX: 1ffff11017346900 RBX: ffff8880b9a34aa8 RCX: ffff8880123744c8 RDX: dffffc0000000000 RSI: ffffffff8aecf800 RDI: ffffffff8aecf7c0 RBP: ffff88807902cf80 R08: dffffc0000000000 R09: fffffbfff1fc9009 R10: fffffbfff1fc9009 R11: 1ffffffff1fc9008 R12: ffff888027b7f780 R13: ffffc90000147a38 R14: ffffffff8c579840 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f417f662718 CR3: 000000002db3a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:739 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:330 [inline] percpu_ref_put+0x1a/0xc0 include/linux/percpu-refcount.h:351 obj_cgroup_put include/linux/memcontrol.h:790 [inline] memcg_slab_free_hook+0xcd/0x200 mm/slab.h:572 slab_free mm/slub.c:3656 [inline] kmem_cache_free+0x7d/0x1d0 mm/slub.c:3683 put_pid kernel/pid.c:114 [inline] delayed_put_pid+0xb7/0x130 kernel/pid.c:123 rcu_do_batch kernel/rcu/tree.c:2250 [inline] rcu_core+0x9c1/0x1690 kernel/rcu/tree.c:2510 __do_softirq+0x277/0x738 kernel/softirq.c:571 run_ksoftirqd+0xa2/0x100 kernel/softirq.c:934 smpboot_thread_fn+0x533/0xa10 kernel/smpboot.c:164 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306