INFO: task syz-executor300:6889 can't die for more than 143 seconds. task:syz-executor300 state:D stack:23960 pid: 6889 ppid: 6564 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 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+0x176/0x280 kernel/sched/completion.c:138 __flush_work+0x50e/0xad0 kernel/workqueue.c:3053 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3140 tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:305 inet_release+0x12e/0x280 net/ipv4/af_inet.c:431 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:479 __sock_release+0xcd/0x280 net/socket.c:649 sock_close+0x18/0x20 net/socket.c:1311 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x405573 RSP: 002b:00007fff61e247d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000405573 RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff61e247f0 R13: 00000000000f4240 R14: 00000000004b8018 R15: 00000000004004b8 INFO: task syz-executor300:6889 blocked for more than 143 seconds. Not tainted 5.14.0-rc4-next-20210806-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor300 state:D stack:23960 pid: 6889 ppid: 6564 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 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+0x176/0x280 kernel/sched/completion.c:138 __flush_work+0x50e/0xad0 kernel/workqueue.c:3053 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3140 tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:305 inet_release+0x12e/0x280 net/ipv4/af_inet.c:431 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:479 __sock_release+0xcd/0x280 net/socket.c:649 sock_close+0x18/0x20 net/socket.c:1311 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x405573 RSP: 002b:00007fff61e247d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000405573 RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff61e247f0 R13: 00000000000f4240 R14: 00000000004b8018 R15: 00000000004004b8 Showing all locks held in the system: 3 locks held by kworker/0:1/7: #0: ffff888010864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010864d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888010864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888010864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2247 #1: ffffc90000cc7db0 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2251 #2: ffff88807d66e8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2262 1 lock held by khungtaskd/27: #0: ffffffff8b97f140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by syz-executor300/6889: #0: ffff88807677d610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:779 [inline] #0: ffff88807677d610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.14.0-rc4-next-20210806-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2976 Comm: systemd-journal Not tainted 5.14.0-rc4-next-20210806-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:lockdep_hardirqs_off+0x3a/0xd0 kernel/locking/lockdep.c:4372 Code: 05 bb b6 d3 76 a9 00 00 f0 00 55 53 48 89 fb 74 49 8b 15 49 bf f4 06 85 d2 74 0e 65 8b 05 fa bd d3 76 85 c0 75 4e 5b 5d c3 9c <58> f6 c4 02 74 eb e8 ab d9 a3 fa 85 c0 74 ed 8b 05 a9 77 3f 04 85 RSP: 0018:ffffc90002bcfaf8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffffff8930ebbe RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff90436a78 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bee18 R11: 0000000000000000 R12: 0000000000000a06 R13: 0000000000000000 R14: dead000000000100 R15: dffffc0000000000 FS: 00007efdd503e8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdd241c000 CR3: 000000001b8bf000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0x13/0x1b0 kernel/trace/trace_preemptirq.c:76 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] _raw_spin_lock_irqsave+0x4e/0x50 kernel/locking/spinlock.c:159 __debug_check_no_obj_freed lib/debugobjects.c:975 [inline] debug_check_no_obj_freed+0xc7/0x420 lib/debugobjects.c:1018 free_pages_prepare mm/page_alloc.c:1343 [inline] free_pcp_prepare+0x2ae/0x860 mm/page_alloc.c:1389 free_unref_page_prepare mm/page_alloc.c:3315 [inline] free_unref_page+0x19/0x690 mm/page_alloc.c:3394 __unfreeze_partials+0x1bc/0x210 mm/slub.c:2476 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x8e/0xa0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3167 [inline] slab_alloc mm/slub.c:3175 [inline] kmem_cache_alloc+0x20d/0x390 mm/slub.c:3180 getname_flags.part.0+0x50/0x4f0 fs/namei.c:138 getname_flags+0x9a/0xe0 include/linux/audit.h:319 getname fs/namei.c:209 [inline] user_path_create fs/namei.c:3660 [inline] do_mkdirat+0x8d/0x310 fs/namei.c:3838 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efdd42f9687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd0a4d58f8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007ffd0a4d8810 RCX: 00007efdd42f9687 RDX: 00007efdd4d6aa00 RSI: 00000000000001ed RDI: 000055eec83958a0 RBP: 00007ffd0a4d5930 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffd0a4d8810 R15: 00007ffd0a4d5e20 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.041 msecs