syzbot


INFO: task hung in tls_sw_release_resources_tx

Status: closed as dup on 2019/08/17 05:47
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+6a9ff159672dfbb41c95@syzkaller.appspotmail.com
First crash: 1938d, last: 1773d
Cause bisection: introduced by (bisect log) :
commit 130b392c6cd6b2aed1b7eb32253d4920babb4891
Author: Dave Watson <davejwatson@fb.com>
Date: Wed Jan 30 21:58:31 2019 +0000

  net: tls: Add tls 1.3 support

Crash: INFO: task hung in lock_sock_nested (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in aead_recvmsg crypto C done 11991 1773d 2546d
Discussions (3)
Title Replies (including bot) Last reply
INFO: task hung in tls_sw_release_resources_tx 5 (7) 2019/08/21 06:37
Reminder: 6 active syzbot reports in "net/tls" subsystem 1 (1) 2019/08/16 04:18
Re: INFO: task hung in tls_sw_release_resources_tx 1 (1) 2019/08/16 01:11
Last patch testing requests (1)
Created Duration User Patch Repo Result
2019/08/15 23:51 14m jakub.kicinski@netronome.com git://git.kernel.org/pub/scm/linux/kernel/git/kuba/linux.git tls-test report log

Sample crash report:
INFO: task syz-executor153:10198 blocked for more than 143 seconds.
      Not tainted 5.3.0-rc3+ #162
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor153 D27672 10198  10179 0x80000002
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x755/0x1580 kernel/sched/core.c:3880
 schedule+0xa8/0x270 kernel/sched/core.c:3944
 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1783
 do_wait_for_common kernel/sched/completion.c:83 [inline]
 __wait_for_common kernel/sched/completion.c:104 [inline]
 wait_for_common kernel/sched/completion.c:115 [inline]
 wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136
 crypto_wait_req include/linux/crypto.h:685 [inline]
 crypto_wait_req include/linux/crypto.h:680 [inline]
 tls_sw_release_resources_tx+0x4ee/0x6b0 net/tls/tls_sw.c:2075
 tls_sk_proto_cleanup net/tls/tls_main.c:275 [inline]
 tls_sk_proto_close+0x686/0x970 net/tls/tls_main.c:305
 inet_release+0xed/0x200 net/ipv4/af_inet.c:427
 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:470
 __sock_release+0xce/0x280 net/socket.c:590
 sock_close+0x1e/0x30 net/socket.c:1268
 __fput+0x2ff/0x890 fs/file_table.c:280
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x92f/0x2e50 kernel/exit.c:879
 do_group_exit+0x135/0x360 kernel/exit.c:983
 __do_sys_exit_group kernel/exit.c:994 [inline]
 __se_sys_exit_group kernel/exit.c:992 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:992
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43ff88
Code: 00 00 be 3c 00 00 00 eb 19 66 0f 1f 84 00 00 00 00 00 48 89 d7 89 f0 0f 05 48 3d 00 f0 ff ff 77 21 f4 48 89 d7 44 89 c0 0f 05 <48> 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 0f 1f 84 00 00 00
RSP: 002b:00007ffd1c2d0f78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff88
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004bf890 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 1057 Comm: khungtaskd Not tainted 5.3.0-rc3+ #162
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline]
 watchdog+0x9d0/0xef0 kernel/hung_task.c:289
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/15 10:53 net-old 6d5afe20397b 0d298d6b .config console log report syz C ci-upstream-net-this-kasan-gce
2020/01/22 20:50 upstream d96d875ef5dd 8eda0b95 .config console log report ci-upstream-kasan-gce
2019/08/11 12:41 upstream 296d05cb0d3c acb51638 .config console log report ci-upstream-kasan-gce-smack-root
2019/08/11 07:20 upstream 296d05cb0d3c acb51638 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/16 07:13 net-old a9a51bd727d1 cdac920b .config console log report ci-upstream-net-this-kasan-gce
2019/09/12 06:07 net-old f4b752a6b270 f4e53c10 .config console log report ci-upstream-net-this-kasan-gce
2019/09/09 19:45 net-old 28abe5796252 a60cb4cd .config console log report ci-upstream-net-this-kasan-gce
2019/09/02 15:46 net-old dd7078f05e1b db7c31ca .config console log report ci-upstream-net-this-kasan-gce
2019/08/31 06:33 net-old 9e8312f5e160 fd37b39e .config console log report ci-upstream-net-this-kasan-gce
2019/08/30 23:05 net-old 9e8312f5e160 fd37b39e .config console log report ci-upstream-net-this-kasan-gce
2019/08/18 02:17 net-old 712042313b23 55bf8926 .config console log report ci-upstream-net-this-kasan-gce
2019/10/29 10:14 net-next-old d5a721c96a44 5ea87a66 .config console log report ci-upstream-net-kasan-gce
2019/09/20 16:18 net-next-old b41dae061bbd d96e88f3 .config console log report ci-upstream-net-kasan-gce
2019/09/19 04:02 net-next-old 1bab8d4c488b 46c0be24 .config console log report ci-upstream-net-kasan-gce
2019/09/15 10:00 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/01 09:54 net-next-old ed6e8103ba72 bad3cce2 .config console log report ci-upstream-net-kasan-gce
2019/09/01 09:47 net-next-old ed6e8103ba72 bad3cce2 .config console log report ci-upstream-net-kasan-gce
2019/08/27 13:42 net-next-old 3c95e5013b7f d21c5d9d .config console log report ci-upstream-net-kasan-gce
2019/08/16 20:48 net-next-old 459c5fb44379 8fd428a1 .config console log report ci-upstream-net-kasan-gce
2019/08/12 17:29 net-next-old 6e5ee483397a acb51638 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.