[....] Starting enhanced syslogd: rsyslogd[ 10.301468] audit: type=1400 audit(1515583670.901: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.14' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 44.749365] ================================================================== [ 44.750453] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 44.751396] Read of size 8 at addr ffff8801cfe4c140 by task syzkaller651641/3345 [ 44.752380] [ 44.752614] CPU: 0 PID: 3345 Comm: syzkaller651641 Not tainted 4.9.76-g9154940 #20 [ 44.753620] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.754840] ffff8801c25e7940 ffffffff81d93149 ffffea00073f9300 ffff8801cfe4c140 [ 44.755983] 0000000000000000 ffff8801cfe4c140 ffff8801c879a338 ffff8801c25e7978 [ 44.757169] ffffffff8153cb43 ffff8801cfe4c140 0000000000000008 0000000000000000 [ 44.758293] Call Trace: [ 44.758690] [] dump_stack+0xc1/0x128 [ 44.759400] [] print_address_description+0x73/0x280 [ 44.760273] [] kasan_report+0x275/0x360 [ 44.761015] [] ? sg_remove_request+0x103/0x120 [ 44.761857] [] __asan_report_load8_noabort+0x14/0x20 [ 44.762744] [] sg_remove_request+0x103/0x120 [ 44.763539] [] sg_finish_rem_req+0x295/0x340 [ 44.764375] [] sg_read+0xa1c/0x1440 [ 44.765088] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.765974] [] ? fsnotify+0xf30/0xf30 [ 44.766695] [] ? avc_policy_seqno+0x9/0x20 [ 44.767474] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 44.768393] [] ? security_file_permission+0x89/0x1e0 [ 44.769333] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.770219] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.778154] [] compat_do_readv_writev+0x522/0x760 [ 44.785912] [] ? do_pwritev+0x1a0/0x1a0 [ 44.791511] [] ? __lru_cache_add+0x187/0x250 [ 44.797546] [] ? _raw_spin_unlock+0x2c/0x50 [ 44.803484] [] ? handle_mm_fault+0x6ee/0x2530 [ 44.809611] [] ? __pmd_alloc+0x410/0x410 [ 44.815290] [] compat_readv+0xe3/0x150 [ 44.820798] [] do_compat_readv+0xf4/0x1d0 [ 44.826562] [] ? compat_readv+0x150/0x150 [ 44.832330] [] compat_SyS_readv+0x26/0x30 [ 44.838094] [] ? SyS_pwritev2+0x80/0x80 [ 44.843691] [] do_fast_syscall_32+0x2f7/0x890 [ 44.849810] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.856897] [] entry_SYSENTER_compat+0x74/0x83 [ 44.863092] [ 44.864683] Allocated by task 0: [ 44.868020] (stack is not available) [ 44.871694] [ 44.873285] Freed by task 0: [ 44.876265] (stack is not available) [ 44.879946] [ 44.881541] The buggy address belongs to the object at ffff8801cfe4c100 [ 44.881541] which belongs to the cache fasync_cache of size 96 [ 44.894159] The buggy address is located 64 bytes inside of [ 44.894159] 96-byte region [ffff8801cfe4c100, ffff8801cfe4c160) [ 44.905828] The buggy address belongs to the page: [ 44.910730] page:ffffea00073f9300 count:1 mapcount:0 mapping: (null) index:0x0 [ 44.918949] flags: 0x8000000000000080(slab) [ 44.923233] page dumped because: kasan: bad access detected [ 44.928914] [ 44.930505] Memory state around the buggy address: [ 44.935404] ffff8801cfe4c000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 44.942726] ffff8801cfe4c080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.950310] >ffff8801cfe4c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.957648] ^ [ 44.963062] ffff8801cfe4c180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.970393] ffff8801cfe4c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.977714] ================================================================== [ 44.985038] Disabling lock debugging due to kernel taint [ 44.990652] Kernel panic - not syncing: panic_on_warn set ... [ 44.990652] [ 44.998001] CPU: 0 PID: 3345 Comm: syzkaller651641 Tainted: G B 4.9.76-g9154940 #20 [ 45.006889] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.016218] ffff8801c25e7898 ffffffff81d93149 ffffffff84195c17 ffff8801c25e7970 [ 45.024176] 0000000000000000 ffff8801cfe4c140 ffff8801c879a338 ffff8801c25e7960 [ 45.033081] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 45.041033] Call Trace: [ 45.043599] [] dump_stack+0xc1/0x128 [ 45.048942] [] panic+0x1bc/0x3a8 [ 45.053935] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 45.062127] [] ? preempt_schedule+0x25/0x30 [ 45.068062] [] ? ___preempt_schedule+0x16/0x18 [ 45.074258] [] kasan_end_report+0x50/0x50 [ 45.080020] [] kasan_report+0x167/0x360 [ 45.085611] [] ? sg_remove_request+0x103/0x120 [ 45.091808] [] __asan_report_load8_noabort+0x14/0x20 [ 45.098528] [] sg_remove_request+0x103/0x120 [ 45.104558] [] sg_finish_rem_req+0x295/0x340 [ 45.110599] [] sg_read+0xa1c/0x1440 [ 45.115843] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 45.122474] [] ? fsnotify+0xf30/0xf30 [ 45.127992] [] ? avc_policy_seqno+0x9/0x20 [ 45.133846] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 45.140828] [] ? security_file_permission+0x89/0x1e0 [ 45.147547] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 45.154190] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 45.160826] [] compat_do_readv_writev+0x522/0x760 [ 45.167288] [] ? do_pwritev+0x1a0/0x1a0 [ 45.172876] [] ? __lru_cache_add+0x187/0x250 [ 45.178901] [] ? _raw_spin_unlock+0x2c/0x50 [ 45.184838] [] ? handle_mm_fault+0x6ee/0x2530 [ 45.190960] [] ? __pmd_alloc+0x410/0x410 [ 45.197512] [] compat_readv+0xe3/0x150 [ 45.203011] [] do_compat_readv+0xf4/0x1d0 [ 45.208776] [] ? compat_readv+0x150/0x150 [ 45.214540] [] compat_SyS_readv+0x26/0x30 [ 45.220305] [] ? SyS_pwritev2+0x80/0x80 [ 45.225898] [] do_fast_syscall_32+0x2f7/0x890 [ 45.232007] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.238641] [] entry_SYSENTER_compat+0x74/0x83 [ 45.245208] Dumping ftrace buffer: [ 45.248714] (ftrace buffer empty) [ 45.252390] Kernel Offset: disabled [ 45.255981] Rebooting in 86400 seconds..