INFO: task syz-executor.5:6309 blocked for more than 145 seconds. Not tainted 6.3.0-rc3-next-20230320-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27936 pid:6309 ppid:5114 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:0x7fe21da8c0f9 RSP: 002b:00007fe21c5fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: 000000000000000b RBX: 00007fe21dbabf80 RCX: 00007fe21da8c0f9 RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004 RBP: 00007fe21dae7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea125d81f R14: 00007fe21c5fe300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #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:643 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc900000c7db0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c795870 (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: ffffffff8c795570 (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: ffffffff8c796440 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by getty/4759: #0: ffff88802c1d2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.5/6309: #0: ffff888050736468 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962 2 locks held by syz-executor.5/6311: 2 locks held by syz-executor.4/7208: #0: ffffffff8e0f2610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:487 #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: xfrmi_exit_batch_net+0x81/0x3e0 net/xfrm/xfrm_interface_core.c:966 2 locks held by syz-executor.3/7231: #0: ffffffff8e0f2610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:487 #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x131/0x230 net/smc/smc_pnet.c:878 2 locks held by syz-executor.3/7241: #0: ffff8880203000e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x59/0x260 fs/super.c:385 #1: ffffffff8c7de4c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:370 [inline] #1: ffffffff8c7de4c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_do_get_tree+0x1bf/0x740 kernel/cgroup/cgroup.c:2180 2 locks held by syz-executor.1/7238: #0: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6385 #1: ffffffff8c7a1780 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3950 2 locks held by syz-executor.5/7243: #0: ffffffff8e197c50 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0xb4/0xab0 net/wireless/nl80211.c:16305 2 locks held by syz-executor.0/7239: #0: ffffffff8e0f2610 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:487 #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x131/0x230 net/smc/smc_pnet.c:878 1 lock held by syz-executor.0/7242: #0: ffff8880203000e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x59/0x260 fs/super.c:385 2 locks held by syz-executor.2/7248: #0: ffffffff8e197c50 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1075 #1: ffffffff8e1060c8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0xb4/0xab0 net/wireless/nl80211.c:16305 5 locks held by kvm-nx-lpage-re/7246: #0: ffffffff8c7de4c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:370 [inline] #0: ffffffff8c7de4c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x140 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8c640a30 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x11/0x40 kernel/cgroup/cgroup.c:2445 #2: ffffffff8c7de290 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock+0x35/0x40 kernel/cgroup/cgroup.c:2447 #3: ffffffff8c7ecbb0 (cpuset_rwsem){++++}-{0:0}, at: cpuset_can_attach+0xec/0x4b0 kernel/cgroup/cpuset.c:2460 #4: ffffffff8c7a18b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #4: ffffffff8c7a18b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc3-next-20230320-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: 7251 Comm: syz-executor.1 Not tainted 6.3.0-rc3-next-20230320-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:mark_held_locks+0xba/0xe0 kernel/locking/lockdep.c:4252 Code: 83 da ff a8 04 74 0c 4c 89 e7 e8 f1 e5 ff ff 85 c0 74 12 83 c3 01 41 39 9c 24 30 0a 00 00 7f a9 b8 01 00 00 00 48 83 c4 08 5b <5d> 41 5c 41 5d 41 5e c3 e8 49 f8 70 00 e9 6d ff ff ff 48 89 34 24 RSP: 0018:ffffc90014adfed8 EFLAGS: 00000092 RAX: 0000000000000001 RBX: ffff88801ea99d40 RCX: 1ffffffff1cf0961 RDX: 1ffff11003d534ee RSI: 0000000000000002 RDI: ffff88801ea9a770 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff1cf0f6a R11: 0000000000000000 R12: ffff88801ea99d40 R13: dffffc0000000000 R14: ffff88801ea9a778 R15: 0000000000000000 FS: 00007f42e2f06700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f42e2f06718 CR3: 000000007a34c000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __trace_hardirqs_on_caller kernel/locking/lockdep.c:4265 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4332 [inline] lockdep_hardirqs_on_prepare+0x139/0x410 kernel/locking/lockdep.c:4284 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61 syscall_enter_from_user_mode+0x26/0xb0 kernel/entry/common.c:111 do_syscall_64+0x1a/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f42e228c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f42e2f06218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f42e23ac058 RCX: 00007f42e228c0f9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f42e23ac05c RBP: 00007f42e23ac050 R08: 00007ffde07a8080 R09: 0000000000000000 R10: 0000000000000117 R11: 0000000000000246 R12: 00007f42e23ac05c R13: 00007ffde07329cf R14: 00007f42e2f06300 R15: 0000000000022000