[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 19.999675] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.900527] random: sshd: uninitialized urandom read (32 bytes read) [ 22.310872] random: sshd: uninitialized urandom read (32 bytes read) [ 23.189718] random: sshd: uninitialized urandom read (32 bytes read) [ 23.851557] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.8' (ECDSA) to the list of known hosts. [ 29.429382] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 29.531939] FAULT_INJECTION: forcing a failure. [ 29.531939] name failslab, interval 1, probability 0, space 0, times 1 [ 29.543326] CPU: 0 PID: 4567 Comm: syz-executor589 Not tainted 4.18.0-rc4+ #141 [ 29.550799] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.560142] Call Trace: [ 29.562720] dump_stack+0x1c9/0x2b4 [ 29.566353] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.571541] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.577071] ? __do_page_fault+0x449/0xe50 [ 29.581303] should_fail.cold.4+0xa/0x1a [ 29.585359] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 29.590469] ? graph_lock+0x170/0x170 [ 29.594271] ? graph_lock+0x170/0x170 [ 29.598064] ? graph_lock+0x170/0x170 [ 29.601852] ? vmalloc_sync_all+0x30/0x30 [ 29.605988] ? sk_busy_loop_end+0x1c0/0x1c0 [ 29.610310] ? trace_hardirqs_on+0x10/0x10 [ 29.614541] ? find_held_lock+0x36/0x1c0 [ 29.618616] ? __lock_is_held+0xb5/0x140 [ 29.622675] ? check_same_owner+0x340/0x340 [ 29.627002] ? check_same_owner+0x340/0x340 [ 29.631327] ? rcu_note_context_switch+0x730/0x730 [ 29.636269] __should_failslab+0x124/0x180 [ 29.640518] should_failslab+0x9/0x14 [ 29.644315] __kmalloc+0x2c8/0x760 [ 29.647872] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 29.652880] ? _copy_from_iter+0x39d/0x1090 [ 29.657202] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 29.662227] ? tls_push_record+0x10d/0x1400 [ 29.666563] ? __check_object_size+0x9d/0x5f2 [ 29.671081] tls_push_record+0x10d/0x1400 [ 29.675328] ? _copy_from_iter_nocache+0x1050/0x1050 [ 29.680435] ? __local_bh_enable_ip+0x161/0x230 [ 29.685121] tls_sw_sendmsg+0x9e6/0x12c0 [ 29.689183] ? lock_release+0xa30/0xa30 [ 29.693185] ? tls_sw_push_pending_record+0x30/0x30 [ 29.698212] ? lock_downgrade+0x8f0/0x8f0 [ 29.702369] ? __sanitizer_cov_trace_cmp2+0x7/0x20 [ 29.707326] ? lock_release+0xa30/0xa30 [ 29.711302] ? __check_object_size+0x9d/0x5f2 [ 29.715787] inet_sendmsg+0x1a1/0x690 [ 29.719601] ? ipip_gro_receive+0x100/0x100 [ 29.723935] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.729459] ? security_socket_sendmsg+0x94/0xc0 [ 29.734199] ? ipip_gro_receive+0x100/0x100 [ 29.738537] sock_sendmsg+0xd5/0x120 [ 29.742243] __sys_sendto+0x3d7/0x670 [ 29.746047] ? __ia32_sys_getpeername+0xb0/0xb0 [ 29.750729] ? lock_downgrade+0x8f0/0x8f0 [ 29.754874] ? __lock_is_held+0xb5/0x140 [ 29.758945] ? __sb_end_write+0xac/0xe0 [ 29.762928] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.768453] ? ksys_write+0x1ae/0x260 [ 29.772252] ? __ia32_sys_read+0xb0/0xb0 [ 29.776409] ? syscall_slow_exit_work+0x500/0x500 [ 29.781245] __x64_sys_sendto+0xe1/0x1a0 [ 29.785561] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.790578] do_syscall_64+0x1b9/0x820 [ 29.794457] ? syscall_return_slowpath+0x5e0/0x5e0 [ 29.799377] ? syscall_return_slowpath+0x31d/0x5e0 [ 29.804297] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 29.809663] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.814503] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.819675] RIP: 0033:0x440699 [ 29.822848] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 29.842171] RSP: 002b:00007fff51750158 EFLAGS: 00000212 ORIG_RAX: 000000000000002c [ 29.849866] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440699 [ 29.857129] RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 0000000000000003 [ 29.864387] RBP: 00000000006cb018 R08: 0000000020000000 R09: 000000000000001c [ 29.871655] R10: 0000000000000040 R11: 0000000000000212 R12: 0000000000000005 [ 29.878912] R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000 [ 29.888661] ================================================================== [ 29.896153] BUG: KASAN: use-after-free in tls_push_record+0x1091/0x1400 [ 29.902889] Write of size 1 at addr ffff8801ae430000 by task syz-executor589/4567 [ 29.910489] [ 29.912114] CPU: 0 PID: 4567 Comm: syz-executor589 Not tainted 4.18.0-rc4+ #141 [ 29.919536] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.928900] Call Trace: [ 29.931489] dump_stack+0x1c9/0x2b4 [ 29.935130] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.940310] ? printk+0xa7/0xcf [ 29.943572] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 29.948313] ? tls_push_record+0x1091/0x1400 [ 29.952706] print_address_description+0x6c/0x20b [ 29.957532] ? tls_push_record+0x1091/0x1400 [ 29.961943] kasan_report.cold.7+0x242/0x2fe [ 29.966343] __asan_report_store1_noabort+0x17/0x20 [ 29.971356] tls_push_record+0x1091/0x1400 [ 29.975576] ? lock_sock_nested+0x9f/0x120 [ 29.979796] tls_sw_push_pending_record+0x22/0x30 [ 29.984620] tls_sk_proto_close+0x74c/0xae0 [ 29.988923] ? lock_acquire+0x1e4/0x540 [ 29.992896] ? tcp_check_oom+0x530/0x530 [ 29.996941] ? tls_write_space+0x360/0x360 [ 30.001164] ? rcu_note_context_switch+0x730/0x730 [ 30.006087] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.011616] ? ipv6_sock_ac_close+0x356/0x490 [ 30.016104] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.021639] ? ipv6_sock_mc_close+0x162/0x1d0 [ 30.026138] ? ip_mc_drop_socket+0x20f/0x270 [ 30.030531] ? down_write+0x8f/0x130 [ 30.034241] inet_release+0x104/0x1f0 [ 30.038040] inet6_release+0x50/0x70 [ 30.041741] __sock_release+0xd7/0x260 [ 30.045612] ? __sock_release+0x260/0x260 [ 30.049757] sock_close+0x19/0x20 [ 30.053204] __fput+0x355/0x8b0 [ 30.056468] ? fput+0x1a0/0x1a0 [ 30.059743] ? check_same_owner+0x340/0x340 [ 30.064075] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.068558] ____fput+0x15/0x20 [ 30.071827] task_work_run+0x1ec/0x2a0 [ 30.075699] ? task_work_cancel+0x250/0x250 [ 30.080023] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.085554] ? switch_task_namespaces+0xa2/0xd0 [ 30.090212] do_exit+0x1b08/0x2750 [ 30.093769] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.098430] ? lock_downgrade+0x8f0/0x8f0 [ 30.103090] ? finish_task_switch+0x18a/0x870 [ 30.107578] ? kasan_check_read+0x11/0x20 [ 30.111721] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.116113] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.120677] ? compat_start_thread+0x80/0x80 [ 30.125074] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.129572] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 30.134577] ? kasan_check_write+0x14/0x20 [ 30.138796] ? finish_task_switch+0x2ca/0x870 [ 30.143284] ? preempt_notifier_register+0x200/0x200 [ 30.148384] ? lock_repin_lock+0x430/0x430 [ 30.152613] ? __sched_text_start+0x8/0x8 [ 30.156758] ? security_socket_sendmsg+0x94/0xc0 [ 30.161497] ? ipip_gro_receive+0x100/0x100 [ 30.165810] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.171332] ? sock_sendmsg+0x5a/0x120 [ 30.175203] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.180739] ? __sys_sendto+0x475/0x670 [ 30.184698] ? __ia32_sys_getpeername+0xb0/0xb0 [ 30.189352] ? lock_downgrade+0x8f0/0x8f0 [ 30.193486] ? schedule+0xfb/0x450 [ 30.197019] ? __schedule+0x1ed0/0x1ed0 [ 30.200992] ? __sb_end_write+0xac/0xe0 [ 30.204964] do_group_exit+0x177/0x440 [ 30.209320] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.214845] ? __ia32_sys_exit+0x50/0x50 [ 30.218899] ? syscall_slow_exit_work+0x500/0x500 [ 30.223737] ? do_syscall_64+0x9a/0x820 [ 30.227698] __x64_sys_exit_group+0x3e/0x50 [ 30.232004] do_syscall_64+0x1b9/0x820 [ 30.235899] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.240902] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.245831] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 30.251182] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.256018] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.261225] RIP: 0033:0x43f358 [ 30.264398] Code: Bad RIP value. [ 30.267753] RSP: 002b:00007fff51750198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.275451] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f358 [ 30.282702] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.289953] RBP: 00000000004bf448 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.297208] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 [ 30.304483] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 30.311745] [ 30.313352] The buggy address belongs to the page: [ 30.318259] page:ffffea0006b90c00 count:0 mapcount:-128 mapping:0000000000000000 index:0x0 [ 30.326650] flags: 0x2fffc0000000000() [ 30.330531] raw: 02fffc0000000000 ffffea0006b96408 ffff88021fffac18 0000000000000000 [ 30.338480] raw: 0000000000000000 0000000000000003 00000000ffffff7f 0000000000000000 [ 30.346339] page dumped because: kasan: bad access detected [ 30.352029] [ 30.353640] Memory state around the buggy address: [ 30.358556] ffff8801ae42ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.365899] ffff8801ae42ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.373241] >ffff8801ae430000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.380592] ^ [ 30.383949] ffff8801ae430080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.391304] ffff8801ae430100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.398648] ================================================================== [ 30.405991] Disabling lock debugging due to kernel taint [ 30.411586] Kernel panic - not syncing: panic_on_warn set ... [ 30.411586] [ 30.418950] CPU: 0 PID: 4567 Comm: syz-executor589 Tainted: G B 4.18.0-rc4+ #141 [ 30.427763] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.437111] Call Trace: [ 30.439697] dump_stack+0x1c9/0x2b4 [ 30.443309] ? dump_stack_print_info.cold.2+0x52/0x52 [ 30.448510] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.453262] panic+0x238/0x4e7 [ 30.456439] ? add_taint.cold.5+0x16/0x16 [ 30.460572] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.464975] ? tls_push_record+0x1091/0x1400 [ 30.469373] kasan_end_report+0x47/0x4f [ 30.473335] kasan_report.cold.7+0x76/0x2fe [ 30.477641] __asan_report_store1_noabort+0x17/0x20 [ 30.482641] tls_push_record+0x1091/0x1400 [ 30.486866] ? lock_sock_nested+0x9f/0x120 [ 30.491087] tls_sw_push_pending_record+0x22/0x30 [ 30.495919] tls_sk_proto_close+0x74c/0xae0 [ 30.500232] ? lock_acquire+0x1e4/0x540 [ 30.504194] ? tcp_check_oom+0x530/0x530 [ 30.508246] ? tls_write_space+0x360/0x360 [ 30.512469] ? rcu_note_context_switch+0x730/0x730 [ 30.517380] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.522903] ? ipv6_sock_ac_close+0x356/0x490 [ 30.527379] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.532896] ? ipv6_sock_mc_close+0x162/0x1d0 [ 30.537377] ? ip_mc_drop_socket+0x20f/0x270 [ 30.541770] ? down_write+0x8f/0x130 [ 30.545469] inet_release+0x104/0x1f0 [ 30.549252] inet6_release+0x50/0x70 [ 30.552949] __sock_release+0xd7/0x260 [ 30.556829] ? __sock_release+0x260/0x260 [ 30.560958] sock_close+0x19/0x20 [ 30.564400] __fput+0x355/0x8b0 [ 30.567664] ? fput+0x1a0/0x1a0 [ 30.570934] ? check_same_owner+0x340/0x340 [ 30.575239] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.579717] ____fput+0x15/0x20 [ 30.582979] task_work_run+0x1ec/0x2a0 [ 30.586848] ? task_work_cancel+0x250/0x250 [ 30.591153] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.596677] ? switch_task_namespaces+0xa2/0xd0 [ 30.601327] do_exit+0x1b08/0x2750 [ 30.604851] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.609504] ? lock_downgrade+0x8f0/0x8f0 [ 30.613650] ? finish_task_switch+0x18a/0x870 [ 30.618131] ? kasan_check_read+0x11/0x20 [ 30.622260] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.626646] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.631213] ? compat_start_thread+0x80/0x80 [ 30.635606] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.640096] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 30.645099] ? kasan_check_write+0x14/0x20 [ 30.649323] ? finish_task_switch+0x2ca/0x870 [ 30.653798] ? preempt_notifier_register+0x200/0x200 [ 30.658899] ? lock_repin_lock+0x430/0x430 [ 30.663135] ? __sched_text_start+0x8/0x8 [ 30.667282] ? security_socket_sendmsg+0x94/0xc0 [ 30.672026] ? ipip_gro_receive+0x100/0x100 [ 30.676339] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.681864] ? sock_sendmsg+0x5a/0x120 [ 30.685732] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.691257] ? __sys_sendto+0x475/0x670 [ 30.695214] ? __ia32_sys_getpeername+0xb0/0xb0 [ 30.699872] ? lock_downgrade+0x8f0/0x8f0 [ 30.704046] ? schedule+0xfb/0x450 [ 30.707566] ? __schedule+0x1ed0/0x1ed0 [ 30.711523] ? __sb_end_write+0xac/0xe0 [ 30.715478] do_group_exit+0x177/0x440 [ 30.719347] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.724866] ? __ia32_sys_exit+0x50/0x50 [ 30.728918] ? syscall_slow_exit_work+0x500/0x500 [ 30.733753] ? do_syscall_64+0x9a/0x820 [ 30.737711] __x64_sys_exit_group+0x3e/0x50 [ 30.742051] do_syscall_64+0x1b9/0x820 [ 30.745926] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.750841] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.755764] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 30.761136] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.765974] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.771158] RIP: 0033:0x43f358 [ 30.774331] Code: Bad RIP value. [ 30.777693] RSP: 002b:00007fff51750198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.785386] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f358 [ 30.792641] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.800596] RBP: 00000000004bf448 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.807849] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 [ 30.815101] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 30.822905] Dumping ftrace buffer: [ 30.826425] (ftrace buffer empty) [ 30.830122] Kernel Offset: disabled [ 30.833730] Rebooting in 86400 seconds..