[....] Starting enhanced syslogd: rsyslogd[ 13.766511] audit: type=1400 audit(1515911062.753:4): avc: denied { syslog } for pid=3173 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.36' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 24.965436] ================================================================== [ 24.972874] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.979945] Read of size 8 at addr ffff8801cad66240 by task syzkaller374917/3330 [ 24.987443] [ 24.989040] CPU: 0 PID: 3330 Comm: syzkaller374917 Not tainted 4.9.76-g8e170a5 #21 [ 24.996715] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.007085] ffff8801c875f940 ffffffff81d93149 ffffea00072b5980 ffff8801cad66240 [ 25.015058] 0000000000000000 ffff8801cad66240 ffff8801c86f8238 ffff8801c875f978 [ 25.023010] ffffffff8153cb43 ffff8801cad66240 0000000000000008 0000000000000000 [ 25.030990] Call Trace: [ 25.033558] [] dump_stack+0xc1/0x128 [ 25.038900] [] print_address_description+0x73/0x280 [ 25.045545] [] kasan_report+0x275/0x360 [ 25.051136] [] ? sg_remove_request+0x103/0x120 [ 25.057347] [] __asan_report_load8_noabort+0x14/0x20 [ 25.064077] [] sg_remove_request+0x103/0x120 [ 25.070189] [] sg_finish_rem_req+0x295/0x340 [ 25.076302] [] sg_read+0xa1c/0x1440 [ 25.081547] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.088189] [] ? fsnotify+0xf30/0xf30 [ 25.093609] [] ? avc_policy_seqno+0x9/0x20 [ 25.099464] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 25.106450] [] ? security_file_permission+0x89/0x1e0 [ 25.113170] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.121208] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.127843] [] compat_do_readv_writev+0x522/0x760 [ 25.134304] [] ? do_pwritev+0x1a0/0x1a0 [ 25.139906] [] ? _raw_spin_unlock+0x2c/0x50 [ 25.145849] [] ? __fget+0x201/0x3a0 [ 25.151093] [] ? __fget+0x228/0x3a0 [ 25.156344] [] ? __fget+0x47/0x3a0 [ 25.161503] [] compat_readv+0xe3/0x150 [ 25.167009] [] do_compat_readv+0xf4/0x1d0 [ 25.172795] [] ? compat_readv+0x150/0x150 [ 25.178559] [] compat_SyS_readv+0x26/0x30 [ 25.184326] [] ? SyS_pwritev2+0x80/0x80 [ 25.189928] [] do_fast_syscall_32+0x2f7/0x890 [ 25.196043] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.202688] [] entry_SYSENTER_compat+0x74/0x83 [ 25.209927] [ 25.211527] Allocated by task 0: [ 25.214869] (stack is not available) [ 25.218554] [ 25.220146] Freed by task 0: [ 25.223130] (stack is not available) [ 25.226804] [ 25.228399] The buggy address belongs to the object at ffff8801cad66200 [ 25.228399] which belongs to the cache fasync_cache of size 96 [ 25.241029] The buggy address is located 64 bytes inside of [ 25.241029] 96-byte region [ffff8801cad66200, ffff8801cad66260) [ 25.254180] The buggy address belongs to the page: [ 25.259086] page:ffffea00072b5980 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.267312] flags: 0x8000000000000080(slab) [ 25.271600] page dumped because: kasan: bad access detected [ 25.277277] [ 25.278869] Memory state around the buggy address: [ 25.283766] ffff8801cad66100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.291109] ffff8801cad66180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.298437] >ffff8801cad66200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.305784] ^ executing program [ 25.311204] ffff8801cad66280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.318530] ffff8801cad66300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.325867] ================================================================== [ 25.333203] Disabling lock debugging due to kernel taint [ 25.339048] Kernel panic - not syncing: panic_on_warn set ... [ 25.339048] [ 25.346401] CPU: 0 PID: 3330 Comm: syzkaller374917 Tainted: G B 4.9.76-g8e170a5 #21 [ 25.355299] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.364628] ffff8801c875f898 ffffffff81d93149 ffffffff84195c17 ffff8801c875f970 [ 25.374155] 0000000000000000 ffff8801cad66240 ffff8801c86f8238 ffff8801c875f960 [ 25.382118] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 25.390074] Call Trace: [ 25.392634] [] dump_stack+0xc1/0x128 [ 25.397975] [] panic+0x1bc/0x3a8 [ 25.402960] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.411195] [] ? preempt_schedule+0x25/0x30 [ 25.417149] [] ? ___preempt_schedule+0x16/0x18 [ 25.423352] [] kasan_end_report+0x50/0x50 [ 25.429115] [] kasan_report+0x167/0x360 [ 25.434708] [] ? sg_remove_request+0x103/0x120 [ 25.440911] [] __asan_report_load8_noabort+0x14/0x20 [ 25.447630] [] sg_remove_request+0x103/0x120 [ 25.453656] [] sg_finish_rem_req+0x295/0x340 [ 25.459692] [] sg_read+0xa1c/0x1440 [ 25.465120] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.471759] [] ? fsnotify+0xf30/0xf30 [ 25.477180] [] ? avc_policy_seqno+0x9/0x20 [ 25.483036] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 25.490014] [] ? security_file_permission+0x89/0x1e0 [ 25.496735] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.503381] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.510027] [] compat_do_readv_writev+0x522/0x760 [ 25.516491] [] ? do_pwritev+0x1a0/0x1a0 [ 25.522104] [] ? _raw_spin_unlock+0x2c/0x50 [ 25.528062] [] ? __fget+0x201/0x3a0 [ 25.533314] [] ? __fget+0x228/0x3a0 [ 25.538556] [] ? __fget+0x47/0x3a0 [ 25.543979] [] compat_readv+0xe3/0x150 [ 25.549491] [] do_compat_readv+0xf4/0x1d0 [ 25.555256] [] ? compat_readv+0x150/0x150 [ 25.561044] [] compat_SyS_readv+0x26/0x30 [ 25.566836] [] ? SyS_pwritev2+0x80/0x80 [ 25.572434] [] do_fast_syscall_32+0x2f7/0x890 [ 25.578545] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.585181] [] entry_SYSENTER_compat+0x74/0x83 [ 25.592058] Dumping ftrace buffer: [ 25.595567] (ftrace buffer empty) [ 25.599258] Kernel Offset: disabled [ 25.602852] Rebooting in 86400 seconds..