[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 28.525611] kauditd_printk_skb: 7 callbacks suppressed [ 28.525624] audit: type=1800 audit(1543410768.086:29): pid=5834 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 28.552605] audit: type=1800 audit(1543410768.086:30): pid=5834 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 32.243778] sshd (5971) used greatest stack depth: 15632 bytes left Warning: Permanently added '10.128.15.203' (ECDSA) to the list of known hosts. 2018/11/28 13:14:00 parsed 1 programs [ 102.202315] ld (5998) used greatest stack depth: 15328 bytes left 2018/11/28 13:14:01 executed programs: 0 [ 102.367077] IPVS: ftp: loaded support on port[0] = 21 [ 102.615842] bridge0: port 1(bridge_slave_0) entered blocking state [ 102.622501] bridge0: port 1(bridge_slave_0) entered disabled state [ 102.629466] device bridge_slave_0 entered promiscuous mode [ 102.647541] bridge0: port 2(bridge_slave_1) entered blocking state [ 102.654112] bridge0: port 2(bridge_slave_1) entered disabled state [ 102.661412] device bridge_slave_1 entered promiscuous mode [ 102.678716] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 102.696455] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 102.746669] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 102.766647] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 102.842312] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 102.849538] team0: Port device team_slave_0 added [ 102.865470] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 102.872692] team0: Port device team_slave_1 added [ 102.889894] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 102.908944] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 102.927937] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 102.947877] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 103.095145] bridge0: port 2(bridge_slave_1) entered blocking state [ 103.101579] bridge0: port 2(bridge_slave_1) entered forwarding state [ 103.108305] bridge0: port 1(bridge_slave_0) entered blocking state [ 103.114718] bridge0: port 1(bridge_slave_0) entered forwarding state [ 103.630730] 8021q: adding VLAN 0 to HW filter on device bond0 [ 103.683528] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 103.735175] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 103.741776] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 103.749321] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 103.798501] 8021q: adding VLAN 0 to HW filter on device team0 [ 105.007554] ================================================================== [ 105.015074] BUG: KASAN: user-memory-access in n_tty_set_termios+0x106/0xe80 [ 105.022182] Write of size 512 at addr 0000000000001060 by task syz-executor0/6429 [ 105.029789] [ 105.031410] CPU: 0 PID: 6429 Comm: syz-executor0 Not tainted 4.20.0-rc1-next-20181109+ #110 [ 105.039874] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 105.049208] Call Trace: [ 105.051783] dump_stack+0x244/0x39d [ 105.055391] ? dump_stack_print_info.cold.1+0x20/0x20 [ 105.060573] ? vprintk_func+0x85/0x181 [ 105.064451] kasan_report.cold.8+0x6d/0x309 [ 105.068752] ? n_tty_set_termios+0x106/0xe80 [ 105.073149] check_memory_region+0x13e/0x1b0 [ 105.077539] memset+0x23/0x40 [ 105.080637] n_tty_set_termios+0x106/0xe80 [ 105.084989] ? n_tty_receive_signal_char+0x120/0x120 [ 105.090105] tty_set_termios+0x7a0/0xac0 [ 105.094152] ? tty_wait_until_sent+0x5d0/0x5d0 [ 105.098736] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 105.104256] set_termios+0x41e/0x7d0 [ 105.107952] ? tty_perform_flush+0x80/0x80 [ 105.112193] ? drop_futex_key_refs.isra.14+0x6d/0xe0 [ 105.117277] tty_mode_ioctl+0x857/0xb40 [ 105.121237] ? set_termios+0x7d0/0x7d0 [ 105.125111] ? perf_trace_sched_process_exec+0x860/0x860 [ 105.130578] n_tty_ioctl_helper+0x54/0x3b0 [ 105.134820] n_tty_ioctl+0x54/0x360 [ 105.138429] ? ldsem_down_read+0x32/0x40 [ 105.142471] ? ldsem_down_read+0x32/0x40 [ 105.146519] tty_ioctl+0x5c6/0x17d0 [ 105.150126] ? commit_echoes+0x1c0/0x1c0 [ 105.154171] ? tty_vhangup+0x30/0x30 [ 105.157868] ? find_held_lock+0x36/0x1c0 [ 105.161915] ? __fget+0x4aa/0x740 [ 105.165349] ? lock_downgrade+0x900/0x900 [ 105.169478] ? check_preemption_disabled+0x48/0x280 [ 105.174480] ? kasan_check_read+0x11/0x20 [ 105.178608] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 105.183868] ? rcu_read_unlock_special+0x370/0x370 [ 105.188783] ? __fget+0x4d1/0x740 [ 105.192220] ? ksys_dup3+0x680/0x680 [ 105.195914] ? __might_fault+0x12b/0x1e0 [ 105.199970] ? lock_downgrade+0x900/0x900 [ 105.204103] ? lock_release+0xa10/0xa10 [ 105.208055] ? perf_trace_sched_process_exec+0x860/0x860 [ 105.213490] ? tty_vhangup+0x30/0x30 [ 105.217188] do_vfs_ioctl+0x1de/0x1790 [ 105.221058] ? ioctl_preallocate+0x300/0x300 [ 105.225449] ? __fget_light+0x2e9/0x430 [ 105.229416] ? fget_raw+0x20/0x20 [ 105.232851] ? _copy_to_user+0xc8/0x110 [ 105.236810] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 105.242362] ? put_timespec64+0x10f/0x1b0 [ 105.246488] ? nsecs_to_jiffies+0x30/0x30 [ 105.250629] ? do_syscall_64+0x9a/0x820 [ 105.254590] ? do_syscall_64+0x9a/0x820 [ 105.258547] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 105.263135] ? security_file_ioctl+0x94/0xc0 [ 105.267544] ksys_ioctl+0xa9/0xd0 [ 105.270991] __x64_sys_ioctl+0x73/0xb0 [ 105.274863] do_syscall_64+0x1b9/0x820 [ 105.278768] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 105.284117] ? syscall_return_slowpath+0x5e0/0x5e0 [ 105.289027] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 105.293880] ? trace_hardirqs_on_caller+0x310/0x310 [ 105.298918] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 105.303919] ? prepare_exit_to_usermode+0x291/0x3b0 [ 105.308950] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 105.313785] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 105.318957] RIP: 0033:0x457569 [ 105.322173] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 105.341076] RSP: 002b:00007fba04ea4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 105.348768] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 105.356016] RDX: 0000000020000140 RSI: 0000000000005402 RDI: 0000000000000005 [ 105.363265] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 105.370554] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba04ea56d4 [ 105.377835] R13: 00000000004c10be R14: 00000000004d2410 R15: 00000000ffffffff [ 105.385095] ================================================================== [ 105.392430] Disabling lock debugging due to kernel taint [ 105.400156] Kernel panic - not syncing: panic_on_warn set ... [ 105.406065] CPU: 0 PID: 6429 Comm: syz-executor0 Tainted: G B 4.20.0-rc1-next-20181109+ #110 [ 105.415924] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 105.425257] Call Trace: [ 105.427827] dump_stack+0x244/0x39d [ 105.431440] ? dump_stack_print_info.cold.1+0x20/0x20 [ 105.436617] panic+0x2ad/0x55c [ 105.439807] ? add_taint.cold.5+0x16/0x16 [ 105.443940] ? preempt_schedule+0x4d/0x60 [ 105.448088] ? ___preempt_schedule+0x16/0x18 [ 105.452482] ? trace_hardirqs_on+0xb4/0x310 [ 105.456787] kasan_end_report+0x47/0x4f [ 105.460744] kasan_report.cold.8+0x76/0x309 [ 105.465049] ? n_tty_set_termios+0x106/0xe80 [ 105.469478] check_memory_region+0x13e/0x1b0 [ 105.473871] memset+0x23/0x40 [ 105.476973] n_tty_set_termios+0x106/0xe80 [ 105.481199] ? n_tty_receive_signal_char+0x120/0x120 [ 105.486285] tty_set_termios+0x7a0/0xac0 [ 105.490331] ? tty_wait_until_sent+0x5d0/0x5d0 [ 105.494907] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 105.500447] set_termios+0x41e/0x7d0 [ 105.504186] ? tty_perform_flush+0x80/0x80 [ 105.508410] ? drop_futex_key_refs.isra.14+0x6d/0xe0 [ 105.513495] tty_mode_ioctl+0x857/0xb40 [ 105.517450] ? set_termios+0x7d0/0x7d0 [ 105.521322] ? perf_trace_sched_process_exec+0x860/0x860 [ 105.526756] n_tty_ioctl_helper+0x54/0x3b0 [ 105.530992] n_tty_ioctl+0x54/0x360 [ 105.534606] ? ldsem_down_read+0x32/0x40 [ 105.538652] ? ldsem_down_read+0x32/0x40 [ 105.542697] tty_ioctl+0x5c6/0x17d0 [ 105.546342] ? commit_echoes+0x1c0/0x1c0 [ 105.550409] ? tty_vhangup+0x30/0x30 [ 105.554113] ? find_held_lock+0x36/0x1c0 [ 105.558161] ? __fget+0x4aa/0x740 [ 105.561618] ? lock_downgrade+0x900/0x900 [ 105.565750] ? check_preemption_disabled+0x48/0x280 [ 105.570763] ? kasan_check_read+0x11/0x20 [ 105.574893] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 105.580147] ? rcu_read_unlock_special+0x370/0x370 [ 105.585062] ? __fget+0x4d1/0x740 [ 105.588499] ? ksys_dup3+0x680/0x680 [ 105.592197] ? __might_fault+0x12b/0x1e0 [ 105.596240] ? lock_downgrade+0x900/0x900 [ 105.600381] ? lock_release+0xa10/0xa10 [ 105.604350] ? perf_trace_sched_process_exec+0x860/0x860 [ 105.609781] ? tty_vhangup+0x30/0x30 [ 105.613480] do_vfs_ioctl+0x1de/0x1790 [ 105.617349] ? ioctl_preallocate+0x300/0x300 [ 105.621741] ? __fget_light+0x2e9/0x430 [ 105.625695] ? fget_raw+0x20/0x20 [ 105.629128] ? _copy_to_user+0xc8/0x110 [ 105.633090] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 105.638627] ? put_timespec64+0x10f/0x1b0 [ 105.642769] ? nsecs_to_jiffies+0x30/0x30 [ 105.646901] ? do_syscall_64+0x9a/0x820 [ 105.650859] ? do_syscall_64+0x9a/0x820 [ 105.654816] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 105.659383] ? security_file_ioctl+0x94/0xc0 [ 105.663777] ksys_ioctl+0xa9/0xd0 [ 105.667222] __x64_sys_ioctl+0x73/0xb0 [ 105.671109] do_syscall_64+0x1b9/0x820 [ 105.674986] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 105.680336] ? syscall_return_slowpath+0x5e0/0x5e0 [ 105.685245] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 105.690072] ? trace_hardirqs_on_caller+0x310/0x310 [ 105.695072] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 105.700074] ? prepare_exit_to_usermode+0x291/0x3b0 [ 105.705076] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 105.709905] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 105.715077] RIP: 0033:0x457569 [ 105.718258] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 105.737154] RSP: 002b:00007fba04ea4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 105.744842] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 105.752095] RDX: 0000000020000140 RSI: 0000000000005402 RDI: 0000000000000005 [ 105.759347] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 105.766601] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba04ea56d4 [ 105.773859] R13: 00000000004c10be R14: 00000000004d2410 R15: 00000000ffffffff [ 105.782055] Kernel Offset: disabled [ 105.785682] Rebooting in 86400 seconds..