[....] Starting enhanced syslogd: rsyslogd[ 10.912881] audit: type=1400 audit(1516002925.208:4): avc: denied { syslog } for pid=3172 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.20' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.954309] ================================================================== [ 26.955403] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.956365] Read of size 8 at addr ffff8801c8962140 by task syzkaller472228/3329 [ 26.957347] [ 26.957577] CPU: 0 PID: 3329 Comm: syzkaller472228 Not tainted 4.9.76-gf0f6293 #22 [ 26.958596] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.959875] ffff8801c9eef940 ffffffff81d93149 ffffea0007225880 ffff8801c8962140 [ 26.961005] 0000000000000000 ffff8801c8962140 ffff8801c9d50238 ffff8801c9eef978 [ 26.962151] ffffffff8153cb43 ffff8801c8962140 0000000000000008 0000000000000000 [ 26.963275] Call Trace: [ 26.963630] [] dump_stack+0xc1/0x128 [ 26.964341] [] print_address_description+0x73/0x280 [ 26.965225] [] kasan_report+0x275/0x360 [ 26.965990] [] ? sg_remove_request+0x103/0x120 [ 26.966862] [] __asan_report_load8_noabort+0x14/0x20 [ 26.967748] [] sg_remove_request+0x103/0x120 [ 26.968554] [] sg_finish_rem_req+0x295/0x340 [ 26.969350] [] sg_read+0xa1c/0x1440 [ 26.970048] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.970950] [] ? fsnotify+0xf30/0xf30 [ 26.971670] [] ? avc_policy_seqno+0x9/0x20 [ 26.972447] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.973365] [] ? security_file_permission+0x89/0x1e0 [ 26.974252] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.975126] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.981758] [] compat_do_readv_writev+0x522/0x760 [ 26.988245] [] ? do_pwritev+0x1a0/0x1a0 [ 26.993846] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.999782] [] ? handle_mm_fault+0x6ee/0x2530 [ 27.005892] [] ? fasync_helper+0x7a/0xb0 [ 27.011577] [] ? __pmd_alloc+0x410/0x410 [ 27.017252] [] compat_readv+0xe3/0x150 [ 27.022757] [] do_compat_readv+0xf4/0x1d0 [ 27.028518] [] ? compat_readv+0x150/0x150 [ 27.034281] [] compat_SyS_readv+0x26/0x30 [ 27.040044] [] ? SyS_pwritev2+0x80/0x80 [ 27.045634] [] do_fast_syscall_32+0x2f7/0x890 [ 27.051760] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.058393] [] entry_SYSENTER_compat+0x74/0x83 [ 27.064587] [ 27.066179] Allocated by task 0: [ 27.069507] (stack is not available) [ 27.073182] [ 27.074775] Freed by task 0: [ 27.077756] (stack is not available) [ 27.081431] [ 27.083025] The buggy address belongs to the object at ffff8801c8962100 [ 27.083025] which belongs to the cache fasync_cache of size 96 [ 27.095651] The buggy address is located 64 bytes inside of [ 27.095651] 96-byte region [ffff8801c8962100, ffff8801c8962160) [ 27.107322] The buggy address belongs to the page: [ 27.112217] page:ffffea0007225880 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.120442] flags: 0x8000000000000080(slab) [ 27.124725] page dumped because: kasan: bad access detected [ 27.130399] [ 27.131990] Memory state around the buggy address: [ 27.136882] ffff8801c8962000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.144206] ffff8801c8962080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.151538] >ffff8801c8962100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.158860] ^ [ 27.164273] ffff8801c8962180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.171595] ffff8801c8962200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.178917] ================================================================== [ 27.186246] Disabling lock debugging due to kernel taint [ 27.191953] Kernel panic - not syncing: panic_on_warn set ... [ 27.191953] [ 27.199292] CPU: 0 PID: 3329 Comm: syzkaller472228 Tainted: G B 4.9.76-gf0f6293 #22 [ 27.208181] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.217504] ffff8801c9eef898 ffffffff81d93149 ffffffff84195c17 ffff8801c9eef970 [ 27.225448] 0000000000000000 ffff8801c8962140 ffff8801c9d50238 ffff8801c9eef960 [ 27.233397] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.241346] Call Trace: [ 27.243904] [] dump_stack+0xc1/0x128 [ 27.249235] [] panic+0x1bc/0x3a8 [ 27.254219] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.262418] [] ? preempt_schedule+0x25/0x30 [ 27.268359] [] ? ___preempt_schedule+0x16/0x18 [ 27.274559] [] kasan_end_report+0x50/0x50 [ 27.280324] [] kasan_report+0x167/0x360 [ 27.285915] [] ? sg_remove_request+0x103/0x120 [ 27.292119] [] __asan_report_load8_noabort+0x14/0x20 [ 27.298837] [] sg_remove_request+0x103/0x120 [ 27.305600] [] sg_finish_rem_req+0x295/0x340 [ 27.311624] [] sg_read+0xa1c/0x1440 [ 27.316875] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.323507] [] ? fsnotify+0xf30/0xf30 [ 27.328923] [] ? avc_policy_seqno+0x9/0x20 [ 27.334774] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.341753] [] ? security_file_permission+0x89/0x1e0 [ 27.348478] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.355195] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.361826] [] compat_do_readv_writev+0x522/0x760 [ 27.368292] [] ? do_pwritev+0x1a0/0x1a0 [ 27.373886] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.379825] [] ? handle_mm_fault+0x6ee/0x2530 [ 27.385938] [] ? fasync_helper+0x7a/0xb0 [ 27.391623] [] ? __pmd_alloc+0x410/0x410 [ 27.397303] [] compat_readv+0xe3/0x150 [ 27.402814] [] do_compat_readv+0xf4/0x1d0 [ 27.408575] [] ? compat_readv+0x150/0x150 [ 27.414337] [] compat_SyS_readv+0x26/0x30 [ 27.420108] [] ? SyS_pwritev2+0x80/0x80 [ 27.425697] [] do_fast_syscall_32+0x2f7/0x890 [ 27.431816] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.438447] [] entry_SYSENTER_compat+0x74/0x83 [ 27.444698] Dumping ftrace buffer: [ 27.448215] (ftrace buffer empty) [ 27.451892] Kernel Offset: disabled [ 27.455494] Rebooting in 86400 seconds..