INFO: task syz-executor.3:24945 blocked for more than 143 seconds. Not tainted 5.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28120 24945 7399 0x00000004 Call Trace: context_switch kernel/sched/core.c:3366 [inline] __schedule+0x937/0x1ff0 kernel/sched/core.c:4082 __sched_text_start+0x8/0x8 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 schedule+0xd0/0x2a0 kernel/sched/core.c:4157 schedule_timeout+0x55b/0x850 kernel/time/timer.c:1873 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] mark_lock+0x12b/0xf10 kernel/locking/lockdep.c:3912 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 usleep_range+0x160/0x160 kernel/time/timer.c:2092 do_wait_for_common kernel/sched/completion.c:84 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x162/0x270 kernel/sched/completion.c:138 print_usage_bug+0x240/0x240 kernel/locking/lockdep.c:101 lock_downgrade+0x840/0x840 kernel/locking/lockdep.c:4579 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 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+0x16a/0x270 kernel/sched/completion.c:138 wait_for_completion_interruptible+0x2e0/0x2e0 kernel/sched/completion.c:89 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 __flush_work+0x4fd/0xa80 kernel/workqueue.c:3045 queue_delayed_work_on+0x210/0x210 arch/x86/include/asm/paravirt.h:759 __write_once_size include/linux/compiler.h:226 [inline] INIT_LIST_HEAD include/linux/list.h:35 [inline] init_pwq+0x350/0x350 kernel/workqueue.c:3747 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] mark_lock+0x12b/0xf10 kernel/locking/lockdep.c:3912 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __cancel_work_timer+0x3a2/0x500 kernel/workqueue.c:3132 mod_delayed_work_on+0x1f0/0x1f0 arch/x86/include/asm/paravirt.h:759 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 inode_lock include/linux/fs.h:797 [inline] __sock_release+0x86/0x280 net/socket.c:604 lock_release+0x800/0x800 kernel/locking/lockdep.c:4689 fault_around_bytes_set+0x90/0x90 mm/memory.c:3732 __sock_release+0x280/0x280 net/socket.c:605 tls_sk_proto_close+0x4a9/0xaf0 net/tls/tls_main.c:305 wait_on_pending_writer+0x3f0/0x3f0 net/tls/tls_main.c:89 ip_mc_drop_socket+0x16/0x260 net/ipv4/igmp.c:2668 __sock_release+0x280/0x280 net/socket.c:605 inet_release+0xe4/0x1f0 net/ipv4/af_inet.c:428 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:474 __sock_release+0xcd/0x280 net/socket.c:605 sock_close+0x18/0x20 net/socket.c:1278 __fput+0x33e/0x880 fs/file_table.c:280 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 pte_alloc_one+0x135/0x190 arch/x86/mm/pgtable.c:26 __do_softirq+0xce/0x9f7 kernel/softirq.c:266 Showing all locks held in the system: 2 locks held by kworker/u4:1/21: #0: ffff8880ae637c98 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x9be/0xdb0 kernel/sched/fair.c:10511 #1: ffffffff899bea40 (rcu_read_lock){....}-{1:2}, at: __update_idle_core+0x42/0x3e0 kernel/sched/fair.c:5968 1 lock held by khungtaskd/1144: #0: ffffffff899bea40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754 1 lock held by in:imklog/6762: #0: ffff88809d51d3b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 3 locks held by kworker/1:20/32570: #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x844/0x16a0 kernel/workqueue.c:2239 #1: ffffc9000783fdc0 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x878/0x16a0 kernel/workqueue.c:2243 #2: ffff88808affe4d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2212 1 lock held by syz-executor.3/24945: #0: ffff88804dd62210 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline] #0: ffff88804dd62210 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:604 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1144 Comm: khungtaskd Not tainted 5.7.0-rc5-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+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x388/0x470 kernel/kthread.c:268 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1090 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4120 Comm: systemd-journal Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data+0x1e/0x70 kernel/kcov.c:208 Code: 48 89 11 c3 0f 1f 84 00 00 00 00 00 65 4c 8b 04 25 00 1f 02 00 65 8b 05 b8 eb 8e 7e a9 00 01 1f 00 75 51 41 8b 80 d8 13 00 00 <83> f8 03 75 45 49 8b 80 e0 13 00 00 45 8b 80 dc 13 00 00 4c 8b 08 RSP: 0018:ffffc90001617c08 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81339aa0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff8880cd47ec80 R08: ffff888092eb6540 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000004d47ec80 R13: ffffc90001617c68 R14: 0000000000000000 R15: 0000000000000286 FS: 00007ff4c20418c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4bee0a000 CR3: 000000009396f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __phys_addr+0x90/0x110 arch/x86/mm/physaddr.c:28 virt_to_head_page include/linux/mm.h:833 [inline] qlink_to_cache mm/kasan/quarantine.c:128 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:164 quarantine_reduce+0x135/0x170 mm/kasan/quarantine.c:260 __kasan_kmalloc.constprop.0+0x97/0xd0 mm/kasan/common.c:476 slab_post_alloc_hook mm/slab.h:586 [inline] slab_alloc mm/slab.c:3320 [inline] kmem_cache_alloc+0x11b/0x740 mm/slab.c:3484 getname_flags fs/namei.c:138 [inline] getname_flags+0xd2/0x5b0 fs/namei.c:128 rcu_read_lock_any_held.part.0+0x50/0x50 arch/x86/include/asm/paravirt.h:754 do_sys_openat2+0x3fc/0x7d0 fs/open.c:1142 file_open_root+0x400/0x400 fs/open.c:1129 __secure_computing+0x104/0x360 kernel/seccomp.c:950 syscall_trace_enter+0x41d/0xd10 arch/x86/entry/common.c:130 do_sys_open+0xc3/0x140 fs/open.c:1164 filp_open+0x70/0x70 fs/open.c:1117 trace_hardirqs_off_caller+0x55/0x230 kernel/trace/trace_preemptirq.c:73 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7ff4c15d1840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffc812e9598 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc812e98a0 RCX: 00007ff4c15d1840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055e3826e6d10 RBP: 000000000000000d R08: 000000000000c0ff R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055e3826db040 R14: 00007ffc812e9860 R15: 000055e3826e7f00