[....] Starting enhanced syslogd: rsyslogd[ 12.517893] audit: type=1400 audit(1515736051.311:4): avc: denied { syslog } for pid=3169 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.198' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 30.563633] ================================================================== [ 30.571035] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 30.578098] Read of size 8 at addr ffff8801c9bb0140 by task syzkaller275736/3333 [ 30.585600] [ 30.587203] CPU: 1 PID: 3333 Comm: syzkaller275736 Not tainted 4.9.76-g9154940 #20 [ 30.594871] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.604296] ffff8801c8257940 ffffffff81d93149 ffffea000726ec00 ffff8801c9bb0140 [ 30.612263] 0000000000000000 ffff8801c9bb0140 ffff8801c81c8238 ffff8801c8257978 [ 30.620223] ffffffff8153cb43 ffff8801c9bb0140 0000000000000008 0000000000000000 [ 30.628208] Call Trace: [ 30.630762] [] dump_stack+0xc1/0x128 [ 30.636094] [] print_address_description+0x73/0x280 [ 30.642724] [] kasan_report+0x275/0x360 [ 30.648314] [] ? sg_remove_request+0x103/0x120 [ 30.654518] [] __asan_report_load8_noabort+0x14/0x20 [ 30.661234] [] sg_remove_request+0x103/0x120 [ 30.667264] [] sg_finish_rem_req+0x295/0x340 [ 30.673297] [] sg_read+0xa1c/0x1440 [ 30.678536] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.685164] [] ? fsnotify+0xf30/0xf30 [ 30.690579] [] ? avc_policy_seqno+0x9/0x20 [ 30.696435] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.703412] [] ? security_file_permission+0x89/0x1e0 [ 30.710128] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.716761] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.723401] [] compat_do_readv_writev+0x522/0x760 [ 30.729858] [] ? do_pwritev+0x1a0/0x1a0 [ 30.735458] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.741403] [] compat_readv+0xe3/0x150 [ 30.746905] [] do_compat_readv+0xf4/0x1d0 [ 30.752675] [] ? compat_readv+0x150/0x150 [ 30.758782] [] compat_SyS_readv+0x26/0x30 [ 30.764544] [] ? SyS_pwritev2+0x80/0x80 [ 30.770133] [] do_fast_syscall_32+0x2f7/0x890 [ 30.776241] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.782871] [] entry_SYSENTER_compat+0x74/0x83 [ 30.789063] [ 30.790656] Allocated by task 0: [ 30.793982] (stack is not available) [ 30.797665] [ 30.799256] Freed by task 0: [ 30.802236] (stack is not available) [ 30.805911] [ 30.807522] The buggy address belongs to the object at ffff8801c9bb0100 [ 30.807522] which belongs to the cache fasync_cache of size 96 [ 30.820139] The buggy address is located 64 bytes inside of [ 30.820139] 96-byte region [ffff8801c9bb0100, ffff8801c9bb0160) [ 30.831809] The buggy address belongs to the page: [ 30.836701] page:ffffea000726ec00 count:1 mapcount:0 mapping: (null) index:0x0 [ 30.844927] flags: 0x8000000000000080(slab) [ 30.849210] page dumped because: kasan: bad access detected [ 30.854885] [ 30.856476] Memory state around the buggy address: [ 30.861456] ffff8801c9bb0000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 30.868787] ffff8801c9bb0080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.876111] >ffff8801c9bb0100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.883449] ^ [ 30.888861] ffff8801c9bb0180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.896197] ffff8801c9bb0200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.903520] ================================================================== [ 30.910842] Disabling lock debugging due to kernel taint [ 30.916347] Kernel panic - not syncing: panic_on_warn set ... [ 30.916347] [ 30.923683] CPU: 1 PID: 3333 Comm: syzkaller275736 Tainted: G B 4.9.76-g9154940 #20 [ 30.932578] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.941914] ffff8801c8257898 ffffffff81d93149 ffffffff84195c17 ffff8801c8257970 [ 30.949872] 0000000000000000 ffff8801c9bb0140 ffff8801c81c8238 ffff8801c8257960 [ 30.957828] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 30.965797] Call Trace: [ 30.968363] [] dump_stack+0xc1/0x128 [ 30.973697] [] panic+0x1bc/0x3a8 [ 30.978679] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 30.986872] [] ? preempt_schedule+0x25/0x30 [ 30.992809] [] ? ___preempt_schedule+0x16/0x18 [ 30.999007] [] kasan_end_report+0x50/0x50 [ 31.004778] [] kasan_report+0x167/0x360 [ 31.010368] [] ? sg_remove_request+0x103/0x120 [ 31.016561] [] __asan_report_load8_noabort+0x14/0x20 [ 31.023279] [] sg_remove_request+0x103/0x120 [ 31.029314] [] sg_finish_rem_req+0x295/0x340 [ 31.035345] [] sg_read+0xa1c/0x1440 [ 31.040587] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.047219] [] ? fsnotify+0xf30/0xf30 [ 31.052645] [] ? avc_policy_seqno+0x9/0x20 [ 31.058497] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.065476] [] ? security_file_permission+0x89/0x1e0 [ 31.072202] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.078832] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.085472] [] compat_do_readv_writev+0x522/0x760 [ 31.091945] [] ? do_pwritev+0x1a0/0x1a0 [ 31.097538] [] ? _raw_spin_unlock+0x2c/0x50 [ 31.103488] [] compat_readv+0xe3/0x150 [ 31.108990] [] do_compat_readv+0xf4/0x1d0 [ 31.114762] [] ? compat_readv+0x150/0x150 [ 31.120522] [] compat_SyS_readv+0x26/0x30 [ 31.126288] [] ? SyS_pwritev2+0x80/0x80 [ 31.131886] [] do_fast_syscall_32+0x2f7/0x890 [ 31.138020] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.144654] [] entry_SYSENTER_compat+0x74/0x83 [ 31.151553] Dumping ftrace buffer: [ 31.155062] (ftrace buffer empty) [ 31.158740] Kernel Offset: disabled [ 31.162343] Rebooting in 86400 seconds..