INFO: task syz-executor.4:8142 blocked for more than 143 seconds. Not tainted 5.9.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29456 pid: 8142 ppid: 6885 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xea9/0x2230 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4661 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103 tls_sw_sendmsg+0x250/0x1800 net/tls/tls_sw.c:942 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:638 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 __sys_sendto+0x21c/0x320 net/socket.c:1992 __do_sys_sendto net/socket.c:2004 [inline] __se_sys_sendto net/socket.c:2000 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2000 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f6130c38c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000000000002d200 RCX: 000000000045d5b9 RDX: 0000000000000010 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000118d038 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008000 R11: 0000000000000246 R12: 000000000118cfec R13: 00007ffc1d5fe0df R14: 00007f6130c399c0 R15: 000000000118cfec INFO: task syz-executor.4:8146 blocked for more than 143 seconds. Not tainted 5.9.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29848 pid: 8146 ppid: 6885 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xea9/0x2230 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4661 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103 tls_sw_sendmsg+0x250/0x1800 net/tls/tls_sw.c:942 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:638 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 __sys_sendto+0x21c/0x320 net/socket.c:1992 __do_sys_sendto net/socket.c:2004 [inline] __se_sys_sendto net/socket.c:2000 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2000 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f6130c17c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000000000002d200 RCX: 000000000045d5b9 RDX: 0000000000002f80 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 000000000118d0d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008000 R11: 0000000000000246 R12: 000000000118d08c R13: 00007ffc1d5fe0df R14: 00007f6130c189c0 R15: 000000000118d08c INFO: task syz-executor.4:8189 blocked for more than 143 seconds. Not tainted 5.9.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29064 pid: 8189 ppid: 6885 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xea9/0x2230 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1855 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+0x163/0x260 kernel/sched/completion.c:138 __flush_work+0x51f/0xab0 kernel/workqueue.c:3046 __cancel_work_timer+0x5bd/0x6c0 kernel/workqueue.c:3133 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:475 __sock_release+0xcd/0x280 net/socket.c:596 sock_close+0x18/0x20 net/socket.c:1277 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:141 get_signal+0xd89/0x1f00 kernel/signal.c:2561 arch_do_signal+0x82/0x2520 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:136 [inline] exit_to_user_mode_prepare+0x1ae/0x200 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:242 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f6130bf6c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: 0000000000000010 RBX: 000000000002d200 RCX: 000000000045d5b9 RDX: 0000000000000010 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000118d178 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008000 R11: 0000000000000246 R12: 000000000118d12c R13: 00007ffc1d5fe0df R14: 00007f6130bf79c0 R15: 000000000118d12c Showing all locks held in the system: 2 locks held by kworker/u4:6/301: #0: ffff8880ae735e58 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x77f/0xe30 kernel/sched/fair.c:10555 #1: ffffffff89bd6c80 (rcu_read_lock){....}-{1:2}, at: cpu_of kernel/sched/sched.h:1072 [inline] #1: ffffffff89bd6c80 (rcu_read_lock){....}-{1:2}, at: __update_idle_core+0x39/0x3e0 kernel/sched/fair.c:6014 1 lock held by khungtaskd/1172: #0: ffffffff89bd6c80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5829 1 lock held by in:imklog/6549: #0: ffff8880946a3930 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 3 locks held by kworker/1:5/8903: #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc900073afda8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff88808844f8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2251 3 locks held by kworker/0:4/14993: #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa063d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90008197da8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff8880a7e070d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2251 1 lock held by syz-executor.4/8142: #0: ffff88808844f8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x250/0x1800 net/tls/tls_sw.c:942 1 lock held by syz-executor.4/8146: #0: ffff88808844f8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x250/0x1800 net/tls/tls_sw.c:942 1 lock held by syz-executor.4/8189: #0: ffff88803f5cc210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:779 [inline] #0: ffff88803f5cc210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:595 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1172 Comm: khungtaskd Not tainted 5.9.0-rc3-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+0x198/0x1fd 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd7d/0x1000 kernel/hung_task.c:295 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6550 Comm: rs:main Q:Reg Not tainted 5.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:debug_smp_processor_id+0x13/0x20 lib/smp_processor_id.c:59 Code: c7 00 42 94 88 e8 2c 8e 67 f9 e8 2b 70 bc fb eb a2 66 0f 1f 44 00 00 0f 1f 44 00 00 48 c7 c6 40 42 94 88 48 c7 c7 80 42 94 88 b8 fe ff ff 0f 1f 84 00 00 00 00 00 55 48 89 fd 0f 1f 44 00 00 RSP: 0018:ffffc9000999f768 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 1ffff92001333ef7 RCX: ffffffff81aca54d RDX: dffffc0000000000 RSI: ffffffff88944240 RDI: ffffffff88944280 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8ab2c7cf R10: fffffbfff15658f9 R11: 0000000000000000 R12: 0000000000000001 R13: ffffea0001cfbb40 R14: 0000000000101cca R15: ffffc9000999f7e8 FS: 00007faee39f2700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faed800a0b0 CR3: 0000000099465000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:326 [inline] rcu_is_watching+0x11/0xb0 kernel/rcu/tree.c:1111 rcu_read_lock_held_common kernel/rcu/update.c:119 [inline] rcu_read_lock_sched_held+0x1c/0xb0 kernel/rcu/update.c:134 trace_mm_page_alloc include/trace/events/kmem.h:193 [inline] __alloc_pages_nodemask+0x662/0x790 mm/page_alloc.c:4910 alloc_pages_current+0x187/0x280 mm/mempolicy.c:2275 alloc_pages include/linux/gfp.h:545 [inline] __page_cache_alloc mm/filemap.c:957 [inline] __page_cache_alloc+0x314/0x420 mm/filemap.c:942 pagecache_get_page+0x2a6/0xf70 mm/filemap.c:1710 grab_cache_page_write_begin+0x64/0x90 mm/filemap.c:3353 ext4_da_write_begin+0x35c/0x11d0 fs/ext4/inode.c:2965 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3403 ext4_buffered_write_iter+0x235/0x4a0 fs/ext4/file.c:269 ext4_file_write_iter+0x1f0/0x13f0 fs/ext4/file.c:660 call_write_iter include/linux/fs.h:1882 [inline] new_sync_write+0x422/0x650 fs/read_write.c:503 vfs_write+0x5ad/0x730 fs/read_write.c:578 ksys_write+0x12d/0x250 fs/read_write.c:631 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7faee64361cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007faee39f1590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007faed80250a0 RCX: 00007faee64361cd RDX: 000000000000051b RSI: 00007faed80250a0 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007faed8024e20 R13: 00007faee39f15b0 R14: 000055e3c24db440 R15: 000000000000051b