INFO: task kworker/u4:7:14956 blocked for more than 143 seconds. Not tainted 5.10.0-rc4-next-20201118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:7 state:D stack:26704 pid:14956 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4269 [inline] __schedule+0x890/0x2030 kernel/sched/core.c:5019 schedule+0xcf/0x270 kernel/sched/core.c:5098 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1847 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x163/0x260 kernel/sched/completion.c:138 kthread_stop+0x17a/0x720 kernel/kthread.c:596 io_put_sq_data fs/io_uring.c:7235 [inline] io_sq_thread_stop+0x452/0x570 fs/io_uring.c:7332 io_finish_async fs/io_uring.c:7339 [inline] io_ring_ctx_free fs/io_uring.c:8494 [inline] io_ring_exit_work+0x102/0x7a0 fs/io_uring.c:8588 process_one_work+0x933/0x15a0 kernel/workqueue.c:2272 worker_thread+0x64c/0x1120 kernel/workqueue.c:2418 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Showing all locks held in the system: 1 lock held by khungtaskd/1656: #0: ffffffff8b339ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6252 1 lock held by systemd-udevd/4898: 1 lock held by in:imklog/8198: #0: ffff888017c10ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932 2 locks held by agetty/8436: #0: ffff888018f50098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc9000101c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 2 locks held by kworker/1:8/14637: #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243 #1: ffffc9000172fda8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 2 locks held by kworker/u4:7/14956: #0: ffff888010069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888010069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888010069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888010069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243 #1: ffffc900024c7da8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 3 locks held by kworker/0:0/18573: #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243 #1: ffffc90002a37da8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 #2: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:250 2 locks held by syz-executor.2/23925: #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3f9/0xad0 net/core/rtnetlink.c:5559 #1: ffffffff8b3423e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8b3423e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f2/0x610 kernel/rcu/tree_exp.h:836 1 lock held by syz-executor.4/23979: #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: sock_do_ioctl+0x1f2/0x2d0 net/socket.c:1048 1 lock held by syz-executor.4/24072: #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: sock_do_ioctl+0x1f2/0x2d0 net/socket.c:1048 1 lock held by syz-executor.5/24035: #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: sock_do_ioctl+0x1f2/0x2d0 net/socket.c:1048 1 lock held by syz-executor.5/24043: #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3f9/0xad0 net/core/rtnetlink.c:5559 1 lock held by syz-executor.5/24153: #0: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: sock_do_ioctl+0x1f2/0x2d0 net/socket.c:1048 4 locks held by syz-executor.3/24087: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1656 Comm: khungtaskd Not tainted 5.10.0-rc4-next-20201118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xd89/0xf30 kernel/hung_task.c:338 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 23934 Comm: systemd-udevd Not tainted 5.10.0-rc4-next-20201118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_read_lock_held_common kernel/rcu/update.c:106 [inline] RIP: 0010:rcu_read_lock_held+0x13/0x40 kernel/rcu/update.c:307 Code: 00 e9 bc fc ff ff 48 c7 c7 80 f1 00 8b e8 75 5e 56 00 e9 87 fc ff ff e8 2b fd 8c 07 41 b8 01 00 00 00 85 c0 75 04 44 89 c0 c3 48 74 00 00 84 c0 74 1a e8 df 89 00 00 84 c0 74 11 be ff ff ff RSP: 0018:ffffc90000d90c78 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff8880b9f1ffe8 RCX: 0000000000000001 RDX: 1ffff110173e3ffd RSI: 0000000000000001 RDI: ffff8880b9e35058 RBP: ffff88801a501ad8 R08: 0000000000000001 R09: ffff888010dfc51f R10: ffffed10021bf8a3 R11: 0000000000000000 R12: ffff8880b9e34f80 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f3d858128c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056266c3330e0 CR3: 000000002ccbb000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: select_idle_sibling kernel/sched/fair.c:6310 [inline] select_task_rq_fair+0x225f/0x3450 kernel/sched/fair.c:6766 select_task_rq kernel/sched/core.c:2777 [inline] try_to_wake_up+0x361/0x12f0 kernel/sched/core.c:3412 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1773 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x693/0xea0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1102 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0xbd/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 RIP: 0010:tomoyo_domain_quota_is_ok+0x307/0x550 security/tomoyo/util.c:1093 Code: 41 5d 41 5e 41 5f c3 41 bc 01 00 00 00 31 db e8 7f 57 ee fd 89 d9 44 89 e0 31 ff d3 f8 83 e0 01 41 89 c7 89 c6 e8 b9 4f ee fd <45> 85 ff 74 09 e8 5f 57 ee fd 41 83 c5 01 e8 56 57 ee fd 8d 73 01 RSP: 0018:ffffc900185ef858 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff83823d67 RDX: 0000000000000000 RSI: ffff88802c4b3500 RDI: 0000000000000005 RBP: ffff88801c317a00 R08: 0000000000000001 R09: ffffffff8f089e87 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000020 R13: 0000000000000044 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_supervisor+0x2f2/0xef0 security/tomoyo/common.c:2089 tomoyo_audit_path2_log security/tomoyo/file.c:182 [inline] tomoyo_path2_perm+0x4dc/0x6b0 security/tomoyo/file.c:943 tomoyo_path_rename+0xd2/0x130 security/tomoyo/tomoyo.c:279 security_path_rename+0x1b5/0x2e0 security/security.c:1136 do_renameat2+0x95f/0xc00 fs/namei.c:4451 __do_sys_rename fs/namei.c:4506 [inline] __se_sys_rename fs/namei.c:4504 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4504 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f3d8460ed47 Code: 75 12 48 89 df e8 19 84 07 00 85 c0 0f 95 c0 0f b6 c0 f7 d8 5b c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 52 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 21 41 33 00 f7 d8 64 89 01 48 RSP: 002b:00007fff50e87b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 000056266c309bb0 RCX: 00007f3d8460ed47 RDX: 0000000000000000 RSI: 00007fff50e87b30 RDI: 000056266c30e3e0 RBP: 00007fff50e87bf0 R08: 000056266c30f480 R09: 000056266c30f3a0 R10: 00007f3d858128c0 R11: 0000000000000246 R12: 00007fff50e87b30 R13: 0000000000000001 R14: 000056266bcdd6cb R15: 0000000000000000