INFO: task syz-executor.4:27255 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-10062-gf8566aa4f176 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27384 pid:27255 ppid:6928 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 init_module_from_file+0x300/0x6a0 kernel/module/main.c:3125 __do_sys_finit_module kernel/module/main.c:3171 [inline] __se_sys_finit_module kernel/module/main.c:3154 [inline] __x64_sys_finit_module+0xfd/0x190 kernel/module/main.c:3154 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f82c628c389 RSP: 002b:00007f82c4dfe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007f82c63abf80 RCX: 00007f82c628c389 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000000e RBP: 00007f82c62d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc52dabacf R14: 00007f82c4dfe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a1af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a17f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a2700 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 1 lock held by udevd/4453: #0: ffff8880b993c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b993c3d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551 2 locks held by getty/4751: #0: ffff888028956098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176 2 locks held by kworker/u4:7/5113: 4 locks held by kworker/u4:9/6311: #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc900031ffdb0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3aeb50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb10 net/core/net_namespace.c:576 #3: ffffffff8c9ada80 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3997 1 lock held by syz-executor.3/6951: #0: ffff8880307200e0 (&type->s_umount_key#71){++++}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:360 2 locks held by kworker/1:2/22482: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc90015a77db0 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 2 locks held by syz-executor.4/27438: #0: ffff8880321320e0 (&type->s_umount_key#71){++++}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:360 #1: ffffffff8c9adbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8c9adbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.1/29481: #0: ffffffff8c872048 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3b/0xa0 kernel/sched/core.c:419 #1: ffffffff8c9adbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c9adbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.1/29483: 1 lock held by syz-executor.2/29486: 2 locks held by syz-executor.0/29489: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-10062-gf8566aa4f176 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 27438 Comm: syz-executor.4 Not tainted 6.4.0-syzkaller-10062-gf8566aa4f176 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__lock_acquire+0x37f/0x5e20 kernel/locking/lockdep.c:5081 Code: e7 10 45 0f b7 f6 44 09 f0 41 81 e7 00 00 03 00 41 c1 e1 13 41 09 c7 8b 44 24 08 48 c1 ea 03 c1 e0 12 25 00 00 04 00 41 09 c7 <8b> 84 24 78 01 00 00 45 09 f9 c1 e0 14 41 09 c1 8b 84 24 68 01 00 RSP: 0018:ffffc90015a4f600 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 1ffff92002b49ef2 RCX: 0000000000000000 RDX: 1ffff1100456751f RSI: 0000000000000004 RDI: ffff888022b3a8fc RBP: ffff888022b3a8d8 R08: 1ffff1100456751a R09: 0000000000080000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888022b39dc0 R13: ffffffff8c9a2700 R14: 0000000000000000 R15: 0000000000020000 FS: 00005555557b5400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2da2a000 CR3: 000000001bc2e000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5761 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5726 rcu_lock_acquire include/linux/rcupdate.h:302 [inline] rcu_read_lock include/linux/rcupdate.h:748 [inline] __mod_lruvec_page_state+0xa0/0x3f0 mm/memcontrol.c:859 __lruvec_stat_mod_folio include/linux/vmstat.h:615 [inline] filemap_unaccount_folio mm/filemap.c:188 [inline] filemap_unaccount_folio+0x17d/0x7d0 mm/filemap.c:153 __filemap_remove_folio mm/filemap.c:227 [inline] filemap_remove_folio+0x14f/0x3f0 mm/filemap.c:260 truncate_inode_folio+0x4c/0x70 mm/truncate.c:196 shmem_undo_range+0x333/0x1130 mm/shmem.c:950 shmem_truncate_range mm/shmem.c:1049 [inline] shmem_evict_inode+0x32f/0xb60 mm/shmem.c:1164 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1789 [inline] iput.part.0+0x50a/0x740 fs/inode.c:1815 iput+0x5c/0x80 fs/inode.c:1805 dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401 __dentry_kill+0x3c0/0x640 fs/dcache.c:607 dentry_kill fs/dcache.c:733 [inline] dput+0x865/0xe10 fs/dcache.c:913 __fput+0x549/0xad0 fs/file_table.c:386 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3db108d7f7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd5d7bbf38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3db108d7f7 RDX: 00007ffd5d7bc00a RSI: 000000000000000a RDI: 00007ffd5d7bc000 RBP: 00007ffd5d7bc000 R08: 00000000ffffffff R09: 00007ffd5d7bbdd0 R10: 00005555557b6893 R11: 0000000000000246 R12: 00007f3db10d643b R13: 00007ffd5d7bd0c0 R14: 00005555557b6810 R15: 00007ffd5d7bd100