INFO: task syz-executor.1:27384 blocked for more than 143 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29616 pid:27384 ppid: 10869 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 tls_sw_sendmsg+0x245/0x17f0 net/tls/tls_sw.c:942 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:643 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 __sys_sendto+0x230/0x330 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044 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:0x7f0e26814739 RSP: 002b:00007f0e23d49188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0e269190f0 RCX: 00007f0e26814739 RDX: 0000000000000033 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f0e2686ecc4 R08: 0000000020000100 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0e269190f0 R13: 00007fff4a7f2d5f R14: 00007f0e23d49300 R15: 0000000000022000 INFO: task syz-executor.5:27439 blocked for more than 143 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28792 pid:27439 ppid: 3956 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 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+0x56e/0xb10 kernel/workqueue.c:3083 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3170 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:1314 __fput+0x288/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 get_signal+0x1b35/0x2160 kernel/signal.c:2641 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/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:0x7f64bc6ad739 RSP: 002b:00007f64b9c03188 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 RAX: 0000000000000001 RBX: 00007f64bc7b2038 RCX: 00007f64bc6ad739 RDX: 00000000fffffffa RSI: 0000000000000001 RDI: 0000000020000080 RBP: 00007f64bc707cc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f64bc7b2038 R13: 00007ffd53eea2bf R14: 00007f64b9c03300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: #0: ffff8880b9c31a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x1e/0x30 kernel/sched/core.c:474 #1: ffff8880b9c1f9c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39d/0x480 kernel/sched/psi.c:880 #2: ffffffff8b97fe20 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8b97fe20 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xf3/0xfa0 net/batman-adv/network-coding.c:721 1 lock held by khungtaskd/26: #0: ffffffff8b97fe20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6401: #0: ffff8880736a40f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 3 locks held by kworker/0:8/21444: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268 #1: ffffc90003cb7db0 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffff888089dec8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2262 3 locks held by kworker/0:14/21461: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268 #1: ffffc900043bfdb0 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffff8880394c00d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2262 1 lock held by syz-executor.1/27384: #0: ffff8880394c00d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x245/0x17f0 net/tls/tls_sw.c:942 1 lock held by syz-executor.5/27439: #0: ffff8880755fc410 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #0: ffff8880755fc410 (&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: 26 Comm: khungtaskd Not tainted 5.15.0-rc1-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:106 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:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 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: 2957 Comm: systemd-journal Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ep_start_scan+0x1d1/0x270 fs/eventpoll.c:613 Code: c1 ea 03 80 3c 02 00 75 6b 48 c7 83 90 01 00 00 00 00 00 00 48 83 c4 08 4c 89 ef 5b 5d 41 5c 41 5d 41 5e 41 5f e9 cf f7 5a 07 0a 8b 99 ff 65 44 8b 25 7e 76 25 7e 31 ff 44 89 e6 e8 38 92 99 RSP: 0018:ffffc900012dfc48 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88807c683800 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88807c515580 RDI: 0000000000000003 RBP: ffffc900012dfd88 R08: 0000000000000000 R09: ffffc900012dfbc7 R10: ffffffff81dc7f74 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88807c6838d0 R14: ffff88807c6838d0 R15: dffffc0000000000 FS: 00007f4a89e1f8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a875b1010 CR3: 0000000019bce000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ep_send_events fs/eventpoll.c:1649 [inline] ep_poll fs/eventpoll.c:1799 [inline] do_epoll_wait+0x607/0x1940 fs/eventpoll.c:2227 __do_sys_epoll_wait fs/eventpoll.c:2239 [inline] __se_sys_epoll_wait fs/eventpoll.c:2234 [inline] __x64_sys_epoll_wait+0x158/0x270 fs/eventpoll.c:2234 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:0x7f4a890e82e3 Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 3d 29 54 2b 00 00 75 13 49 89 ca b8 e8 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 34 c3 48 83 ec 08 e8 0b c2 00 00 48 89 04 24 RSP: 002b:00007fff439d7ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00005589334c91e0 RCX: 00007f4a890e82e3 RDX: 0000000000000013 RSI: 00007fff439d7ee0 RDI: 0000000000000008 RBP: 00007fff439d80d0 R08: 000000006146b8f2 R09: 00007fff439e3080 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff439d7ee0 R13: 0000000000000001 R14: ffffffffffffffff R15: 0005cc51638b633f ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 75 6b jne 0x74 9: 48 c7 83 90 01 00 00 movq $0x0,0x190(%rbx) 10: 00 00 00 00 14: 48 83 c4 08 add $0x8,%rsp 18: 4c 89 ef mov %r13,%rdi 1b: 5b pop %rbx 1c: 5d pop %rbp 1d: 41 5c pop %r12 1f: 41 5d pop %r13 21: 41 5e pop %r14 23: 41 5f pop %r15 25: e9 cf f7 5a 07 jmpq 0x75af7f9 * 2a: e8 0a 8b 99 ff callq 0xff998b39 <-- trapping instruction 2f: 65 44 8b 25 7e 76 25 mov %gs:0x7e25767e(%rip),%r12d # 0x7e2576b5 36: 7e 37: 31 ff xor %edi,%edi 39: 44 89 e6 mov %r12d,%esi 3c: e8 .byte 0xe8 3d: 38 .byte 0x38 3e: 92 xchg %eax,%edx 3f: 99 cltd