INFO: task syz-executor.0:18412 blocked for more than 143 seconds. Not tainted 6.3.0-rc2-next-20230316-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27936 pid:18412 ppid:5117 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x1d23/0x5650 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6758 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962 eventpoll_release include/linux/eventpoll.h:53 [inline] __fput+0x7da/0xa90 fs/file_table.c:312 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25b0 kernel/signal.c:2635 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/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:0x7f2764c8c0f9 RSP: 002b:00007f2765a46168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: 000000000000000b RBX: 00007f2764dabf80 RCX: 00007f2764c8c0f9 RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004 RBP: 00007f2764ce7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff85c104ff R14: 00007f2765a46300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c795830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c795530 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8c796400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by getty/4763: #0: ffff88802813e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.4/5128: #0: ffff8880301120e0 (&type->s_umount_key#81){++++}-{3:3}, at: deactivate_super+0xa9/0xd0 fs/super.c:361 2 locks held by kworker/u4:14/5441: 2 locks held by kworker/1:5/15965: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc9000438fda8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 1 lock held by syz-executor.0/18412: #0: ffff888032b9d468 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962 1 lock held by syz-executor.0/18425: 1 lock held by xfsaild/loop4/20503: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.1/20504: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.1/20517: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.3/20505: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.3/20508: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.3/20518: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.3/20523: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.2/20506: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.2/20511: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.2/20516: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.2/20520: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.0/20510: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.0/20514: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.0/20519: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 5 locks held by kvm-nx-lpage-re/20515: #0: ffffffff8c7de488 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x140 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8c640c10 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x11/0x40 kernel/cgroup/cgroup.c:2445 #2: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock+0x35/0x40 kernel/cgroup/cgroup.c:2447 #3: ffffffff8c7ecb70 (cpuset_rwsem){++++}-{0:0}, at: cpuset_can_attach+0xec/0x4b0 kernel/cgroup/cpuset.c:2460 #4: ffffffff8c7a1878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #4: ffffffff8c7a1878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.5/20530: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 1 lock held by syz-executor.5/20531: #0: ffffffff8c7de250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x55c/0x29f0 kernel/exit.c:825 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc2-next-20230316-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x33e/0x440 kernel/kthread.c:379 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: 8576 Comm: syz-executor.5 Not tainted 6.3.0-rc2-next-20230316-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:find_stack lib/stackdepot.c:350 [inline] RIP: 0010:__stack_depot_save+0x13c/0x510 lib/stackdepot.c:390 Code: d9 23 0d d7 8c c7 0d 48 8d 0c c8 48 8b 29 48 85 ed 75 12 e9 92 00 00 00 48 8b 6d 00 48 85 ed 0f 84 85 00 00 00 39 5d 08 75 ee <44> 3b 7d 0c 75 e8 31 c0 48 8b 74 c5 18 49 39 34 c6 75 db 48 83 c0 RSP: 0018:ffffc9000444fa40 EFLAGS: 00000246 RAX: ffff88823b400000 RBX: 000000004163c88d RCX: ffff88823b5e4468 RDX: 000000000000000d RSI: 0000000000000002 RDI: 0000000088d985b8 RBP: ffff88802bfd5eb0 R08: 0000000002858fcc R09: ffffffff8e784717 R10: fffffbfff1cf08e2 R11: 0000000000094001 R12: 0000000000000001 R13: 0000000000000800 R14: ffffc9000444fab0 R15: 000000000000000d FS: 0000555557320400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8a43821b8 CR3: 000000002973b000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_save_stack+0x32/0x40 mm/kasan/common.c:46 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2e/0x40 mm/kasan/generic.c:521 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] kmem_cache_free+0xe9/0x480 mm/slub.c:3809 security_file_free+0xa8/0xd0 security/security.c:2600 file_free fs/file_table.c:57 [inline] __fput+0x3f7/0xa90 fs/file_table.c:334 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:0x7ff8a423dfab Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffd22ebf970 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007ffd22ebfa10 RCX: 00007ff8a423dfab RDX: 0000000000000000 RSI: 000000047eb37a68 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: ffff000000000000 R10: 0000000000000010 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000001e43a1 R14: 0000000000000003 R15: 00007ffd22ebfa50