[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 20.809558] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.613351] random: sshd: uninitialized urandom read (32 bytes read) [ 22.993259] random: sshd: uninitialized urandom read (32 bytes read) [ 23.805564] random: sshd: uninitialized urandom read (32 bytes read) [ 23.964248] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.39' (ECDSA) to the list of known hosts. [ 29.583832] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 29.684504] FAULT_INJECTION: forcing a failure. [ 29.684504] name failslab, interval 1, probability 0, space 0, times 1 [ 29.695810] CPU: 1 PID: 4523 Comm: syz-executor200 Not tainted 4.18.0-rc1+ #109 [ 29.703246] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.712582] Call Trace: [ 29.715165] dump_stack+0x1c9/0x2b4 [ 29.718784] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.723961] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.729490] ? __do_page_fault+0x449/0xe50 [ 29.733715] should_fail.cold.4+0xa/0x1a [ 29.737761] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 29.742853] ? graph_lock+0x170/0x170 [ 29.746642] ? graph_lock+0x170/0x170 [ 29.750431] ? graph_lock+0x170/0x170 [ 29.754211] ? vmalloc_sync_all+0x30/0x30 [ 29.758340] ? sk_busy_loop_end+0x1c0/0x1c0 [ 29.762643] ? debug_check_no_locks_freed+0x310/0x310 [ 29.767816] ? find_held_lock+0x36/0x1c0 [ 29.771859] ? __lock_is_held+0xb5/0x140 [ 29.775909] ? check_same_owner+0x340/0x340 [ 29.780212] ? check_same_owner+0x340/0x340 [ 29.784516] ? rcu_note_context_switch+0x730/0x730 [ 29.789432] __should_failslab+0x124/0x180 [ 29.793652] should_failslab+0x9/0x14 [ 29.797433] __kmalloc+0x2c8/0x760 [ 29.800958] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 29.805959] ? _copy_from_iter+0x39d/0x1090 [ 29.810263] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 29.815260] ? tls_push_record+0x10d/0x1400 [ 29.819563] ? __check_object_size+0x9d/0x5f2 [ 29.824048] tls_push_record+0x10d/0x1400 [ 29.828187] ? _copy_from_iter_nocache+0x1050/0x1050 [ 29.833273] ? __local_bh_enable_ip+0x161/0x230 [ 29.837932] tls_sw_sendmsg+0x9e6/0x12c0 [ 29.841982] ? lock_release+0xa30/0xa30 [ 29.845958] ? tls_sw_push_pending_record+0x30/0x30 [ 29.850959] ? lock_downgrade+0x8f0/0x8f0 [ 29.855091] ? __sanitizer_cov_trace_cmp2+0x7/0x20 [ 29.860004] ? lock_release+0xa30/0xa30 [ 29.863975] ? __check_object_size+0x9d/0x5f2 [ 29.868456] inet_sendmsg+0x1a1/0x690 [ 29.872239] ? ipip_gro_receive+0x100/0x100 [ 29.876543] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.882063] ? security_socket_sendmsg+0x94/0xc0 [ 29.886801] ? ipip_gro_receive+0x100/0x100 [ 29.891108] sock_sendmsg+0xd5/0x120 [ 29.894805] __sys_sendto+0x3d7/0x670 [ 29.898596] ? __ia32_sys_getpeername+0xb0/0xb0 [ 29.903251] ? lock_downgrade+0x8f0/0x8f0 [ 29.907384] ? __lock_is_held+0xb5/0x140 [ 29.911437] ? __sb_end_write+0xac/0xe0 [ 29.915398] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.920930] ? ksys_write+0x1ae/0x260 [ 29.924726] ? __ia32_sys_read+0xb0/0xb0 [ 29.928772] ? syscall_slow_exit_work+0x500/0x500 [ 29.933596] __x64_sys_sendto+0xe1/0x1a0 [ 29.937642] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.942643] do_syscall_64+0x1b9/0x820 [ 29.946511] ? syscall_slow_exit_work+0x500/0x500 [ 29.951333] ? syscall_return_slowpath+0x5e0/0x5e0 [ 29.956245] ? syscall_return_slowpath+0x31d/0x5e0 [ 29.961161] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 29.966506] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.971340] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.976507] RIP: 0033:0x4406a9 [ 29.979672] 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.998850] RSP: 002b:00007ffe38114078 EFLAGS: 00000216 ORIG_RAX: 000000000000002c [ 30.006539] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406a9 [ 30.013788] RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 0000000000000003 [ 30.021041] RBP: 00000000006cb018 R08: 0000000020000000 R09: 000000000000001c [ 30.028300] R10: 0000000000000040 R11: 0000000000000216 R12: 0000000000000005 [ 30.035548] R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000 [ 30.045375] ================================================================== [ 30.052893] BUG: KASAN: use-after-free in tls_push_record+0x1091/0x1400 [ 30.059624] Write of size 1 at addr ffff8801d9040000 by task syz-executor200/4523 [ 30.067224] [ 30.068836] CPU: 0 PID: 4523 Comm: syz-executor200 Not tainted 4.18.0-rc1+ #109 [ 30.076265] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.085606] Call Trace: [ 30.088184] dump_stack+0x1c9/0x2b4 [ 30.091793] ? dump_stack_print_info.cold.2+0x52/0x52 [ 30.097055] ? printk+0xa7/0xcf [ 30.100315] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 30.105054] ? tls_push_record+0x1091/0x1400 [ 30.109443] print_address_description+0x6c/0x20b [ 30.114265] ? tls_push_record+0x1091/0x1400 [ 30.118653] kasan_report.cold.7+0x242/0x2fe [ 30.123044] __asan_report_store1_noabort+0x17/0x20 [ 30.128043] tls_push_record+0x1091/0x1400 [ 30.132260] ? lock_sock_nested+0x9f/0x120 [ 30.136478] tls_sw_push_pending_record+0x22/0x30 [ 30.141300] tls_sk_proto_close+0x74c/0xae0 [ 30.145603] ? lock_acquire+0x1e4/0x540 [ 30.149562] ? tcp_check_oom+0x530/0x530 [ 30.153604] ? tls_write_space+0x360/0x360 [ 30.157818] ? rcu_note_context_switch+0x730/0x730 [ 30.162728] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.168243] ? ipv6_sock_ac_close+0x356/0x490 [ 30.172719] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.178244] ? ipv6_sock_mc_close+0x162/0x1d0 [ 30.182724] ? ip_mc_drop_socket+0x20f/0x270 [ 30.187115] ? down_write+0x8f/0x130 [ 30.190811] inet_release+0x104/0x1f0 [ 30.194607] inet6_release+0x50/0x70 [ 30.198308] __sock_release+0xd7/0x260 [ 30.202176] ? __sock_release+0x260/0x260 [ 30.206312] sock_close+0x19/0x20 [ 30.209752] __fput+0x35b/0x8b0 [ 30.213033] ? fput+0x1a0/0x1a0 [ 30.216305] ? check_same_owner+0x340/0x340 [ 30.220608] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.225083] ____fput+0x15/0x20 [ 30.228346] task_work_run+0x1ec/0x2a0 [ 30.232212] ? task_work_cancel+0x250/0x250 [ 30.236514] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.242038] ? switch_task_namespaces+0xa2/0xd0 [ 30.246690] do_exit+0x1b08/0x2750 [ 30.250212] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.254863] ? lock_downgrade+0x8f0/0x8f0 [ 30.258988] ? finish_task_switch+0x18a/0x890 [ 30.263479] ? kasan_check_read+0x11/0x20 [ 30.267608] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.271993] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.276566] ? compat_start_thread+0x80/0x80 [ 30.280956] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.285434] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 30.290435] ? kasan_check_write+0x14/0x20 [ 30.294659] ? finish_task_switch+0x2ca/0x890 [ 30.299146] ? preempt_notifier_register+0x200/0x200 [ 30.304241] ? lock_repin_lock+0x430/0x430 [ 30.308468] ? __sched_text_start+0x8/0x8 [ 30.312596] ? security_socket_sendmsg+0x94/0xc0 [ 30.317333] ? ipip_gro_receive+0x100/0x100 [ 30.321644] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.327166] ? sock_sendmsg+0x5a/0x120 [ 30.331042] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.336559] ? __sys_sendto+0x475/0x670 [ 30.340523] ? __ia32_sys_getpeername+0xb0/0xb0 [ 30.345176] ? lock_downgrade+0x8f0/0x8f0 [ 30.349308] ? schedule+0xfb/0x450 [ 30.352826] ? __schedule+0x1ed0/0x1ed0 [ 30.356782] ? __sb_end_write+0xac/0xe0 [ 30.360743] do_group_exit+0x177/0x440 [ 30.364612] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.370130] ? __ia32_sys_exit+0x50/0x50 [ 30.374173] ? syscall_slow_exit_work+0x500/0x500 [ 30.378994] ? do_syscall_64+0x9a/0x820 [ 30.382954] __x64_sys_exit_group+0x3e/0x50 [ 30.387254] do_syscall_64+0x1b9/0x820 [ 30.391121] ? syscall_slow_exit_work+0x500/0x500 [ 30.395941] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.400849] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.405773] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 30.411119] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.415951] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.421125] RIP: 0033:0x43f368 [ 30.424292] Code: Bad RIP value. [ 30.427648] RSP: 002b:00007ffe381140b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.435340] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f368 [ 30.442590] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.449838] RBP: 00000000004bf448 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.457086] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 [ 30.464333] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 30.471589] [ 30.473193] The buggy address belongs to the page: [ 30.478120] page:ffffea0007641000 count:0 mapcount:-128 mapping:0000000000000000 index:0x0 [ 30.486516] flags: 0x2fffc0000000000() [ 30.490390] raw: 02fffc0000000000 ffffea0006ccfa08 ffff88021fffac18 0000000000000000 [ 30.498250] raw: 0000000000000000 0000000000000003 00000000ffffff7f 0000000000000000 [ 30.506112] page dumped because: kasan: bad access detected [ 30.511796] [ 30.513399] Memory state around the buggy address: [ 30.518309] ffff8801d903ff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.525650] ffff8801d903ff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.532986] >ffff8801d9040000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.540320] ^ [ 30.543662] ffff8801d9040080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.550997] ffff8801d9040100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.558335] ================================================================== [ 30.565667] Disabling lock debugging due to kernel taint [ 30.571257] Kernel panic - not syncing: panic_on_warn set ... [ 30.571257] [ 30.578647] CPU: 0 PID: 4523 Comm: syz-executor200 Tainted: G B 4.18.0-rc1+ #109 [ 30.587481] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.596837] Call Trace: [ 30.599419] dump_stack+0x1c9/0x2b4 [ 30.603033] ? dump_stack_print_info.cold.2+0x52/0x52 [ 30.608207] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.612958] panic+0x238/0x4e7 [ 30.616136] ? add_taint.cold.5+0x16/0x16 [ 30.620265] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.624654] ? tls_push_record+0x1091/0x1400 [ 30.629048] kasan_end_report+0x47/0x4f [ 30.633026] kasan_report.cold.7+0x76/0x2fe [ 30.637336] __asan_report_store1_noabort+0x17/0x20 [ 30.642373] tls_push_record+0x1091/0x1400 [ 30.646588] ? lock_sock_nested+0x9f/0x120 [ 30.650812] tls_sw_push_pending_record+0x22/0x30 [ 30.655635] tls_sk_proto_close+0x74c/0xae0 [ 30.659936] ? lock_acquire+0x1e4/0x540 [ 30.663887] ? tcp_check_oom+0x530/0x530 [ 30.667935] ? tls_write_space+0x360/0x360 [ 30.672151] ? rcu_note_context_switch+0x730/0x730 [ 30.677061] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.682580] ? ipv6_sock_ac_close+0x356/0x490 [ 30.687054] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.692569] ? ipv6_sock_mc_close+0x162/0x1d0 [ 30.697048] ? ip_mc_drop_socket+0x20f/0x270 [ 30.701437] ? down_write+0x8f/0x130 [ 30.705133] inet_release+0x104/0x1f0 [ 30.708916] inet6_release+0x50/0x70 [ 30.712613] __sock_release+0xd7/0x260 [ 30.716482] ? __sock_release+0x260/0x260 [ 30.720608] sock_close+0x19/0x20 [ 30.724043] __fput+0x35b/0x8b0 [ 30.727299] ? fput+0x1a0/0x1a0 [ 30.730558] ? check_same_owner+0x340/0x340 [ 30.734858] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.739333] ____fput+0x15/0x20 [ 30.742596] task_work_run+0x1ec/0x2a0 [ 30.746463] ? task_work_cancel+0x250/0x250 [ 30.750772] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.756286] ? switch_task_namespaces+0xa2/0xd0 [ 30.760933] do_exit+0x1b08/0x2750 [ 30.764452] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.769097] ? lock_downgrade+0x8f0/0x8f0 [ 30.773223] ? finish_task_switch+0x18a/0x890 [ 30.777702] ? kasan_check_read+0x11/0x20 [ 30.781829] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.786214] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.790774] ? compat_start_thread+0x80/0x80 [ 30.795161] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.799634] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 30.804629] ? kasan_check_write+0x14/0x20 [ 30.808840] ? finish_task_switch+0x2ca/0x890 [ 30.813312] ? preempt_notifier_register+0x200/0x200 [ 30.818403] ? lock_repin_lock+0x430/0x430 [ 30.822628] ? __sched_text_start+0x8/0x8 [ 30.826754] ? security_socket_sendmsg+0x94/0xc0 [ 30.831488] ? ipip_gro_receive+0x100/0x100 [ 30.835797] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.841314] ? sock_sendmsg+0x5a/0x120 [ 30.845177] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.850690] ? __sys_sendto+0x475/0x670 [ 30.854642] ? __ia32_sys_getpeername+0xb0/0xb0 [ 30.859286] ? lock_downgrade+0x8f0/0x8f0 [ 30.863411] ? schedule+0xfb/0x450 [ 30.866926] ? __schedule+0x1ed0/0x1ed0 [ 30.870881] ? __sb_end_write+0xac/0xe0 [ 30.874843] do_group_exit+0x177/0x440 [ 30.878709] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.884221] ? __ia32_sys_exit+0x50/0x50 [ 30.888269] ? syscall_slow_exit_work+0x500/0x500 [ 30.893086] ? do_syscall_64+0x9a/0x820 [ 30.897037] __x64_sys_exit_group+0x3e/0x50 [ 30.901351] do_syscall_64+0x1b9/0x820 [ 30.905214] ? syscall_slow_exit_work+0x500/0x500 [ 30.910036] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.914946] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.919855] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 30.925200] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.930031] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.935198] RIP: 0033:0x43f368 [ 30.938363] Code: Bad RIP value. [ 30.941716] RSP: 002b:00007ffe381140b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.949402] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f368 [ 30.956648] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.963896] RBP: 00000000004bf448 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.971142] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000001 [ 30.978395] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 30.986115] Dumping ftrace buffer: [ 30.989630] (ftrace buffer empty) [ 30.993313] Kernel Offset: disabled [ 30.996921] Rebooting in 86400 seconds..