[....] Starting enhanced syslogd: rsyslogd[ 13.302769] audit: type=1400 audit(1515593913.376:4): avc: denied { syslog } for pid=3170 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.38' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 25.915756] ================================================================== [ 25.923156] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 25.930222] Read of size 8 at addr ffff8801c92af140 by task syzkaller354945/3326 [ 25.937720] [ 25.939316] CPU: 0 PID: 3326 Comm: syzkaller354945 Not tainted 4.9.76-g9154940 #20 [ 25.946992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.956312] ffff8801c245f940 ffffffff81d93149 ffffea000724abc0 ffff8801c92af140 [ 25.964275] 0000000000000000 ffff8801c92af140 ffff8801c8518238 ffff8801c245f978 [ 25.972221] ffffffff8153cb43 ffff8801c92af140 0000000000000008 0000000000000000 [ 25.980169] Call Trace: [ 25.982721] [] dump_stack+0xc1/0x128 [ 25.988053] [] print_address_description+0x73/0x280 [ 25.994683] [] kasan_report+0x275/0x360 [ 26.000272] [] ? sg_remove_request+0x103/0x120 [ 26.006468] [] __asan_report_load8_noabort+0x14/0x20 [ 26.013185] [] sg_remove_request+0x103/0x120 [ 26.019208] [] sg_finish_rem_req+0x295/0x340 [ 26.025233] [] sg_read+0xa1c/0x1440 [ 26.030477] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.037108] [] ? fsnotify+0xf30/0xf30 [ 26.042533] [] ? avc_policy_seqno+0x9/0x20 [ 26.048385] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.055370] [] ? security_file_permission+0x89/0x1e0 [ 26.062087] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.068717] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.075346] [] compat_do_readv_writev+0x522/0x760 [ 26.081802] [] ? do_pwritev+0x1a0/0x1a0 [ 26.087394] [] ? fasync_insert_entry+0x147/0x2e0 [ 26.093767] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.099703] [] ? SyS_fcntl+0x105/0xc70 [ 26.105206] [] compat_readv+0xe3/0x150 [ 26.110708] [] do_compat_readv+0xf4/0x1d0 [ 26.116478] [] ? compat_readv+0x150/0x150 [ 26.122246] [] ? compat_SyS_ustat+0x30/0x30 [ 26.128182] [] compat_SyS_readv+0x26/0x30 [ 26.133942] [] ? SyS_pwritev2+0x80/0x80 [ 26.139532] [] do_fast_syscall_32+0x2f7/0x890 [ 26.145640] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.152272] [] entry_SYSENTER_compat+0x74/0x83 [ 26.158468] [ 26.160059] Allocated by task 0: [ 26.163388] (stack is not available) [ 26.167062] [ 26.168654] Freed by task 0: [ 26.171635] (stack is not available) [ 26.175310] [ 26.176902] The buggy address belongs to the object at ffff8801c92af100 [ 26.176902] which belongs to the cache fasync_cache of size 96 [ 26.189528] The buggy address is located 64 bytes inside of [ 26.189528] 96-byte region [ffff8801c92af100, ffff8801c92af160) [ 26.201194] The buggy address belongs to the page: [ 26.206089] page:ffffea000724abc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.214306] flags: 0x8000000000000080(slab) [ 26.218592] page dumped because: kasan: bad access detected [ 26.224281] [ 26.225870] Memory state around the buggy address: [ 26.230763] ffff8801c92af000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.238101] ffff8801c92af080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.245424] >ffff8801c92af100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.252747] ^ [ 26.258160] ffff8801c92af180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.265490] ffff8801c92af200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.272811] ================================================================== [ 26.280131] Disabling lock debugging due to kernel taint [ 26.285810] Kernel panic - not syncing: panic_on_warn set ... [ 26.285810] [ 26.293142] CPU: 0 PID: 3326 Comm: syzkaller354945 Tainted: G B 4.9.76-g9154940 #20 [ 26.302029] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.311353] ffff8801c245f898 ffffffff81d93149 ffffffff84195c17 ffff8801c245f970 [ 26.319307] 0000000000000000 ffff8801c92af140 ffff8801c8518238 ffff8801c245f960 [ 26.327256] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 26.335205] Call Trace: [ 26.337762] [] dump_stack+0xc1/0x128 [ 26.343093] [] panic+0x1bc/0x3a8 [ 26.348078] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 26.356275] [] ? preempt_schedule+0x25/0x30 [ 26.362212] [] ? ___preempt_schedule+0x16/0x18 [ 26.368410] [] kasan_end_report+0x50/0x50 [ 26.374174] [] kasan_report+0x167/0x360 [ 26.379775] [] ? sg_remove_request+0x103/0x120 [ 26.385994] [] __asan_report_load8_noabort+0x14/0x20 [ 26.392711] [] sg_remove_request+0x103/0x120 [ 26.398735] [] sg_finish_rem_req+0x295/0x340 [ 26.404759] [] sg_read+0xa1c/0x1440 [ 26.410002] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.416633] [] ? fsnotify+0xf30/0xf30 [ 26.422048] [] ? avc_policy_seqno+0x9/0x20 [ 26.427900] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.434894] [] ? security_file_permission+0x89/0x1e0 [ 26.441612] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.448242] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.454879] [] compat_do_readv_writev+0x522/0x760 [ 26.461337] [] ? do_pwritev+0x1a0/0x1a0 [ 26.466935] [] ? fasync_insert_entry+0x147/0x2e0 [ 26.473314] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.479248] [] ? SyS_fcntl+0x105/0xc70 [ 26.484752] [] compat_readv+0xe3/0x150 [ 26.490256] [] do_compat_readv+0xf4/0x1d0 [ 26.496020] [] ? compat_readv+0x150/0x150 [ 26.501790] [] ? compat_SyS_ustat+0x30/0x30 [ 26.507727] [] compat_SyS_readv+0x26/0x30 [ 26.513490] [] ? SyS_pwritev2+0x80/0x80 [ 26.519078] [] do_fast_syscall_32+0x2f7/0x890 [ 26.525189] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.531826] [] entry_SYSENTER_compat+0x74/0x83 [ 26.538392] Dumping ftrace buffer: [ 26.541898] (ftrace buffer empty) [ 26.545574] Kernel Offset: disabled [ 26.549167] Rebooting in 86400 seconds..