INFO: task kworker/0:16:17412 blocked for more than 143 seconds. Not tainted 5.8.0-rc3-next-20200701-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:16 D25928 17412 2 0x10004000 Workqueue: afs afs_manage_cell Call Trace: context_switch kernel/sched/core.c:3445 [inline] __schedule+0x8b4/0x1e80 kernel/sched/core.c:4169 schedule+0xd0/0x2a0 kernel/sched/core.c:4244 bit_wait+0x12/0xa0 kernel/sched/wait_bit.c:199 __wait_on_bit+0x60/0x190 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xd5/0x110 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] wait_for_key_construction+0x10b/0x140 security/keys/request_key.c:664 request_key_tag+0x7a/0xb0 security/keys/request_key.c:705 dns_query+0x257/0x6c3 net/dns_resolver/dns_query.c:128 afs_dns_query+0x122/0x390 fs/afs/addr_list.c:249 afs_update_cell fs/afs/cell.c:403 [inline] afs_manage_cell+0x8c5/0x11c0 fs/afs/cell.c:708 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Showing all locks held in the system: 4 locks held by kworker/1:0/17: 4 locks held by kworker/u4:1/21: 1 lock held by khungtaskd/1152: #0: ffffffff89bc3000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by systemd-udevd/3876: 3 locks held by kworker/1:3/6516: 1 lock held by in:imklog/6721: #0: ffff888094d13bb0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:928 6 locks held by kworker/0:5/8441: #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc9001774fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888217f68218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #2: ffff888217f68218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b6/0x3e40 drivers/usb/core/hub.c:5522 #3: ffff88806113f218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #3: ffff88806113f218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x3f0 drivers/base/dd.c:850 #4: ffff8880a6bc51a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #4: ffff8880a6bc51a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x3f0 drivers/base/dd.c:850 #5: ffff888217f59868 (hcd->bandwidth_mutex){+.+.}-{3:3}, at: usb_set_interface+0x295/0xd30 drivers/usb/core/message.c:1403 6 locks held by kworker/0:9/17043: #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc9001719fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888217f5c218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #2: ffff888217f5c218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b6/0x3e40 drivers/usb/core/hub.c:5522 #3: ffff888056857218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #3: ffff888056857218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x3f0 drivers/base/dd.c:850 #4: ffff88808de9b1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #4: ffff88808de9b1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x3f0 drivers/base/dd.c:850 #5: ffff888217f59068 (hcd->bandwidth_mutex){+.+.}-{3:3}, at: usb_set_interface+0x295/0xd30 drivers/usb/core/message.c:1403 2 locks held by kworker/0:16/17412: #0: ffff888214ee4938 ((wq_completion)afs){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888214ee4938 ((wq_completion)afs){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888214ee4938 ((wq_completion)afs){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888214ee4938 ((wq_completion)afs){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888214ee4938 ((wq_completion)afs){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888214ee4938 ((wq_completion)afs){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90004117da8 ((work_completion)(&cell->manager)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 3 locks held by kworker/1:15/17699: #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88821a8bbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc900070ffda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888217ec7218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:773 [inline] #2: ffff888217ec7218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b6/0x3e40 drivers/usb/core/hub.c:5522 2 locks held by kworker/u4:14/23759: #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90001827da8 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 2 locks held by kworker/u4:18/23773: #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa031138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90004817da8 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 5 locks held by kworker/u4:23/23877: 3 locks held by syz-executor.1/31121: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1152 Comm: khungtaskd Not tainted 5.8.0-rc3-next-20200701-syzkaller #0 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+0x18f/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 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:339 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 23877 Comm: kworker/u4:23 Not tainted 5.8.0-rc3-next-20200701-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker RIP: 0010:__bfs kernel/locking/lockdep.c:1515 [inline] RIP: 0010:__bfs+0x128/0x530 kernel/locking/lockdep.c:1479 Code: 24 ba 0a 4d 85 c9 0f 84 c7 02 00 00 48 8b 44 24 08 4d 8d 34 01 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 0f 85 99 03 00 00 4d 8b 3e <4d> 39 fe 75 23 e9 52 01 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 RSP: 0018:ffffc900017567a8 EFLAGS: 00000046 RAX: 1ffffffff18ba4ed RBX: ffffffff8c7edff8 RCX: 1ffffffff18b4794 RDX: 1ffffffff1825c24 RSI: ffffffff8c5dafc8 RDI: ffffffff8c7ee008 RBP: ffffc90001756888 R08: ffffffff8c5db014 R09: ffffffff8c5d2738 R10: 0000000000014732 R11: 0000000000158a08 R12: ffffffff81591ab0 R13: dffffc0000000000 R14: ffffffff8c5d2768 R15: ffffffff8c5d2768 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb2d01128 CR3: 000000006c7eb000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bfs_backwards kernel/locking/lockdep.c:1554 [inline] check_irq_usage+0x148/0xb30 kernel/locking/lockdep.c:2259 check_prev_add kernel/locking/lockdep.c:2500 [inline] check_prevs_add kernel/locking/lockdep.c:2601 [inline] validate_chain kernel/locking/lockdep.c:3218 [inline] __lock_acquire+0x2ae1/0x56e0 kernel/locking/lockdep.c:4380 lock_acquire+0x1f1/0xad0 kernel/locking/lockdep.c:4959 write_seqcount_begin_nested include/linux/seqlock.h:408 [inline] write_seqcount_begin include/linux/seqlock.h:413 [inline] psi_group_change+0xd3/0x750 kernel/sched/psi.c:707 psi_task_switch+0x2fb/0x400 kernel/sched/psi.c:833 psi_sched_switch kernel/sched/stats.h:144 [inline] __schedule+0xaac/0x1e80 kernel/sched/core.c:4164 preempt_schedule_irq+0xb0/0x150 kernel/sched/core.c:4427 idtentry_exit_cond_resched arch/x86/entry/common.c:621 [inline] idtentry_exit_cond_rcu+0xc0/0xf0 arch/x86/entry/common.c:668 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 RIP: 0010:memcpy+0x43/0x60 mm/kasan/common.c:109 Code: 89 ef e8 50 25 00 00 84 c0 74 2c 48 8b 4c 24 18 ba 01 00 00 00 4c 89 e6 4c 89 ef e8 37 25 00 00 84 c0 74 13 4c 89 e2 48 89 ee <4c> 89 ef 5d 41 5c 41 5d e9 80 ae 35 06 5d 31 c0 41 5c 41 5d c3 0f RSP: 0018:ffffc90001756f10 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90001757340 RCX: ffffffff839a6388 RDX: 0000000000000028 RSI: ffffc90001757210 RDI: ffffc90001757368 RBP: ffffc90001757210 R08: 0000000000000001 R09: ffffc9000175738f R10: fffff520002eae71 R11: 000427f3e08ec8d3 R12: 0000000000000028 R13: ffffc90001757368 R14: 0007ffffffffffff R15: 003ffffffffffff8 memcpy include/linux/string.h:406 [inline] addanddouble_fmonty lib/crypto/curve25519-hacl64.c:502 [inline] ladder_smallloop_cmult_small_loop_step lib/crypto/curve25519-hacl64.c:552 [inline] ladder_smallloop_cmult_small_loop_double_step lib/crypto/curve25519-hacl64.c:562 [inline] ladder_smallloop_cmult_small_loop lib/crypto/curve25519-hacl64.c:572 [inline] ladder_bigloop_cmult_big_loop lib/crypto/curve25519-hacl64.c:585 [inline] ladder_cmult.constprop.0+0x6c8/0x4c20 lib/crypto/curve25519-hacl64.c:599 curve25519_generic+0x2a4/0x5550 lib/crypto/curve25519-hacl64.c:781 curve25519_arch+0x1f7/0x230 arch/x86/crypto/curve25519-x86_64.c:1391