syzbot


INFO: task hung in tls_push_record (2)

Status: upstream: reported C repro on 2021/04/01 18:00
Reported-by: syzbot+d4e699df6a662f1cec77@syzkaller.appspotmail.com
First crash: 1346d, last: 684d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in tls_push_record net C 472 2236d 2407d 0/28 closed as invalid on 2019/06/10 23:18
linux-4.19 INFO: task hung in tls_push_record 1 1494d 1494d 0/1 auto-closed as invalid on 2021/03/04 13:33
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2021/11/02 14:05 11m bisect fix linux-4.19.y error job log
2021/10/03 13:35 30m bisect fix linux-4.19.y OK (0) job log log
2021/09/03 11:52 31m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
INFO: task syz-executor889:8128 blocked for more than 140 seconds.
      Not tainted 4.19.200-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor889 D28640  8128   8127 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794
 do_wait_for_common kernel/sched/completion.c:83 [inline]
 __wait_for_common kernel/sched/completion.c:104 [inline]
 wait_for_common+0x29c/0x470 kernel/sched/completion.c:115
 crypto_wait_req include/linux/crypto.h:517 [inline]
 tls_do_encryption net/tls/tls_sw.c:193 [inline]
 tls_push_record+0xec4/0x1370 net/tls/tls_sw.c:228
 tls_sw_sendpage+0x8c6/0xd00 net/tls/tls_sw.c:585
 inet_sendpage+0x164/0x650 net/ipv4/af_inet.c:815
 kernel_sendpage net/socket.c:3581 [inline]
 sock_sendpage+0xdf/0x140 net/socket.c:912
 pipe_to_sendpage+0x268/0x330 fs/splice.c:452
 splice_from_pipe_feed fs/splice.c:503 [inline]
 __splice_from_pipe+0x389/0x800 fs/splice.c:627
 splice_from_pipe fs/splice.c:662 [inline]
 generic_splice_sendpage+0xd4/0x140 fs/splice.c:833
 do_splice_from fs/splice.c:852 [inline]
 do_splice fs/splice.c:1154 [inline]
 __do_sys_splice fs/splice.c:1428 [inline]
 __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43fd99
Code: Bad RIP value.
RSP: 002b:00007ffe13431268 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 0000000000400488 RCX: 000000000043fd99
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000100000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000403620
R13: 431bde82d7b634db R14: 00000000004ae018 R15: 0000000000400488

Showing all locks held in the system:
1 lock held by khungtaskd/1570:
 #0: 0000000095b5f741 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
2 locks held by syz-executor889/8128:
 #0: 000000004b3e5d54 (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:62 [inline]
 #0: 000000004b3e5d54 (&pipe->mutex/1){+.+.}, at: pipe_lock+0x63/0x80 fs/pipe.c:70
 #1: 00000000a3973004 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1510 [inline]
 #1: 00000000a3973004 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendpage+0x151/0xd00 net/tls/tls_sw.c:525

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.200-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+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
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 (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/31 22:05 linux-4.19.y 53bd76690e27 6c236867 .config console log report syz C ci2-linux-4-19 INFO: task hung in tls_push_record
2023/01/23 06:50 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/12/02 22:43 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/10/16 17:01 linux-4.19.y 3f8a27f9e27b 67cb024c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/09/30 19:20 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/09/30 17:49 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/09/28 21:07 linux-4.19.y 3f8a27f9e27b a41a2080 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/09/28 20:20 linux-4.19.y 3f8a27f9e27b a41a2080 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/09/28 01:53 linux-4.19.y 3f8a27f9e27b 75c78242 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tls_push_record
2022/08/31 15:00 linux-4.19.y 3f8a27f9e27b 51e54e30 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/08/14 07:35 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/06/26 22:31 linux-4.19.y 3f8a27f9e27b a371c43c .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/04/09 11:58 linux-4.19.y 3f8a27f9e27b e22c3da3 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/03/11 23:18 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/03/08 16:07 linux-4.19.y 3f8a27f9e27b 7bdd8b2c .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/02/24 02:43 linux-4.19.y 3f8a27f9e27b 6e821dbf .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/01/17 20:53 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2022/01/13 02:57 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/12/06 19:14 linux-4.19.y 3f8a27f9e27b 579a8754 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/11/27 00:23 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/11/21 00:10 linux-4.19.y 3f8a27f9e27b 4eb20a4e .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/08/04 11:29 linux-4.19.y 6ca2f514c578 6c236867 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/08/03 07:39 linux-4.19.y 53bd76690e27 6c236867 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/08/03 04:26 linux-4.19.y 53bd76690e27 6c236867 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/07/31 15:37 linux-4.19.y 53bd76690e27 6c236867 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/07/19 10:35 linux-4.19.y fcfbdfe9626e e6a17580 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/04/22 17:19 linux-4.19.y 2965db2e004c 33c28d03 .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/04/10 00:38 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
2021/04/01 17:59 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 INFO: task hung in tls_push_record
* Struck through repros no longer work on HEAD.