[....] Starting enhanced syslogd: rsyslogd[ 11.127971] audit: type=1400 audit(1515989813.577: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.211' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 28.656774] ================================================================== [ 28.657966] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.659011] Read of size 8 at addr ffff8801c0bd6140 by task syzkaller169993/3340 [ 28.660066] [ 28.660409] CPU: 1 PID: 3340 Comm: syzkaller169993 Not tainted 4.9.76-gf0f6293 #22 [ 28.661556] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.662855] ffff8801c7d07940 ffffffff81d93149 ffffea000702f580 ffff8801c0bd6140 [ 28.664092] 0000000000000000 ffff8801c0bd6140 ffff8801c97cc438 ffff8801c7d07978 [ 28.665337] ffffffff8153cb43 ffff8801c0bd6140 0000000000000008 0000000000000000 [ 28.666583] Call Trace: [ 28.666964] [] dump_stack+0xc1/0x128 [ 28.667732] [] print_address_description+0x73/0x280 [ 28.668641] [] kasan_report+0x275/0x360 [ 28.669422] [] ? sg_remove_request+0x103/0x120 [ 28.670313] [] __asan_report_load8_noabort+0x14/0x20 [ 28.672466] [] sg_remove_request+0x103/0x120 [ 28.673303] [] sg_finish_rem_req+0x295/0x340 [ 28.674172] [] sg_read+0xa1c/0x1440 [ 28.674917] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.675999] [] ? fsnotify+0xf30/0xf30 [ 28.676725] [] ? avc_policy_seqno+0x9/0x20 [ 28.681484] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.688472] [] ? security_file_permission+0x89/0x1e0 [ 28.695198] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.701836] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.708475] [] compat_do_readv_writev+0x522/0x760 [ 28.714939] [] ? do_pwritev+0x1a0/0x1a0 [ 28.720535] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.726480] [] ? __fget+0x228/0x3a0 [ 28.731812] [] ? __fget+0x47/0x3a0 [ 28.737235] [] compat_readv+0xe3/0x150 [ 28.742743] [] do_compat_readv+0xf4/0x1d0 [ 28.748514] [] ? compat_readv+0x150/0x150 [ 28.754292] [] compat_SyS_readv+0x26/0x30 [ 28.760059] [] ? SyS_pwritev2+0x80/0x80 [ 28.765655] [] do_fast_syscall_32+0x2f7/0x890 [ 28.772394] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.779045] [] entry_SYSENTER_compat+0x74/0x83 [ 28.785246] [ 28.786864] Allocated by task 0: [ 28.790892] (stack is not available) [ 28.794572] [ 28.796181] Freed by task 0: [ 28.799180] (stack is not available) [ 28.802862] [ 28.804463] The buggy address belongs to the object at ffff8801c0bd6100 [ 28.804463] which belongs to the cache fasync_cache of size 96 [ 28.817090] The buggy address is located 64 bytes inside of [ 28.817090] 96-byte region [ffff8801c0bd6100, ffff8801c0bd6160) [ 28.828761] The buggy address belongs to the page: [ 28.833664] page:ffffea000702f580 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.842071] flags: 0x8000000000000080(slab) [ 28.846363] page dumped because: kasan: bad access detected [ 28.852044] [ 28.853643] Memory state around the buggy address: [ 28.858547] ffff8801c0bd6000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.865897] ffff8801c0bd6080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.873240] >ffff8801c0bd6100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.880572] ^ [ 28.885996] ffff8801c0bd6180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.893337] ffff8801c0bd6200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.900674] ================================================================== [ 28.908007] Disabling lock debugging due to kernel taint [ 28.913757] Kernel panic - not syncing: panic_on_warn set ... [ 28.913757] [ 28.921100] CPU: 1 PID: 3340 Comm: syzkaller169993 Tainted: G B 4.9.76-gf0f6293 #22 [ 28.929998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.939342] ffff8801c7d07898 ffffffff81d93149 ffffffff84195c17 ffff8801c7d07970 [ 28.947351] 0000000000000000 ffff8801c0bd6140 ffff8801c97cc438 ffff8801c7d07960 [ 28.955350] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.963330] Call Trace: [ 28.965902] [] dump_stack+0xc1/0x128 [ 28.971597] [] panic+0x1bc/0x3a8 [ 28.976594] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.984796] [] ? preempt_schedule+0x25/0x30 [ 28.991089] [] ? ___preempt_schedule+0x16/0x18 [ 28.999551] [] kasan_end_report+0x50/0x50 [ 29.005322] [] kasan_report+0x167/0x360 [ 29.010922] [] ? sg_remove_request+0x103/0x120 [ 29.017132] [] __asan_report_load8_noabort+0x14/0x20 [ 29.024477] [] sg_remove_request+0x103/0x120 [ 29.030505] [] sg_finish_rem_req+0x295/0x340 [ 29.036536] [] sg_read+0xa1c/0x1440 [ 29.042693] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.050111] [] ? fsnotify+0xf30/0xf30 [ 29.055884] [] ? avc_policy_seqno+0x9/0x20 [ 29.061741] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 29.068728] [] ? security_file_permission+0x89/0x1e0 [ 29.075455] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.082105] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.088742] [] compat_do_readv_writev+0x522/0x760 [ 29.095221] [] ? do_pwritev+0x1a0/0x1a0 [ 29.101252] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.107479] [] ? __fget+0x228/0x3a0 [ 29.112739] [] ? __fget+0x47/0x3a0 [ 29.117911] [] compat_readv+0xe3/0x150 [ 29.123681] [] do_compat_readv+0xf4/0x1d0 [ 29.129971] [] ? compat_readv+0x150/0x150 [ 29.138172] [] compat_SyS_readv+0x26/0x30 [ 29.143942] [] ? SyS_pwritev2+0x80/0x80 [ 29.149552] [] do_fast_syscall_32+0x2f7/0x890 [ 29.155672] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.162309] [] entry_SYSENTER_compat+0x74/0x83 [ 29.170926] Dumping ftrace buffer: [ 29.174438] (ftrace buffer empty) [ 29.178385] Kernel Offset: disabled [ 29.181983] Rebooting in 86400 seconds..