[....] Starting enhanced syslogd: rsyslogd[ 13.750879] audit: type=1400 audit(1516198288.122:4): avc: denied { syslog } for pid=3198 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.15.193' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.764960] ================================================================== [ 26.772353] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.779428] Read of size 8 at addr ffff8801d14dd140 by task syzkaller429841/3354 [ 26.786928] [ 26.788526] CPU: 0 PID: 3354 Comm: syzkaller429841 Not tainted 4.9.77-g033d019 #24 [ 26.796215] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.805561] ffff8801c7ccf940 ffffffff81d941c9 ffffea0007453740 ffff8801d14dd140 [ 26.813577] 0000000000000000 ffff8801d14dd140 ffff8801c89ac438 ffff8801c7ccf978 [ 26.821552] ffffffff8153db93 ffff8801d14dd140 0000000000000008 0000000000000000 [ 26.829548] Call Trace: [ 26.832112] [] dump_stack+0xc1/0x128 [ 26.837448] [] print_address_description+0x73/0x280 [ 26.844097] [] kasan_report+0x275/0x360 [ 26.849692] [] ? sg_remove_request+0x103/0x120 [ 26.855893] [] __asan_report_load8_noabort+0x14/0x20 [ 26.862615] [] sg_remove_request+0x103/0x120 [ 26.868643] [] sg_finish_rem_req+0x295/0x340 [ 26.874672] [] sg_read+0xa1c/0x1440 [ 26.879920] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.886557] [] ? fsnotify+0xf30/0xf30 [ 26.891995] [] ? avc_policy_seqno+0x9/0x20 [ 26.897856] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.904840] [] ? security_file_permission+0x89/0x1e0 [ 26.911571] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.918206] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.924847] [] compat_do_readv_writev+0x522/0x760 [ 26.931323] [] ? do_pwritev+0x1a0/0x1a0 [ 26.936919] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.942864] [] ? handle_mm_fault+0x6ee/0x2530 [ 26.948979] [] ? __pmd_alloc+0x410/0x410 [ 26.954664] [] compat_readv+0xe3/0x150 [ 26.960182] [] do_compat_readv+0xf4/0x1d0 [ 26.965960] [] ? compat_readv+0x150/0x150 [ 26.971731] [] compat_SyS_readv+0x26/0x30 [ 26.977501] [] ? SyS_pwritev2+0x80/0x80 [ 26.983110] [] do_fast_syscall_32+0x2f7/0x890 [ 26.989226] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.995864] [] entry_SYSENTER_compat+0x74/0x83 [ 27.002063] [ 27.003662] Allocated by task 0: [ 27.006992] (stack is not available) [ 27.010673] [ 27.012270] Freed by task 0: [ 27.015253] (stack is not available) [ 27.018933] [ 27.020532] The buggy address belongs to the object at ffff8801d14dd100 [ 27.020532] which belongs to the cache fasync_cache of size 96 [ 27.033157] The buggy address is located 64 bytes inside of [ 27.033157] 96-byte region [ffff8801d14dd100, ffff8801d14dd160) [ 27.044828] The buggy address belongs to the page: [ 27.049734] page:ffffea0007453740 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.057974] flags: 0x8000000000000080(slab) [ 27.062263] page dumped because: kasan: bad access detected [ 27.067946] [ 27.069550] Memory state around the buggy address: [ 27.074452] ffff8801d14dd000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.081782] ffff8801d14dd080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.089109] >ffff8801d14dd100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.096438] ^ [ 27.101860] ffff8801d14dd180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.109189] ffff8801d14dd200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.116520] ================================================================== [ 27.123851] Disabling lock debugging due to kernel taint [ 27.129542] Kernel panic - not syncing: panic_on_warn set ... [ 27.129542] [ 27.136897] CPU: 0 PID: 3354 Comm: syzkaller429841 Tainted: G B 4.9.77-g033d019 #24 [ 27.145796] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.155122] ffff8801c7ccf898 ffffffff81d941c9 ffffffff841970ff ffff8801c7ccf970 [ 27.163116] 0000000000000000 ffff8801d14dd140 ffff8801c89ac438 ffff8801c7ccf960 [ 27.171102] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 27.179090] Call Trace: [ 27.181651] [] dump_stack+0xc1/0x128 [ 27.186986] [] panic+0x1bc/0x3a8 [ 27.191976] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.200176] [] ? preempt_schedule+0x25/0x30 [ 27.206129] [] ? ___preempt_schedule+0x16/0x18 [ 27.212335] [] kasan_end_report+0x50/0x50 [ 27.218100] [] kasan_report+0x167/0x360 [ 27.223699] [] ? sg_remove_request+0x103/0x120 [ 27.229903] [] __asan_report_load8_noabort+0x14/0x20 [ 27.236626] [] sg_remove_request+0x103/0x120 [ 27.242657] [] sg_finish_rem_req+0x295/0x340 [ 27.248689] [] sg_read+0xa1c/0x1440 [ 27.253936] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.260577] [] ? fsnotify+0xf30/0xf30 [ 27.266015] [] ? avc_policy_seqno+0x9/0x20 [ 27.271874] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.278860] [] ? security_file_permission+0x89/0x1e0 [ 27.285583] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.292220] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.298872] [] compat_do_readv_writev+0x522/0x760 [ 27.305355] [] ? do_pwritev+0x1a0/0x1a0 [ 27.310959] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.316904] [] ? handle_mm_fault+0x6ee/0x2530 [ 27.323019] [] ? __pmd_alloc+0x410/0x410 [ 27.328700] [] compat_readv+0xe3/0x150 [ 27.334209] [] do_compat_readv+0xf4/0x1d0 [ 27.339975] [] ? compat_readv+0x150/0x150 [ 27.345757] [] compat_SyS_readv+0x26/0x30 [ 27.351527] [] ? SyS_pwritev2+0x80/0x80 [ 27.357131] [] do_fast_syscall_32+0x2f7/0x890 [ 27.363253] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.369888] [] entry_SYSENTER_compat+0x74/0x83 [ 27.376516] Dumping ftrace buffer: [ 27.380042] (ftrace buffer empty) [ 27.383724] Kernel Offset: disabled [ 27.387321] Rebooting in 86400 seconds..