INFO: task syz.2.1866:11182 blocked for more than 143 seconds. Not tainted 6.10.0-next-20240718-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1866 state:D stack:22040 pid:11182 tgid:11182 ppid:9314 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 eventpoll_release_file+0xcb/0x1c0 fs/eventpoll.c:1106 eventpoll_release include/linux/eventpoll.h:53 [inline] __fput+0x6e0/0x8a0 fs/file_table.c:413 task_work_run+0x24f/0x310 kernel/task_work.c:222 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3a24575b59 RSP: 002b:00007fff4ece2d88 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f3a24705a60 RCX: 00007f3a24575b59 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f3a24705a60 R08: 0000000000000006 R09: 0000000b4ece30af R10: 00000000005ec6f0 R11: 0000000000000246 R12: 00000000000741b4 R13: 0000000000000032 R14: 00007f3a24705a60 R15: 00007f3a24704038 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e337aa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e337aa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e337aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695 2 locks held by kworker/u8:7/2832: 2 locks held by getty/4856: #0: ffff88802a2900a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 5 locks held by kworker/0:4/5155: #0: ffff88801cae6548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88801cae6548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90004037d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90004037d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888023dbe190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888023dbe190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88806f4ea190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88806f4ea190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #4: ffff888072369160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff888072369160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 5 locks held by kworker/u8:10/6194: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900109bfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900109bfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5fced0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11874 #4: ffffffff8e33ce78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ce78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:967 3 locks held by kworker/0:6/7005: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90004be7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90004be7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by syz.2.1866/11182: #0: ffff88807bdfc868 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xcb/0x1c0 fs/eventpoll.c:1106 3 locks held by syz.2.1866/11183: 1 lock held by syz-executor/12470: #0: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 2 locks held by syz.0.2249/12585: #0: ffffffff8f66f490 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16547 2 locks held by syz.4.2251/12588: #0: ffffffff8ee58488 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x112/0x1cd0 drivers/net/ppp/ppp_generic.c:729 #1: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: ppp_create_interface drivers/net/ppp/ppp_generic.c:3346 [inline] #1: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1060 [inline] #1: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x78b/0x1cd0 drivers/net/ppp/ppp_generic.c:733 1 lock held by syz.4.2251/12592: #0: ffffffff8ee58488 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x112/0x1cd0 drivers/net/ppp/ppp_generic.c:729 2 locks held by syz.1.2253/12591: #0: ffffffff8f66f490 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f609a48 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16547 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-next-20240718-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 11183 Comm: syz.2.1866 Not tainted 6.10.0-next-20240718-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4870 [inline] RIP: 0010:__lock_acquire+0xace/0x2050 kernel/locking/lockdep.c:5149 Code: c1 0f 8c 52 fe ff ff 48 c7 c7 10 fd af 8f e8 59 86 8b 00 48 ba 00 00 00 00 00 fc ff df e9 37 fe ff ff 8b 44 24 08 38 44 24 54 <4c> 8b 64 24 30 4c 8b 6c 24 48 4c 8b 7c 24 10 76 37 e8 bc 8e 3d 03 RSP: 0018:ffffc9000972f5b0 EFLAGS: 00000093 RAX: 0000000000000003 RBX: ffffffff92d0ad2e RCX: 0000000000000003 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff9300f830 RBP: 0000000000000003 R08: ffffffff9300f837 R09: 1ffffffff2601f06 R10: dffffc0000000000 R11: fffffbfff2601f07 R12: 0000000000000002 R13: ffff88802dd6e550 R14: 0000000000000002 R15: ffff88802dd6e550 FS: 00007f3a253936c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008040 CR3: 000000002d58c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5822 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] mt_find+0x247/0x850 lib/maple_tree.c:6930 find_vma+0xf9/0x170 mm/mmap.c:2019 lock_mm_and_find_vma+0x5f/0x2f0 mm/memory.c:5924 do_user_addr_fault arch/x86/mm/fault.c:1361 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x1bf/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_nocheck_4+0x7/0x20 arch/x86/lib/putuser.S:97 Code: d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 01 cb <89> 01 31 c9 0f 01 ca c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc9000972fb38 EFLAGS: 00050246 RAX: 0000000000000008 RBX: ffff88801ceddc6c RCX: 0000000020008040 RDX: ffff88802dd6da00 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffffc9000972fdb8 R08: ffffffff822286b6 R09: 1ffff1100c2bd68b R10: dffffc0000000000 R11: ffffed100c2bd68c R12: 0000000020008040 R13: 0000000000000000 R14: 0000000000000008 R15: 1ffff110039dbb8d epoll_put_uevent include/linux/eventpoll.h:81 [inline] ep_send_events fs/eventpoll.c:1876 [inline] ep_poll fs/eventpoll.c:2005 [inline] do_epoll_wait+0xe3a/0x2040 fs/eventpoll.c:2464 do_epoll_pwait+0x56/0x1e0 fs/eventpoll.c:2498 __do_sys_epoll_pwait fs/eventpoll.c:2511 [inline] __se_sys_epoll_pwait fs/eventpoll.c:2505 [inline] __x64_sys_epoll_pwait+0x2b8/0x310 fs/eventpoll.c:2505 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3a24575b59 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3a25393048 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 00007f3a24703f60 RCX: 00007f3a24575b59 RDX: 0000000000000001 RSI: 0000000020008040 RDI: 0000000000000008 RBP: 00007f3a245e4e5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000401 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3a24703f60 R15: 00007fff4ece2ca8