[....] Starting enhanced syslogd: rsyslogd[ 12.469011] audit: type=1400 audit(1515928296.681:4): avc: denied { syslog } for pid=3177 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.11' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 42.564578] ================================================================== [ 42.571957] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 42.579026] Read of size 8 at addr ffff8801c6cb61c0 by task syzkaller890273/3345 [ 42.586533] [ 42.588135] CPU: 1 PID: 3345 Comm: syzkaller890273 Not tainted 4.9.76-gf0f6293 #22 [ 42.595807] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.605130] ffff8801caae7940 ffffffff81d93149 ffffea00071b2d80 ffff8801c6cb61c0 [ 42.613104] 0000000000000000 ffff8801c6cb61c0 ffff8801cab64438 ffff8801caae7978 [ 42.621077] ffffffff8153cb43 ffff8801c6cb61c0 0000000000000008 0000000000000000 [ 42.629050] Call Trace: [ 42.631606] [] dump_stack+0xc1/0x128 [ 42.636940] [] print_address_description+0x73/0x280 [ 42.643576] [] kasan_report+0x275/0x360 [ 42.649171] [] ? sg_remove_request+0x103/0x120 [ 42.655372] [] __asan_report_load8_noabort+0x14/0x20 [ 42.662093] [] sg_remove_request+0x103/0x120 [ 42.668119] [] sg_finish_rem_req+0x295/0x340 [ 42.674142] [] sg_read+0xa1c/0x1440 [ 42.679389] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 42.686023] [] ? fsnotify+0xf30/0xf30 [ 42.691443] [] ? avc_policy_seqno+0x9/0x20 [ 42.697298] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 42.704280] [] ? security_file_permission+0x89/0x1e0 [ 42.711000] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 42.717633] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 42.724265] [] compat_do_readv_writev+0x522/0x760 [ 42.730727] [] ? do_pwritev+0x1a0/0x1a0 [ 42.736318] [] ? _raw_spin_unlock+0x2c/0x50 [ 42.742260] [] ? check_preemption_disabled+0x3b/0x200 [ 42.749065] [] ? __fget+0x201/0x3a0 [ 42.754310] [] ? __fget+0x228/0x3a0 [ 42.759554] [] ? __fget+0x47/0x3a0 [ 42.764712] [] compat_readv+0xe3/0x150 [ 42.770219] [] do_compat_readv+0xf4/0x1d0 [ 42.775984] [] ? compat_readv+0x150/0x150 [ 42.781749] [] compat_SyS_readv+0x26/0x30 [ 42.787515] [] ? SyS_pwritev2+0x80/0x80 [ 42.793111] [] do_fast_syscall_32+0x2f7/0x890 [ 42.799225] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.805861] [] entry_SYSENTER_compat+0x74/0x83 [ 42.812057] [ 42.813660] Allocated by task 0: [ 42.816990] (stack is not available) [ 42.820667] [ 42.822262] Freed by task 0: [ 42.825245] (stack is not available) [ 42.828924] [ 42.830521] The buggy address belongs to the object at ffff8801c6cb6180 [ 42.830521] which belongs to the cache fasync_cache of size 96 [ 42.843142] The buggy address is located 64 bytes inside of [ 42.843142] 96-byte region [ffff8801c6cb6180, ffff8801c6cb61e0) [ 42.854807] The buggy address belongs to the page: [ 42.859707] page:ffffea00071b2d80 count:1 mapcount:0 mapping: (null) index:0x0 [ 42.867931] flags: 0x8000000000000080(slab) [ 42.872217] page dumped because: kasan: bad access detected [ 42.877890] [ 42.879486] Memory state around the buggy address: [ 42.884382] ffff8801c6cb6080: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 42.891720] ffff8801c6cb6100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.899047] >ffff8801c6cb6180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.906371] ^ executing program [ 42.911789] ffff8801c6cb6200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.919115] ffff8801c6cb6280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.926438] ================================================================== [ 42.933763] Disabling lock debugging due to kernel taint [ 42.939822] Kernel panic - not syncing: panic_on_warn set ... [ 42.939822] [ 42.947167] CPU: 1 PID: 3345 Comm: syzkaller890273 Tainted: G B 4.9.76-gf0f6293 #22 [ 42.956069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.965404] ffff8801caae7898 ffffffff81d93149 ffffffff84195c17 ffff8801caae7970 [ 42.973381] 0000000000000000 ffff8801c6cb61c0 ffff8801cab64438 ffff8801caae7960 [ 42.981350] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 42.989329] Call Trace: [ 42.991891] [] dump_stack+0xc1/0x128 [ 42.997225] [] panic+0x1bc/0x3a8 [ 43.002213] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 43.010410] [] ? preempt_schedule+0x25/0x30 [ 43.016352] [] ? ___preempt_schedule+0x16/0x18 [ 43.022555] [] kasan_end_report+0x50/0x50 [ 43.028323] [] kasan_report+0x167/0x360 [ 43.033916] [] ? sg_remove_request+0x103/0x120 [ 43.040116] [] __asan_report_load8_noabort+0x14/0x20 [ 43.046835] [] sg_remove_request+0x103/0x120 [ 43.052860] [] sg_finish_rem_req+0x295/0x340 [ 43.058886] [] sg_read+0xa1c/0x1440 [ 43.064131] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 43.070765] [] ? fsnotify+0xf30/0xf30 [ 43.076186] [] ? avc_policy_seqno+0x9/0x20 [ 43.082040] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 43.089020] [] ? security_file_permission+0x89/0x1e0 [ 43.095742] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 43.102377] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 43.109013] [] compat_do_readv_writev+0x522/0x760 [ 43.115474] [] ? do_pwritev+0x1a0/0x1a0 [ 43.121069] [] ? _raw_spin_unlock+0x2c/0x50 [ 43.127012] [] ? check_preemption_disabled+0x3b/0x200 [ 43.133823] [] ? __fget+0x201/0x3a0 [ 43.139065] [] ? __fget+0x228/0x3a0 [ 43.144306] [] ? __fget+0x47/0x3a0 [ 43.149814] [] compat_readv+0xe3/0x150 [ 43.155317] [] do_compat_readv+0xf4/0x1d0 [ 43.161084] [] ? compat_readv+0x150/0x150 [ 43.166852] [] compat_SyS_readv+0x26/0x30 [ 43.172620] [] ? SyS_pwritev2+0x80/0x80 [ 43.178217] [] do_fast_syscall_32+0x2f7/0x890 [ 43.184330] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.190965] [] entry_SYSENTER_compat+0x74/0x83 [ 43.197898] Dumping ftrace buffer: [ 43.201408] (ftrace buffer empty) [ 43.205087] Kernel Offset: disabled [ 43.208685] Rebooting in 86400 seconds..