[....] Starting enhanced syslogd: rsyslogd[ 14.558850] audit: type=1400 audit(1516066866.663:4): avc: denied { syslog } for pid=3178 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.209' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 30.493344] ================================================================== [ 30.500781] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 30.507860] Read of size 8 at addr ffff8801c9749140 by task syzkaller820577/3336 [ 30.515367] [ 30.516986] CPU: 0 PID: 3336 Comm: syzkaller820577 Not tainted 4.9.76-g8dec074 #23 [ 30.524664] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.534007] ffff8801c872f940 ffffffff81d93169 ffffea000725d240 ffff8801c9749140 [ 30.542007] 0000000000000000 ffff8801c9749140 ffff8801c8618238 ffff8801c872f978 [ 30.550017] ffffffff8153cb43 ffff8801c9749140 0000000000000008 0000000000000000 [ 30.557993] Call Trace: [ 30.560561] [] dump_stack+0xc1/0x128 [ 30.565902] [] print_address_description+0x73/0x280 [ 30.572543] [] kasan_report+0x275/0x360 [ 30.578147] [] ? sg_remove_request+0x103/0x120 [ 30.584358] [] __asan_report_load8_noabort+0x14/0x20 [ 30.591092] [] sg_remove_request+0x103/0x120 [ 30.597142] [] sg_finish_rem_req+0x295/0x340 [ 30.603179] [] sg_read+0xa1c/0x1440 [ 30.608429] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.615073] [] ? fsnotify+0xf30/0xf30 [ 30.620513] [] ? avc_policy_seqno+0x9/0x20 [ 30.626373] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.633362] [] ? security_file_permission+0x89/0x1e0 [ 30.640110] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.646755] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.653401] [] compat_do_readv_writev+0x522/0x760 [ 30.659869] [] ? do_pwritev+0x1a0/0x1a0 [ 30.665582] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.671549] [] ? handle_mm_fault+0x6ee/0x2530 [ 30.677670] [] ? fasync_helper+0x7a/0xb0 [ 30.683376] [] ? __pmd_alloc+0x410/0x410 [ 30.689103] [] compat_readv+0xe3/0x150 [ 30.694633] [] do_compat_readv+0xf4/0x1d0 [ 30.700408] [] ? compat_readv+0x150/0x150 [ 30.706182] [] compat_SyS_readv+0x26/0x30 [ 30.711954] [] ? SyS_pwritev2+0x80/0x80 [ 30.717552] [] do_fast_syscall_32+0x2f7/0x890 [ 30.723674] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.730317] [] entry_SYSENTER_compat+0x74/0x83 [ 30.736531] [ 30.738135] Allocated by task 0: [ 30.741477] (stack is not available) [ 30.745160] [ 30.746759] Freed by task 0: [ 30.749747] (stack is not available) [ 30.753429] [ 30.755031] The buggy address belongs to the object at ffff8801c9749100 [ 30.755031] which belongs to the cache fasync_cache of size 96 [ 30.767663] The buggy address is located 64 bytes inside of [ 30.767663] 96-byte region [ffff8801c9749100, ffff8801c9749160) [ 30.779336] The buggy address belongs to the page: [ 30.784260] page:ffffea000725d240 count:1 mapcount:0 mapping: (null) index:0x0 [ 30.792510] flags: 0x8000000000000080(slab) [ 30.796807] page dumped because: kasan: bad access detected [ 30.802497] [ 30.804096] Memory state around the buggy address: [ 30.808997] ffff8801c9749000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 30.816335] ffff8801c9749080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.823687] >ffff8801c9749100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.831021] ^ [ 30.836446] ffff8801c9749180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.843781] ffff8801c9749200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.851112] ================================================================== [ 30.858461] Disabling lock debugging due to kernel taint [ 30.864255] Kernel panic - not syncing: panic_on_warn set ... [ 30.864255] [ 30.871611] CPU: 0 PID: 3336 Comm: syzkaller820577 Tainted: G B 4.9.76-g8dec074 #23 [ 30.880518] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.889850] ffff8801c872f898 ffffffff81d93169 ffffffff84195c2f ffff8801c872f970 [ 30.897839] 0000000000000000 ffff8801c9749140 ffff8801c8618238 ffff8801c872f960 [ 30.905841] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 30.913832] Call Trace: [ 30.916397] [] dump_stack+0xc1/0x128 [ 30.921740] [] panic+0x1bc/0x3a8 [ 30.926733] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 30.934941] [] ? preempt_schedule+0x25/0x30 [ 30.940887] [] ? ___preempt_schedule+0x16/0x18 [ 30.947096] [] kasan_end_report+0x50/0x50 [ 30.952879] [] kasan_report+0x167/0x360 [ 30.958481] [] ? sg_remove_request+0x103/0x120 [ 30.964692] [] __asan_report_load8_noabort+0x14/0x20 [ 30.971422] [] sg_remove_request+0x103/0x120 [ 30.977453] [] sg_finish_rem_req+0x295/0x340 [ 30.983497] [] sg_read+0xa1c/0x1440 [ 30.988750] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.995389] [] ? fsnotify+0xf30/0xf30 [ 31.000818] [] ? avc_policy_seqno+0x9/0x20 [ 31.006680] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.013675] [] ? security_file_permission+0x89/0x1e0 [ 31.020407] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.027046] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.033703] [] compat_do_readv_writev+0x522/0x760 [ 31.040185] [] ? do_pwritev+0x1a0/0x1a0 [ 31.045798] [] ? _raw_spin_unlock+0x2c/0x50 [ 31.051751] [] ? handle_mm_fault+0x6ee/0x2530 [ 31.057872] [] ? fasync_helper+0x7a/0xb0 [ 31.063561] [] ? __pmd_alloc+0x410/0x410 [ 31.069254] [] compat_readv+0xe3/0x150 [ 31.074780] [] do_compat_readv+0xf4/0x1d0 [ 31.080558] [] ? compat_readv+0x150/0x150 [ 31.086331] [] compat_SyS_readv+0x26/0x30 [ 31.092103] [] ? SyS_pwritev2+0x80/0x80 [ 31.097703] [] do_fast_syscall_32+0x2f7/0x890 [ 31.103824] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.110470] [] entry_SYSENTER_compat+0x74/0x83 [ 31.117196] Dumping ftrace buffer: [ 31.120723] (ftrace buffer empty) [ 31.124404] Kernel Offset: disabled [ 31.128014] Rebooting in 86400 seconds..