[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 18.844500] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.617089] random: sshd: uninitialized urandom read (32 bytes read) [ 22.893052] random: sshd: uninitialized urandom read (32 bytes read) [ 23.758734] random: sshd: uninitialized urandom read (32 bytes read) [ 23.914585] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.49' (ECDSA) to the list of known hosts. [ 29.360434] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 29.462602] FAULT_INJECTION: forcing a failure. [ 29.462602] name failslab, interval 1, probability 0, space 0, times 1 [ 29.473923] CPU: 0 PID: 4544 Comm: syz-executor545 Not tainted 4.18.0-rc3+ #137 [ 29.481355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.490691] Call Trace: [ 29.493267] dump_stack+0x1c9/0x2b4 [ 29.496886] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.502068] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.507599] ? __do_page_fault+0x449/0xe50 [ 29.511824] should_fail.cold.4+0xa/0x1a [ 29.515868] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 29.520955] ? graph_lock+0x170/0x170 [ 29.524737] ? graph_lock+0x170/0x170 [ 29.528528] ? graph_lock+0x170/0x170 [ 29.532325] ? vmalloc_sync_all+0x30/0x30 [ 29.536457] ? sk_busy_loop_end+0x1c0/0x1c0 [ 29.540761] ? trace_hardirqs_on+0x10/0x10 [ 29.544991] ? find_held_lock+0x36/0x1c0 [ 29.549054] ? __lock_is_held+0xb5/0x140 [ 29.553110] ? check_same_owner+0x340/0x340 [ 29.557411] ? check_same_owner+0x340/0x340 [ 29.561717] ? rcu_note_context_switch+0x730/0x730 [ 29.566640] __should_failslab+0x124/0x180 [ 29.570858] should_failslab+0x9/0x14 [ 29.574648] __kmalloc+0x2c8/0x760 [ 29.578170] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 29.583176] ? _copy_from_iter+0x39d/0x1090 [ 29.587486] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 29.592488] ? tls_push_record+0x10d/0x1400 [ 29.596790] ? __check_object_size+0x9d/0x5f2 [ 29.601271] tls_push_record+0x10d/0x1400 [ 29.605403] ? _copy_from_iter_nocache+0x1050/0x1050 [ 29.610490] ? __local_bh_enable_ip+0x161/0x230 [ 29.615147] tls_sw_sendmsg+0x9e6/0x12c0 [ 29.619191] ? lock_release+0xa30/0xa30 [ 29.623158] ? tls_sw_push_pending_record+0x30/0x30 [ 29.628157] ? lock_downgrade+0x8f0/0x8f0 [ 29.632298] ? __sanitizer_cov_trace_cmp2+0x7/0x20 [ 29.637210] ? lock_release+0xa30/0xa30 [ 29.641166] ? __check_object_size+0x9d/0x5f2 [ 29.645646] inet_sendmsg+0x1a1/0x690 [ 29.649433] ? ipip_gro_receive+0x100/0x100 [ 29.653738] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.659281] ? security_socket_sendmsg+0x94/0xc0 [ 29.664033] ? ipip_gro_receive+0x100/0x100 [ 29.668350] sock_sendmsg+0xd5/0x120 [ 29.672066] __sys_sendto+0x3d7/0x670 [ 29.675853] ? __ia32_sys_getpeername+0xb0/0xb0 [ 29.680506] ? lock_downgrade+0x8f0/0x8f0 [ 29.684636] ? __lock_is_held+0xb5/0x140 [ 29.688688] ? __sb_end_write+0xac/0xe0 [ 29.692659] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.698182] ? ksys_write+0x1ae/0x260 [ 29.701963] ? __ia32_sys_read+0xb0/0xb0 [ 29.706012] ? syscall_slow_exit_work+0x500/0x500 [ 29.710850] __x64_sys_sendto+0xe1/0x1a0 [ 29.714907] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.719909] do_syscall_64+0x1b9/0x820 [ 29.723780] ? syscall_return_slowpath+0x5e0/0x5e0 [ 29.728691] ? syscall_return_slowpath+0x31d/0x5e0 [ 29.733609] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 29.738955] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.743791] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.748962] RIP: 0033:0x440649 [ 29.752127] 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.771302] RSP: 002b:00007fff875a1108 EFLAGS: 00000216 ORIG_RAX: 000000000000002c [ 29.778991] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440649 [ 29.786246] RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 0000000000000003 [ 29.793499] RBP: 00000000006cb018 R08: 0000000020000000 R09: 000000000000001c [ 29.800748] R10: 0000000000000040 R11: 0000000000000216 R12: 0000000000000004 [ 29.808011] R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000 [ 29.818440] ================================================================== [ 29.825893] BUG: KASAN: use-after-free in tls_push_record+0x1091/0x1400 [ 29.832626] Write of size 1 at addr ffff8801d9378000 by task syz-executor545/4544 [ 29.840220] [ 29.841850] CPU: 0 PID: 4544 Comm: syz-executor545 Not tainted 4.18.0-rc3+ #137 [ 29.849285] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.858619] Call Trace: [ 29.861194] dump_stack+0x1c9/0x2b4 [ 29.864815] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.869985] ? printk+0xa7/0xcf [ 29.873250] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 29.878000] ? tls_push_record+0x1091/0x1400 [ 29.882398] print_address_description+0x6c/0x20b [ 29.887226] ? tls_push_record+0x1091/0x1400 [ 29.891614] kasan_report.cold.7+0x242/0x2fe [ 29.896006] __asan_report_store1_noabort+0x17/0x20 [ 29.901033] tls_push_record+0x1091/0x1400 [ 29.905259] ? lock_sock_nested+0x9f/0x120 [ 29.909478] tls_sw_push_pending_record+0x22/0x30 [ 29.914304] tls_sk_proto_close+0x74c/0xae0 [ 29.918618] ? lock_acquire+0x1e4/0x540 [ 29.922585] ? tcp_check_oom+0x530/0x530 [ 29.926628] ? tls_write_space+0x360/0x360 [ 29.930850] ? kasan_check_read+0x11/0x20 [ 29.934980] ? rcu_note_context_switch+0x730/0x730 [ 29.939893] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.945414] ? ipv6_sock_ac_close+0x356/0x490 [ 29.949894] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.955419] ? ipv6_sock_mc_close+0x162/0x1d0 [ 29.959894] ? ip_mc_drop_socket+0x20f/0x270 [ 29.964286] ? down_write+0x8f/0x130 [ 29.967986] inet_release+0x104/0x1f0 [ 29.971773] inet6_release+0x50/0x70 [ 29.975468] __sock_release+0xd7/0x260 [ 29.979335] ? __sock_release+0x260/0x260 [ 29.983473] sock_close+0x19/0x20 [ 29.986919] __fput+0x355/0x8b0 [ 29.990182] ? fput+0x1a0/0x1a0 [ 29.993447] ? check_same_owner+0x340/0x340 [ 29.997753] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.002232] ____fput+0x15/0x20 [ 30.005507] task_work_run+0x1ec/0x2a0 [ 30.009377] ? task_work_cancel+0x250/0x250 [ 30.013686] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.019205] ? switch_task_namespaces+0xa2/0xd0 [ 30.023854] do_exit+0x1b08/0x2750 [ 30.027378] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.032048] ? lock_downgrade+0x8f0/0x8f0 [ 30.036177] ? finish_task_switch+0x18a/0x870 [ 30.040658] ? kasan_check_read+0x11/0x20 [ 30.045052] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.049450] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.054021] ? compat_start_thread+0x80/0x80 [ 30.058423] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.062900] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 30.067899] ? kasan_check_write+0x14/0x20 [ 30.072116] ? finish_task_switch+0x2ca/0x870 [ 30.076594] ? preempt_notifier_register+0x200/0x200 [ 30.081680] ? lock_repin_lock+0x430/0x430 [ 30.085919] ? __sched_text_start+0x8/0x8 [ 30.090063] ? security_socket_sendmsg+0x94/0xc0 [ 30.094802] ? ipip_gro_receive+0x100/0x100 [ 30.099110] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.104631] ? sock_sendmsg+0x5a/0x120 [ 30.108500] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.114035] ? __sys_sendto+0x475/0x670 [ 30.118020] ? __ia32_sys_getpeername+0xb0/0xb0 [ 30.122697] ? lock_downgrade+0x8f0/0x8f0 [ 30.126846] ? schedule+0xfb/0x450 [ 30.130370] ? __schedule+0x1ed0/0x1ed0 [ 30.134335] ? __sb_end_write+0xac/0xe0 [ 30.138297] do_group_exit+0x177/0x440 [ 30.142170] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.147690] ? __ia32_sys_exit+0x50/0x50 [ 30.151740] ? syscall_slow_exit_work+0x500/0x500 [ 30.156564] ? do_syscall_64+0x9a/0x820 [ 30.160521] __x64_sys_exit_group+0x3e/0x50 [ 30.164824] do_syscall_64+0x1b9/0x820 [ 30.168694] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.173614] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.178532] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 30.183881] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.188711] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.193880] RIP: 0033:0x43f308 [ 30.197050] Code: Bad RIP value. [ 30.200418] RSP: 002b:00007fff875a1148 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.208107] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f308 [ 30.215357] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.222620] RBP: 00000000004bf3e8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.229869] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 [ 30.237120] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 30.244384] [ 30.245991] The buggy address belongs to the page: [ 30.250905] page:ffffea000764de00 count:0 mapcount:-128 mapping:0000000000000000 index:0x0 [ 30.259288] flags: 0x2fffc0000000000() [ 30.263158] raw: 02fffc0000000000 ffffea0007641208 ffff88021fffac18 0000000000000000 [ 30.271030] raw: 0000000000000000 0000000000000003 00000000ffffff7f 0000000000000000 [ 30.278906] page dumped because: kasan: bad access detected [ 30.284593] [ 30.286198] Memory state around the buggy address: [ 30.291106] ffff8801d9377f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.298445] ffff8801d9377f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.305783] >ffff8801d9378000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.313127] ^ [ 30.316472] ffff8801d9378080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.323812] ffff8801d9378100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.331155] ================================================================== [ 30.338499] Disabling lock debugging due to kernel taint [ 30.344110] Kernel panic - not syncing: panic_on_warn set ... [ 30.344110] [ 30.351481] CPU: 0 PID: 4544 Comm: syz-executor545 Tainted: G B 4.18.0-rc3+ #137 [ 30.360304] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.369634] Call Trace: [ 30.372208] dump_stack+0x1c9/0x2b4 [ 30.375825] ? dump_stack_print_info.cold.2+0x52/0x52 [ 30.381028] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.385779] panic+0x238/0x4e7 [ 30.388952] ? add_taint.cold.5+0x16/0x16 [ 30.393083] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.397473] ? tls_push_record+0x1091/0x1400 [ 30.401859] kasan_end_report+0x47/0x4f [ 30.405812] kasan_report.cold.7+0x76/0x2fe [ 30.410114] __asan_report_store1_noabort+0x17/0x20 [ 30.415111] tls_push_record+0x1091/0x1400 [ 30.419327] ? lock_sock_nested+0x9f/0x120 [ 30.423554] tls_sw_push_pending_record+0x22/0x30 [ 30.428379] tls_sk_proto_close+0x74c/0xae0 [ 30.432681] ? lock_acquire+0x1e4/0x540 [ 30.436635] ? tcp_check_oom+0x530/0x530 [ 30.440676] ? tls_write_space+0x360/0x360 [ 30.444903] ? kasan_check_read+0x11/0x20 [ 30.449035] ? rcu_note_context_switch+0x730/0x730 [ 30.453946] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.459475] ? ipv6_sock_ac_close+0x356/0x490 [ 30.463950] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.469466] ? ipv6_sock_mc_close+0x162/0x1d0 [ 30.473940] ? ip_mc_drop_socket+0x20f/0x270 [ 30.478329] ? down_write+0x8f/0x130 [ 30.482037] inet_release+0x104/0x1f0 [ 30.485832] inet6_release+0x50/0x70 [ 30.489526] __sock_release+0xd7/0x260 [ 30.493390] ? __sock_release+0x260/0x260 [ 30.497515] sock_close+0x19/0x20 [ 30.500947] __fput+0x355/0x8b0 [ 30.504206] ? fput+0x1a0/0x1a0 [ 30.507468] ? check_same_owner+0x340/0x340 [ 30.511770] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.516245] ____fput+0x15/0x20 [ 30.519506] task_work_run+0x1ec/0x2a0 [ 30.523375] ? task_work_cancel+0x250/0x250 [ 30.527679] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.533195] ? switch_task_namespaces+0xa2/0xd0 [ 30.537845] do_exit+0x1b08/0x2750 [ 30.541368] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.546026] ? lock_downgrade+0x8f0/0x8f0 [ 30.550156] ? finish_task_switch+0x18a/0x870 [ 30.554635] ? kasan_check_read+0x11/0x20 [ 30.558760] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.563159] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.567721] ? compat_start_thread+0x80/0x80 [ 30.572121] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.576597] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 30.581593] ? kasan_check_write+0x14/0x20 [ 30.585804] ? finish_task_switch+0x2ca/0x870 [ 30.590278] ? preempt_notifier_register+0x200/0x200 [ 30.595363] ? lock_repin_lock+0x430/0x430 [ 30.599583] ? __sched_text_start+0x8/0x8 [ 30.603732] ? security_socket_sendmsg+0x94/0xc0 [ 30.608468] ? ipip_gro_receive+0x100/0x100 [ 30.612775] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.618293] ? sock_sendmsg+0x5a/0x120 [ 30.622173] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.627709] ? __sys_sendto+0x475/0x670 [ 30.631667] ? __ia32_sys_getpeername+0xb0/0xb0 [ 30.636326] ? lock_downgrade+0x8f0/0x8f0 [ 30.640469] ? schedule+0xfb/0x450 [ 30.644010] ? __schedule+0x1ed0/0x1ed0 [ 30.647986] ? __sb_end_write+0xac/0xe0 [ 30.651944] do_group_exit+0x177/0x440 [ 30.655812] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.661326] ? __ia32_sys_exit+0x50/0x50 [ 30.665384] ? syscall_slow_exit_work+0x500/0x500 [ 30.670206] ? do_syscall_64+0x9a/0x820 [ 30.674168] __x64_sys_exit_group+0x3e/0x50 [ 30.678467] do_syscall_64+0x1b9/0x820 [ 30.682334] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.687256] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.692169] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 30.697515] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.702343] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.707510] RIP: 0033:0x43f308 [ 30.710675] Code: Bad RIP value. [ 30.714034] RSP: 002b:00007fff875a1148 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.721738] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f308 [ 30.728987] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.736324] RBP: 00000000004bf3e8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.743576] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 [ 30.750826] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 30.758578] Dumping ftrace buffer: [ 30.762101] (ftrace buffer empty) [ 30.765787] Kernel Offset: disabled [ 30.769394] Rebooting in 86400 seconds..