INFO: task kworker/0:1:12 blocked for more than 143 seconds. Not tainted 5.8.0-rc2-next-20200626-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:1 D25224 12 2 0x00004000 Workqueue: afs afs_manage_cell Call Trace: context_switch kernel/sched/core.c:3455 [inline] __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4180 schedule+0xd0/0x2a0 kernel/sched/core.c:4255 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+0xff/0x350 fs/afs/addr_list.c:249 afs_update_cell fs/afs/cell.c:395 [inline] afs_manage_cell+0x88e/0x1100 fs/afs/cell.c:699 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: 2 locks held by kworker/0:1/12: #0: ffff8880a44a6138 ((wq_completion)afs){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a44a6138 ((wq_completion)afs){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880a44a6138 ((wq_completion)afs){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880a44a6138 ((wq_completion)afs){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880a44a6138 ((wq_completion)afs){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880a44a6138 ((wq_completion)afs){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90000d2fda8 ((work_completion)(&cell->manager)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 1 lock held by khungtaskd/1140: #0: ffffffff89bc3180 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by systemd-udevd/3883: 1 lock held by in:imklog/6512: #0: ffff8880a3a7d430 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:928 3 locks held by kworker/1:3/6566: #0: ffff8880aa023d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa023d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa023d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa023d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa023d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa023d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90004997da8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffffffff8a7b7968 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:250 2 locks held by kworker/1:7/15807: #0: ffff8880aa033538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa033538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa033538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa033538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa033538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa033538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90006637da8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 1 lock held by syz-executor.0/18106: #0: ffffffff8a028c30 (key_types_sem){++++}-{3:3}, at: key_type_lookup+0x1a/0xf0 security/keys/key.c:704 2 locks held by systemd-udevd/23881: 3 locks held by syz-executor.2/24992: #0: ffffffff8a811cb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:763 #1: ffffffff8a811d68 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8a811d68 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x76a/0x9e0 net/netlink/genetlink.c:751 #2: ffffffff8a7b7968 (rtnl_mutex){+.+.}-{3:3}, at: wiphy_new_nm+0x17f1/0x1e80 net/wireless/core.c:447 2 locks held by syz-executor.4/24998: #0: ffffffff8a7b7968 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:704 [inline] #0: ffffffff8a7b7968 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3421 #1: ffffffff89bc77e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff89bc77e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4e8/0x5f0 kernel/rcu/tree_exp.h:836 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1140 Comm: khungtaskd Not tainted 5.8.0-rc2-next-20200626-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: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc2-next-20200626-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_tt_purge RIP: 0010:mark_lock+0x2/0x1710 kernel/locking/lockdep.c:3925 Code: 0f 1f 84 00 00 00 00 00 be 00 00 01 00 48 c7 c7 00 67 f2 8b e8 3f 7d 3c 02 48 98 c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 41 57 <41> 56 41 55 41 54 55 53 48 83 ec 20 83 fa 08 76 51 48 c7 c0 a0 a1 RSP: 0018:ffffc90000e27be8 EFLAGS: 00000002 RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000000000006 RDX: 0000000000000006 RSI: ffff8880a90429c0 RDI: ffff8880a90420c0 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffffff8c59cae7 R10: fffffbfff18b395c R11: 0000000000000000 R12: ffff8880a90420c0 R13: dffffc0000000000 R14: ffff8880a9042998 R15: 0000000000000292 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a617f2000 CR3: 0000000093485000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3609 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 trace_hardirqs_on+0x5f/0x220 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0x159/0x250 kernel/softirq.c:194 spin_unlock_bh include/linux/spinlock.h:399 [inline] batadv_tt_global_purge net/batman-adv/translation-table.c:2531 [inline] batadv_tt_purge+0x3a3/0xaf0 net/batman-adv/translation-table.c:3802 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