[....] Starting enhanced syslogd: rsyslogd[ 13.036140] audit: type=1400 audit(1515884863.173:4): avc: denied { syslog } for pid=3173 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.41' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.904365] ================================================================== [ 23.911759] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.918833] Read of size 8 at addr ffff8801c9b90140 by task syzkaller063057/3329 [ 23.926332] [ 23.927933] CPU: 0 PID: 3329 Comm: syzkaller063057 Not tainted 4.9.76-g8e170a5 #21 [ 23.935605] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.944937] ffff8801cd277940 ffffffff81d93149 ffffea000726e400 ffff8801c9b90140 [ 23.952906] 0000000000000000 ffff8801c9b90140 ffff8801c8460238 ffff8801cd277978 [ 23.960874] ffffffff8153cb43 ffff8801c9b90140 0000000000000008 0000000000000000 [ 23.968844] Call Trace: [ 23.971400] [] dump_stack+0xc1/0x128 [ 23.976747] [] print_address_description+0x73/0x280 [ 23.983398] [] kasan_report+0x275/0x360 [ 23.988993] [] ? sg_remove_request+0x103/0x120 [ 23.995203] [] __asan_report_load8_noabort+0x14/0x20 [ 24.001934] [] sg_remove_request+0x103/0x120 [ 24.007960] [] sg_finish_rem_req+0x295/0x340 [ 24.013983] [] sg_read+0xa1c/0x1440 [ 24.019227] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.025862] [] ? fsnotify+0xf30/0xf30 [ 24.031280] [] ? avc_policy_seqno+0x9/0x20 [ 24.037133] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.044113] [] ? security_file_permission+0x89/0x1e0 [ 24.050836] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.057477] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.064121] [] compat_do_readv_writev+0x522/0x760 [ 24.070582] [] ? do_pwritev+0x1a0/0x1a0 [ 24.076175] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.082116] [] compat_readv+0xe3/0x150 [ 24.087620] [] do_compat_readv+0xf4/0x1d0 [ 24.093384] [] ? compat_readv+0x150/0x150 [ 24.099153] [] compat_SyS_readv+0x26/0x30 [ 24.104919] [] ? SyS_pwritev2+0x80/0x80 [ 24.110513] [] do_fast_syscall_32+0x2f7/0x890 [ 24.116628] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.123264] [] entry_SYSENTER_compat+0x74/0x83 [ 24.129471] [ 24.131069] Allocated by task 0: [ 24.134399] (stack is not available) [ 24.138078] [ 24.139672] Freed by task 0: [ 24.142654] (stack is not available) [ 24.146331] [ 24.147927] The buggy address belongs to the object at ffff8801c9b90100 [ 24.147927] which belongs to the cache fasync_cache of size 96 [ 24.160550] The buggy address is located 64 bytes inside of [ 24.160550] 96-byte region [ffff8801c9b90100, ffff8801c9b90160) [ 24.172216] The buggy address belongs to the page: [ 24.177113] page:ffffea000726e400 count:1 mapcount:0 mapping: (null) index:0x0 [ 24.185339] flags: 0x8000000000000080(slab) [ 24.189625] page dumped because: kasan: bad access detected [ 24.195300] [ 24.196893] Memory state around the buggy address: [ 24.201789] ffff8801c9b90000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 24.209116] ffff8801c9b90080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.216446] >ffff8801c9b90100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.223772] ^ [ 24.229200] ffff8801c9b90180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.236526] ffff8801c9b90200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.243850] ================================================================== [ 24.251176] Disabling lock debugging due to kernel taint [ 24.257014] Kernel panic - not syncing: panic_on_warn set ... [ 24.257014] [ 24.264369] CPU: 0 PID: 3329 Comm: syzkaller063057 Tainted: G B 4.9.76-g8e170a5 #21 [ 24.273260] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.282586] ffff8801cd277898 ffffffff81d93149 ffffffff84195c17 ffff8801cd277970 [ 24.290551] 0000000000000000 ffff8801c9b90140 ffff8801c8460238 ffff8801cd277960 [ 24.298517] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 24.306490] Call Trace: [ 24.309050] [] dump_stack+0xc1/0x128 [ 24.314382] [] panic+0x1bc/0x3a8 [ 24.319369] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 24.327566] [] ? preempt_schedule+0x25/0x30 [ 24.333505] [] ? ___preempt_schedule+0x16/0x18 [ 24.339716] [] kasan_end_report+0x50/0x50 [ 24.345487] [] kasan_report+0x167/0x360 [ 24.351081] [] ? sg_remove_request+0x103/0x120 [ 24.357292] [] __asan_report_load8_noabort+0x14/0x20 [ 24.364013] [] sg_remove_request+0x103/0x120 [ 24.370041] [] sg_finish_rem_req+0x295/0x340 [ 24.376073] [] sg_read+0xa1c/0x1440 [ 24.381328] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.387962] [] ? fsnotify+0xf30/0xf30 [ 24.393381] [] ? avc_policy_seqno+0x9/0x20 [ 24.399234] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.406214] [] ? security_file_permission+0x89/0x1e0 [ 24.412935] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.419573] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.426208] [] compat_do_readv_writev+0x522/0x760 [ 24.432670] [] ? do_pwritev+0x1a0/0x1a0 [ 24.438266] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.444210] [] compat_readv+0xe3/0x150 [ 24.449716] [] do_compat_readv+0xf4/0x1d0 [ 24.455493] [] ? compat_readv+0x150/0x150 [ 24.461259] [] compat_SyS_readv+0x26/0x30 [ 24.467026] [] ? SyS_pwritev2+0x80/0x80 [ 24.472620] [] do_fast_syscall_32+0x2f7/0x890 [ 24.479087] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.485731] [] entry_SYSENTER_compat+0x74/0x83 [ 24.492363] Dumping ftrace buffer: [ 24.495888] (ftrace buffer empty) [ 24.499568] Kernel Offset: disabled [ 24.503164] Rebooting in 86400 seconds..