FAULT_FLAG_ALLOW_RETRY missing 30 INFO: task kworker/1:1:25 blocked for more than 120 seconds. CPU: 0 PID: 19356 Comm: syz-executor2 Not tainted 4.17.0-rc1+ #8 Not tainted 4.17.0-rc1+ #8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. handle_userfault.cold.32+0x44/0x5a fs/userfaultfd.c:430 kworker/1:1 D 19864 25 2 0x80000000 Workqueue: events cgwb_release_workfn Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x801/0x1e30 kernel/sched/core.c:3490 do_anonymous_page mm/memory.c:3147 [inline] handle_pte_fault mm/memory.c:3961 [inline] __handle_mm_fault+0x38d8/0x4310 mm/memory.c:4087 handle_mm_fault+0x53a/0xc70 mm/memory.c:4124 __do_page_fault+0x60b/0xe40 arch/x86/mm/fault.c:1399 do_page_fault+0xee/0x8a7 arch/x86/mm/fault.c:1474 schedule+0xef/0x430 kernel/sched/core.c:3549 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1160 RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:65 RSP: 0018:ffff880185f97c38 EFLAGS: 00010202 RAX: ffffed0030bf2fb3 RBX: 0000000000000020 RCX: 0000000000000004 RDX: 0000000000000000 RSI: 0000000020013000 RDI: ffff880185f97d78 RBP: ffff880185f97c70 R08: ffffed0030bf2fb3 R09: ffffed0030bf2faf R10: ffffed0030bf2fb2 R11: ffff880185f97d97 R12: 0000000020013020 R13: 0000000020013000 R14: ffff880185f97d78 R15: 00007ffffffff000 copy_from_user include/linux/uaccess.h:147 [inline] do_fcntl+0xccf/0x14b0 fs/fcntl.c:368 bit_wait+0x18/0x90 kernel/sched/wait_bit.c:197 __do_sys_fcntl fs/fcntl.c:463 [inline] __se_sys_fcntl fs/fcntl.c:448 [inline] __x64_sys_fcntl+0x177/0x1f0 fs/fcntl.c:448 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 __wait_on_bit+0xb3/0x130 kernel/sched/wait_bit.c:48 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455379 RSP: 002b:00007f0bc7327c68 EFLAGS: 00000246 out_of_line_wait_on_bit+0x204/0x3a0 kernel/sched/wait_bit.c:63 ORIG_RAX: 0000000000000048 RAX: ffffffffffffffda RBX: 00007f0bc73286d4 RCX: 0000000000455379 RDX: 0000000020013000 RSI: 0000000000000006 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000008e R14: 00000000006f3df0 R15: 0000000000000000 wait_on_bit include/linux/wait_bit.h:76 [inline] wb_shutdown+0x370/0x470 mm/backing-dev.c:366 cgwb_release_workfn+0x87/0x750 mm/backing-dev.c:509 process_one_work+0xc1e/0x1b50 kernel/workqueue.c:2145 worker_thread+0x1cc/0x1440 kernel/workqueue.c:2279 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Showing all locks held in the system: 2 locks held by kworker/1:1/25: #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000006d437fa9 ((wq_completion)"events"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 0000000058d40e00 ((work_completion)(&wb->release_work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 2 locks held by khungtaskd/891: #0: 00000000a26ea90b (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 00000000a26ea90b (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 00000000128b8ff7 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 2 locks held by kworker/0:2/1979: #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000001eabac29 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 000000003adf4e4e ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 2 locks held by getty/4383: #0: 0000000089910518 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000aabfd9ff (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4384: #0: 00000000c228dc5f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000745e33ea (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4385: #0: 0000000016ed643d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000095a242d1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4386: #0: 00000000c339e94b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000013e1d000 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4387: #0: 00000000efb25c94 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b7dece0b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4388: #0: 000000005e040ee7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000064da3098 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4389: #0: 00000000bc387270 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004cb8cea6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by kworker/u4:5/8458: #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 0000000054a08a2c ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 000000000796512b ((work_completion)(&sub_info->work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 2 locks held by syz-executor7/19446: #0: 00000000e8513c99 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74 #1: 000000005197c894 (rcu_sched_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:281 [inline] #1: 000000005197c894 (rcu_sched_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited.constprop.73+0x9dd/0xad0 kernel/rcu/tree_exp.h:616 2 locks held by syz-executor0/19425: #0: 0000000097f5b3b8 (&sig->cred_guard_mutex){+.+.}, at: __do_sys_perf_event_open+0x129e/0x3040 kernel/events/core.c:10471 #1: 0000000047cc68fe (perf_sched_mutex){+.+.}, at: account_event kernel/events/core.c:9873 [inline] #1: 0000000047cc68fe (perf_sched_mutex){+.+.}, at: perf_event_alloc.part.91+0x25c2/0x3090 kernel/events/core.c:10066 2 locks held by syz-executor5/19439: #0: 00000000755be728 (&sig->cred_guard_mutex){+.+.}, at: __do_sys_perf_event_open+0x129e/0x3040 kernel/events/core.c:10471 #1: 0000000047cc68fe (perf_sched_mutex){+.+.}, at: account_event kernel/events/core.c:9873 [inline] #1: 0000000047cc68fe (perf_sched_mutex){+.+.}, at: perf_event_alloc.part.91+0x25c2/0x3090 kernel/events/core.c:10066 2 locks held by syz-executor2/19451: #0: 0000000034afe62c (&sig->cred_guard_mutex){+.+.}, at: __do_sys_perf_event_open+0x129e/0x3040 kernel/events/core.c:10471 #1: 0000000047cc68fe (perf_sched_mutex){+.+.}, at: account_event kernel/events/core.c:9873 [inline] #1: 0000000047cc68fe (perf_sched_mutex){+.+.}, at: perf_event_alloc.part.91+0x25c2/0x3090 kernel/events/core.c:10066 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 891 Comm: khungtaskd Not tainted 4.17.0-rc1+ #8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0xc10/0xf60 kernel/hung_task.c:249 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4459 Comm: syz-executor0 Not tainted 4.17.0-rc1+ #8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_cmpxchg arch/x86/include/asm/atomic.h:191 [inline] RIP: 0010:atomic_cmpxchg include/asm-generic/atomic-instrumented.h:58 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:87 [inline] RIP: 0010:do_raw_spin_lock+0xcc/0x200 kernel/locking/spinlock_debug.c:113 RSP: 0018:ffff880199c7f9d0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffffff8a83e0a8 RCX: ffffffff815e0371 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8a83e0a8 RBP: ffff880199c7f9f8 R08: fffffbfff1507c16 R09: fffffbfff1507c15 R10: fffffbfff1507c15 R11: ffffffff8a83e0ab R12: ffffffff8a83e0b0 R13: ffffffff8a83e0b8 R14: ffffffff8a83e0a0 R15: ffff880199c7fdb8 FS: 0000000001469940(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000007241e0 CR3: 0000000199c06000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:117 [inline] _raw_spin_lock_irqsave+0x9e/0xc0 kernel/locking/spinlock.c:152 __debug_object_init+0x11f/0x12c0 lib/debugobjects.c:381 debug_object_init_on_stack+0x19/0x20 lib/debugobjects.c:444 hrtimer_init_on_stack kernel/time/hrtimer.c:425 [inline] hrtimer_nanosleep+0x163/0x610 kernel/time/hrtimer.c:1729 __do_sys_nanosleep kernel/time/hrtimer.c:1763 [inline] __se_sys_nanosleep kernel/time/hrtimer.c:1750 [inline] __x64_sys_nanosleep+0x1df/0x270 kernel/time/hrtimer.c:1750 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x480a80 RSP: 002b:0000000000a3ea98 EFLAGS: 00000246 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 000000000000015a RCX: 0000000000480a80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000a3eaa0 RBP: 000000000003c825 R08: 0000000000000001 R09: 0000000001469940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000571 R15: 000000000003c503 Code: 01 00 00 65 8b 05 d5 7d a3 7e 39 43 08 0f 84 af 00 00 00 be 04 00 00 00 48 89 df e8 3f 77 57 00 31 c0 ba 01 00 00 00 f0 0f b1 13 <85> c0 0f 85 a1 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2