[....] 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. [ 29.698611] kauditd_printk_skb: 7 callbacks suppressed [ 29.698623] audit: type=1800 audit(1543103639.916:29): pid=5922 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 29.724690] audit: type=1800 audit(1543103639.926:30): pid=5922 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 31.098047] sshd (6061) used greatest stack depth: 15440 bytes left Warning: Permanently added '10.128.0.89' (ECDSA) to the list of known hosts. 2018/11/24 23:54:48 parsed 1 programs 2018/11/24 23:54:49 executed programs: 0 [ 79.268594] IPVS: ftp: loaded support on port[0] = 21 [ 79.527957] bridge0: port 1(bridge_slave_0) entered blocking state [ 79.535164] bridge0: port 1(bridge_slave_0) entered disabled state [ 79.542361] device bridge_slave_0 entered promiscuous mode [ 79.561926] bridge0: port 2(bridge_slave_1) entered blocking state [ 79.568615] bridge0: port 2(bridge_slave_1) entered disabled state [ 79.576031] device bridge_slave_1 entered promiscuous mode [ 79.594512] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 79.612603] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 79.664308] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 79.684816] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 79.764227] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 79.771635] team0: Port device team_slave_0 added [ 79.789715] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 79.797126] team0: Port device team_slave_1 added [ 79.816236] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 79.837695] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 79.857984] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 79.878756] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 80.031614] bridge0: port 2(bridge_slave_1) entered blocking state [ 80.038196] bridge0: port 2(bridge_slave_1) entered forwarding state [ 80.045363] bridge0: port 1(bridge_slave_0) entered blocking state [ 80.051701] bridge0: port 1(bridge_slave_0) entered forwarding state [ 80.578043] 8021q: adding VLAN 0 to HW filter on device bond0 [ 80.631590] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 80.684742] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 80.690873] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 80.699109] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 80.748590] 8021q: adding VLAN 0 to HW filter on device team0 [ 82.889971] ================================================================== [ 82.897479] BUG: KASAN: user-memory-access in n_tty_set_termios+0x106/0xe80 [ 82.904567] Write of size 512 at addr 0000000000001060 by task syz-executor0/6665 [ 82.912162] [ 82.913775] CPU: 0 PID: 6665 Comm: syz-executor0 Not tainted 4.20.0-rc3+ #126 [ 82.921028] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 82.930365] Call Trace: [ 82.932939] dump_stack+0x244/0x39d [ 82.936555] ? dump_stack_print_info.cold.1+0x20/0x20 [ 82.941736] ? vprintk_func+0x85/0x181 [ 82.945612] kasan_report.cold.8+0x6d/0x309 [ 82.949919] ? n_tty_set_termios+0x106/0xe80 [ 82.954315] check_memory_region+0x13e/0x1b0 [ 82.958711] memset+0x23/0x40 [ 82.961806] n_tty_set_termios+0x106/0xe80 [ 82.966027] ? n_tty_receive_signal_char+0x120/0x120 [ 82.971117] tty_set_termios+0x7a0/0xac0 [ 82.975168] ? tty_wait_until_sent+0x5d0/0x5d0 [ 82.979756] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 82.985279] set_termios+0x41e/0x7d0 [ 82.988977] ? tty_perform_flush+0x80/0x80 [ 82.993201] ? drop_futex_key_refs.isra.14+0x6d/0xe0 [ 82.998288] tty_mode_ioctl+0x857/0xb40 [ 83.002253] ? set_termios+0x7d0/0x7d0 [ 83.006131] ? perf_trace_sched_process_exec+0x860/0x860 [ 83.011568] n_tty_ioctl_helper+0x54/0x3b0 [ 83.015802] n_tty_ioctl+0x54/0x360 [ 83.019420] ? ldsem_down_read+0x32/0x40 [ 83.023466] ? ldsem_down_read+0x32/0x40 [ 83.027514] tty_ioctl+0x5c6/0x17d0 [ 83.031123] ? commit_echoes+0x1c0/0x1c0 [ 83.035167] ? tty_vhangup+0x30/0x30 [ 83.038865] ? find_held_lock+0x36/0x1c0 [ 83.042919] ? __fget+0x4aa/0x740 [ 83.046359] ? lock_downgrade+0x900/0x900 [ 83.050491] ? check_preemption_disabled+0x48/0x280 [ 83.055495] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 83.060411] ? kasan_check_read+0x11/0x20 [ 83.064718] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 83.069984] ? rcu_softirq_qs+0x20/0x20 [ 83.073950] ? __fget+0x4d1/0x740 [ 83.077389] ? ksys_dup3+0x680/0x680 [ 83.081088] ? __might_fault+0x12b/0x1e0 [ 83.085137] ? lock_downgrade+0x900/0x900 [ 83.089271] ? lock_release+0xa00/0xa00 [ 83.093230] ? perf_trace_sched_process_exec+0x860/0x860 [ 83.098675] ? tty_vhangup+0x30/0x30 [ 83.102386] do_vfs_ioctl+0x1de/0x1790 [ 83.106261] ? ioctl_preallocate+0x300/0x300 [ 83.110656] ? memset+0x31/0x40 [ 83.113927] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 83.119450] ? smack_file_ioctl+0x210/0x3c0 [ 83.123762] ? fget_raw+0x20/0x20 [ 83.127200] ? smack_file_lock+0x2e0/0x2e0 [ 83.131422] ? do_syscall_64+0x9a/0x820 [ 83.135381] ? do_syscall_64+0x9a/0x820 [ 83.139344] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 83.144869] ? security_file_ioctl+0x94/0xc0 [ 83.149261] ksys_ioctl+0xa9/0xd0 [ 83.152699] __x64_sys_ioctl+0x73/0xb0 [ 83.156575] do_syscall_64+0x1b9/0x820 [ 83.160446] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 83.165794] ? syscall_return_slowpath+0x5e0/0x5e0 [ 83.170707] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 83.175540] ? trace_hardirqs_on_caller+0x310/0x310 [ 83.180537] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 83.185539] ? prepare_exit_to_usermode+0x291/0x3b0 [ 83.190546] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 83.195380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 83.200552] RIP: 0033:0x457569 [ 83.203741] 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 [ 83.222628] RSP: 002b:00007f6fa647bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 83.230499] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 83.237758] RDX: 0000000020000080 RSI: 0000000000005402 RDI: 0000000000000005 [ 83.245011] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 83.252263] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fa647c6d4 [ 83.259514] R13: 00000000004c10be R14: 00000000004d2410 R15: 00000000ffffffff [ 83.266776] ================================================================== [ 83.274113] Disabling lock debugging due to kernel taint [ 83.281191] Kernel panic - not syncing: panic_on_warn set ... [ 83.287077] CPU: 0 PID: 6665 Comm: syz-executor0 Tainted: G B 4.20.0-rc3+ #126 [ 83.295721] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 83.305062] Call Trace: [ 83.307640] dump_stack+0x244/0x39d [ 83.311251] ? dump_stack_print_info.cold.1+0x20/0x20 [ 83.316437] panic+0x2ad/0x55c [ 83.319723] ? add_taint.cold.5+0x16/0x16 [ 83.323863] ? preempt_schedule+0x4d/0x60 [ 83.327999] ? ___preempt_schedule+0x16/0x18 [ 83.332395] ? trace_hardirqs_on+0xb4/0x310 [ 83.336703] kasan_end_report+0x47/0x4f [ 83.340664] kasan_report.cold.8+0x76/0x309 [ 83.344971] ? n_tty_set_termios+0x106/0xe80 [ 83.349368] check_memory_region+0x13e/0x1b0 [ 83.353763] memset+0x23/0x40 [ 83.356860] n_tty_set_termios+0x106/0xe80 [ 83.361078] ? n_tty_receive_signal_char+0x120/0x120 [ 83.366167] tty_set_termios+0x7a0/0xac0 [ 83.370232] ? tty_wait_until_sent+0x5d0/0x5d0 [ 83.374828] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 83.380361] set_termios+0x41e/0x7d0 [ 83.384062] ? tty_perform_flush+0x80/0x80 [ 83.388284] ? drop_futex_key_refs.isra.14+0x6d/0xe0 [ 83.393371] tty_mode_ioctl+0x857/0xb40 [ 83.397339] ? set_termios+0x7d0/0x7d0 [ 83.401228] ? perf_trace_sched_process_exec+0x860/0x860 [ 83.406664] n_tty_ioctl_helper+0x54/0x3b0 [ 83.410893] n_tty_ioctl+0x54/0x360 [ 83.414511] ? ldsem_down_read+0x32/0x40 [ 83.418556] ? ldsem_down_read+0x32/0x40 [ 83.422605] tty_ioctl+0x5c6/0x17d0 [ 83.426218] ? commit_echoes+0x1c0/0x1c0 [ 83.430262] ? tty_vhangup+0x30/0x30 [ 83.433961] ? find_held_lock+0x36/0x1c0 [ 83.438043] ? __fget+0x4aa/0x740 [ 83.441490] ? lock_downgrade+0x900/0x900 [ 83.445637] ? check_preemption_disabled+0x48/0x280 [ 83.450638] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 83.455551] ? kasan_check_read+0x11/0x20 [ 83.459856] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 83.465118] ? rcu_softirq_qs+0x20/0x20 [ 83.469094] ? __fget+0x4d1/0x740 [ 83.472534] ? ksys_dup3+0x680/0x680 [ 83.476232] ? __might_fault+0x12b/0x1e0 [ 83.480278] ? lock_downgrade+0x900/0x900 [ 83.484411] ? lock_release+0xa00/0xa00 [ 83.488380] ? perf_trace_sched_process_exec+0x860/0x860 [ 83.493815] ? tty_vhangup+0x30/0x30 [ 83.497519] do_vfs_ioctl+0x1de/0x1790 [ 83.501390] ? ioctl_preallocate+0x300/0x300 [ 83.505801] ? memset+0x31/0x40 [ 83.509067] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 83.514588] ? smack_file_ioctl+0x210/0x3c0 [ 83.518891] ? fget_raw+0x20/0x20 [ 83.522330] ? smack_file_lock+0x2e0/0x2e0 [ 83.526559] ? do_syscall_64+0x9a/0x820 [ 83.530521] ? do_syscall_64+0x9a/0x820 [ 83.534485] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 83.540009] ? security_file_ioctl+0x94/0xc0 [ 83.544408] ksys_ioctl+0xa9/0xd0 [ 83.547851] __x64_sys_ioctl+0x73/0xb0 [ 83.551728] do_syscall_64+0x1b9/0x820 [ 83.555615] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 83.560963] ? syscall_return_slowpath+0x5e0/0x5e0 [ 83.565874] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 83.570701] ? trace_hardirqs_on_caller+0x310/0x310 [ 83.575702] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 83.580701] ? prepare_exit_to_usermode+0x291/0x3b0 [ 83.585702] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 83.590531] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 83.595711] RIP: 0033:0x457569 [ 83.598902] 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 [ 83.617808] RSP: 002b:00007f6fa647bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 83.625508] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 83.632760] RDX: 0000000020000080 RSI: 0000000000005402 RDI: 0000000000000005 [ 83.640012] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 83.647266] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fa647c6d4 [ 83.654519] R13: 00000000004c10be R14: 00000000004d2410 R15: 00000000ffffffff [ 83.662766] Kernel Offset: disabled [ 83.666388] Rebooting in 86400 seconds..