INFO: task syz-executor.1:30132 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.1 state:D stack:27896 pid:30132 ppid:27743 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:0x7fb87b08c0f9 RSP: 002b:00007fb87beb9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: 000000000000000b RBX: 00007fb87b1abf80 RCX: 00007fb87b08c0f9 RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004 RBP: 00007fb87b0e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff4c505ef R14: 00007fb87beb9300 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/4762: #0: ffff888027cc2098 (&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+0xef4/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:11/6307: 5 locks held by kworker/0:9/15417: #0: ffff888145348138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888145348138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888145348138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888145348138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888145348138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888145348138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc900033e7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 #2: ffff888021c1d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888021c1d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5739 #3: ffff888096f75190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff888096f75190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1000 #4: ffff888030ead118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff888030ead118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1000 1 lock held by syz-executor.1/30132: #0: ffff88806f711868 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962 1 lock held by syz-executor.1/30139: 1 lock held by syz-executor.1/30300: #0: ffff88807a24bc68 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962 1 lock held by syz-executor.1/30302: 2 locks held by kworker/0:1/30375: #0: ffff8880b983c518 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 #1: ffff88807c9f53f0 (&mm->cid_lock#2){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline] #1: ffff88807c9f53f0 (&mm->cid_lock#2){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline] #1: ffff88807c9f53f0 (&mm->cid_lock#2){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5114 [inline] #1: ffff88807c9f53f0 (&mm->cid_lock#2){....}-{2:2}, at: context_switch kernel/sched/core.c:5256 [inline] #1: ffff88807c9f53f0 (&mm->cid_lock#2){....}-{2:2}, at: __schedule+0x2936/0x5650 kernel/sched/core.c:6623 ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 30139 Comm: syz-executor.1 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:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:__lock_acquire+0x16d2/0x5df0 kernel/locking/lockdep.c:5070 Code: 8b 05 1e 00 14 0d 85 c0 0f 85 87 fa ff ff 48 c7 c6 a0 69 4c 8a 48 c7 c7 60 5d 4c 8a e8 27 c8 e6 ff 0f 0b 31 ed e9 e4 ed ff ff <49> 8d 7c 24 f8 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 RSP: 0018:ffffc9000c5ff8e8 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 00000000a2f959af RCX: ffffffff81647467 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888080594501 RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffff914ebce7 R10: fffffbfff229d79c R11: 0000000000000000 R12: ffff8880805944e0 R13: ffff888080593a80 R14: 0000000000000000 R15: fa2f959a606a15a4 FS: 00007fb87be77700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33b23000 CR3: 0000000087f79000 CR4: 00000000003506f0 Call Trace: lock_acquire.part.0+0x11c/0x370 kernel/locking/lockdep.c:5691 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] __ep_remove+0x13c/0xa50 fs/eventpoll.c:735 ep_remove_safe fs/eventpoll.c:782 [inline] ep_clear_and_put+0x21c/0x3b0 fs/eventpoll.c:815 ep_eventpoll_release+0x45/0x60 fs/eventpoll.c:831 __fput+0x27c/0xa90 fs/file_table.c:321 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:0x7fb87b08c0f9 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:00007fb87be77168 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: fffffffffffffffc RBX: 00007fb87b1ac120 RCX: 00007fb87b08c0f9 RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000007 RBP: 00007fb87b0e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000fffefffc R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff4c505ef R14: 00007fb87be77300 R15: 0000000000022000