[....] Starting enhanced syslogd: rsyslogd[ 13.664750] audit: type=1400 audit(1515858430.634:4): avc: denied { syslog } for pid=3175 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.58' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 38.169206] ================================================================== [ 38.176615] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 38.183705] Read of size 8 at addr ffff8801c864b140 by task syzkaller470569/3340 [ 38.191214] [ 38.192819] CPU: 0 PID: 3340 Comm: syzkaller470569 Not tainted 4.9.76-g8e170a5 #21 [ 38.200496] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.209831] ffff8801c85c7940 ffffffff81d93149 ffffea00072192c0 ffff8801c864b140 [ 38.217811] 0000000000000000 ffff8801c864b140 ffff8801c8452338 ffff8801c85c7978 [ 38.225799] ffffffff8153cb43 ffff8801c864b140 0000000000000008 0000000000000000 [ 38.233781] Call Trace: [ 38.236346] [] dump_stack+0xc1/0x128 [ 38.241685] [] print_address_description+0x73/0x280 [ 38.248329] [] kasan_report+0x275/0x360 [ 38.253926] [] ? sg_remove_request+0x103/0x120 [ 38.260133] [] __asan_report_load8_noabort+0x14/0x20 [ 38.266868] [] sg_remove_request+0x103/0x120 [ 38.272902] [] sg_finish_rem_req+0x295/0x340 [ 38.278946] [] sg_read+0xa1c/0x1440 [ 38.284192] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.290831] [] ? fsnotify+0xf30/0xf30 [ 38.296255] [] ? avc_policy_seqno+0x9/0x20 [ 38.302115] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 38.309109] [] ? security_file_permission+0x89/0x1e0 [ 38.315841] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.322480] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.329125] [] compat_do_readv_writev+0x522/0x760 [ 38.335587] [] ? do_pwritev+0x1a0/0x1a0 [ 38.341194] [] ? __lru_cache_add+0x187/0x250 [ 38.347228] [] ? _raw_spin_unlock+0x2c/0x50 [ 38.353171] [] ? handle_mm_fault+0x6ee/0x2530 [ 38.359287] [] ? __pmd_alloc+0x410/0x410 [ 38.364970] [] compat_readv+0xe3/0x150 [ 38.370475] [] do_compat_readv+0xf4/0x1d0 [ 38.376245] [] ? compat_readv+0x150/0x150 [ 38.382020] [] compat_SyS_readv+0x26/0x30 [ 38.387798] [] ? SyS_pwritev2+0x80/0x80 [ 38.393429] [] do_fast_syscall_32+0x2f7/0x890 [ 38.399548] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.406189] [] entry_SYSENTER_compat+0x74/0x83 [ 38.412390] [ 38.414002] Allocated by task 0: [ 38.417344] (stack is not available) [ 38.421024] [ 38.422622] Freed by task 0: [ 38.425612] (stack is not available) [ 38.429294] [ 38.430893] The buggy address belongs to the object at ffff8801c864b100 [ 38.430893] which belongs to the cache fasync_cache of size 96 [ 38.443521] The buggy address is located 64 bytes inside of [ 38.443521] 96-byte region [ffff8801c864b100, ffff8801c864b160) [ 38.455200] The buggy address belongs to the page: [ 38.460113] page:ffffea00072192c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 38.468363] flags: 0x8000000000000080(slab) [ 38.472665] page dumped because: kasan: bad access detected [ 38.478353] [ 38.479953] Memory state around the buggy address: [ 38.484855] ffff8801c864b000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 38.492196] ffff8801c864b080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.499529] >ffff8801c864b100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.506860] ^ [ 38.512283] ffff8801c864b180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.519615] ffff8801c864b200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.526945] ================================================================== [ 38.534272] Disabling lock debugging due to kernel taint [ 38.539939] Kernel panic - not syncing: panic_on_warn set ... [ 38.539939] [ 38.547285] CPU: 0 PID: 3340 Comm: syzkaller470569 Tainted: G B 4.9.76-g8e170a5 #21 [ 38.556183] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.565535] ffff8801c85c7898 ffffffff81d93149 ffffffff84195c17 ffff8801c85c7970 [ 38.574054] 0000000000000000 ffff8801c864b140 ffff8801c8452338 ffff8801c85c7960 [ 38.582075] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 38.590136] Call Trace: [ 38.592721] [] dump_stack+0xc1/0x128 [ 38.598060] [] panic+0x1bc/0x3a8 [ 38.603050] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 38.611268] [] ? preempt_schedule+0x25/0x30 [ 38.617213] [] ? ___preempt_schedule+0x16/0x18 [ 38.623439] [] kasan_end_report+0x50/0x50 [ 38.629211] [] kasan_report+0x167/0x360 [ 38.634809] [] ? sg_remove_request+0x103/0x120 [ 38.641016] [] __asan_report_load8_noabort+0x14/0x20 [ 38.647746] [] sg_remove_request+0x103/0x120 [ 38.653778] [] sg_finish_rem_req+0x295/0x340 [ 38.659807] [] sg_read+0xa1c/0x1440 [ 38.665066] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.671721] [] ? fsnotify+0xf30/0xf30 [ 38.677145] [] ? avc_policy_seqno+0x9/0x20 [ 38.683020] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 38.690007] [] ? security_file_permission+0x89/0x1e0 [ 38.696731] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.703367] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.710016] [] compat_do_readv_writev+0x522/0x760 [ 38.716479] [] ? do_pwritev+0x1a0/0x1a0 [ 38.722163] [] ? __lru_cache_add+0x187/0x250 [ 38.728197] [] ? _raw_spin_unlock+0x2c/0x50 [ 38.734151] [] ? handle_mm_fault+0x6ee/0x2530 [ 38.740268] [] ? __pmd_alloc+0x410/0x410 [ 38.745958] [] compat_readv+0xe3/0x150 [ 38.751467] [] do_compat_readv+0xf4/0x1d0 [ 38.757235] [] ? compat_readv+0x150/0x150 [ 38.763012] [] compat_SyS_readv+0x26/0x30 [ 38.768792] [] ? SyS_pwritev2+0x80/0x80 [ 38.774387] [] do_fast_syscall_32+0x2f7/0x890 [ 38.780503] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.787139] [] entry_SYSENTER_compat+0x74/0x83 [ 38.793762] Dumping ftrace buffer: [ 38.797274] (ftrace buffer empty) [ 38.800958] Kernel Offset: disabled [ 38.804569] Rebooting in 86400 seconds..