[....] Starting enhanced syslogd: rsyslogd[ 9.755536] audit: type=1400 audit(1515360945.116:4): avc: denied { syslog } for pid=3166 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.46' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.592543] ================================================================== [ 24.593617] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.594558] Read of size 8 at addr ffff8801c97e6140 by task syzkaller323556/3329 [ 24.595644] [ 24.595877] CPU: 1 PID: 3329 Comm: syzkaller323556 Not tainted 4.9.75-g5f5e5d4 #17 [ 24.596909] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.598130] ffff8801c8b87940 ffffffff81d93049 ffffea000725f980 ffff8801c97e6140 [ 24.599299] 0000000000000000 ffff8801c97e6140 ffff8801c932a338 ffff8801c8b87978 [ 24.600438] ffffffff8153ca53 ffff8801c97e6140 0000000000000008 0000000000000000 [ 24.601579] Call Trace: [ 24.601935] [] dump_stack+0xc1/0x128 [ 24.602646] [] print_address_description+0x73/0x280 [ 24.603539] [] kasan_report+0x275/0x360 [ 24.604280] [] ? sg_remove_request+0x103/0x120 [ 24.605100] [] __asan_report_load8_noabort+0x14/0x20 [ 24.605995] [] sg_remove_request+0x103/0x120 [ 24.606792] [] sg_finish_rem_req+0x295/0x340 [ 24.607589] [] sg_read+0xa1c/0x1440 [ 24.608286] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.609164] [] ? fsnotify+0xf30/0xf30 [ 24.609884] [] ? avc_policy_seqno+0x9/0x20 [ 24.610680] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.611598] [] ? security_file_permission+0x89/0x1e0 [ 24.612496] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.618240] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.624871] [] compat_do_readv_writev+0x522/0x760 [ 24.631337] [] ? do_pwritev+0x1a0/0x1a0 [ 24.636927] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.642862] [] compat_readv+0xe3/0x150 [ 24.648370] [] do_compat_readv+0xf4/0x1d0 [ 24.654132] [] ? compat_readv+0x150/0x150 [ 24.659896] [] compat_SyS_readv+0x26/0x30 [ 24.665759] [] ? SyS_pwritev2+0x80/0x80 [ 24.671349] [] do_fast_syscall_32+0x2f7/0x890 [ 24.677464] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.684104] [] entry_SYSENTER_compat+0x74/0x83 [ 24.690300] [ 24.691900] Allocated by task 0: [ 24.695231] (stack is not available) [ 24.698905] [ 24.700497] Freed by task 0: [ 24.703479] (stack is not available) [ 24.707153] [ 24.708754] The buggy address belongs to the object at ffff8801c97e6100 [ 24.708754] which belongs to the cache fasync_cache of size 96 [ 24.721385] The buggy address is located 64 bytes inside of [ 24.721385] 96-byte region [ffff8801c97e6100, ffff8801c97e6160) [ 24.733049] The buggy address belongs to the page: [ 24.737943] page:ffffea000725f980 count:1 mapcount:0 mapping: (null) index:0x0 [ 24.746155] flags: 0x8000000000000080(slab) [ 24.750439] page dumped because: kasan: bad access detected [ 24.756118] [ 24.757710] Memory state around the buggy address: [ 24.762604] ffff8801c97e6000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 24.769933] ffff8801c97e6080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.777256] >ffff8801c97e6100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.784583] ^ [ 24.790003] ffff8801c97e6180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.797325] ffff8801c97e6200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.804648] ================================================================== [ 24.811976] Disabling lock debugging due to kernel taint [ 24.817586] Kernel panic - not syncing: panic_on_warn set ... [ 24.817586] [ 24.824921] CPU: 1 PID: 3329 Comm: syzkaller323556 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 24.833810] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.843132] ffff8801c8b87898 ffffffff81d93049 ffffffff84195be7 ffff8801c8b87970 [ 24.851081] 0000000000000000 ffff8801c97e6140 ffff8801c932a338 ffff8801c8b87960 [ 24.859027] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 24.866971] Call Trace: [ 24.869525] [] dump_stack+0xc1/0x128 [ 24.874862] [] panic+0x1bc/0x3a8 [ 24.879845] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 24.888041] [] ? preempt_schedule+0x25/0x30 [ 24.893980] [] ? ___preempt_schedule+0x16/0x18 [ 24.900183] [] kasan_end_report+0x50/0x50 [ 24.905946] [] kasan_report+0x167/0x360 [ 24.911539] [] ? sg_remove_request+0x103/0x120 [ 24.917735] [] __asan_report_load8_noabort+0x14/0x20 [ 24.924472] [] sg_remove_request+0x103/0x120 [ 24.930495] [] sg_finish_rem_req+0x295/0x340 [ 24.936533] [] sg_read+0xa1c/0x1440 [ 24.941783] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.948418] [] ? fsnotify+0xf30/0xf30 [ 24.953835] [] ? avc_policy_seqno+0x9/0x20 [ 24.959687] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.966664] [] ? security_file_permission+0x89/0x1e0 [ 24.973394] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.980025] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.986658] [] compat_do_readv_writev+0x522/0x760 [ 24.993123] [] ? do_pwritev+0x1a0/0x1a0 [ 24.998713] [] ? _raw_spin_unlock+0x2c/0x50 [ 25.004658] [] compat_readv+0xe3/0x150 [ 25.010160] [] do_compat_readv+0xf4/0x1d0 [ 25.015922] [] ? compat_readv+0x150/0x150 [ 25.021688] [] compat_SyS_readv+0x26/0x30 [ 25.027453] [] ? SyS_pwritev2+0x80/0x80 [ 25.033048] [] do_fast_syscall_32+0x2f7/0x890 [ 25.039164] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.045793] [] entry_SYSENTER_compat+0x74/0x83 [ 25.052026] Dumping ftrace buffer: [ 25.055532] (ftrace buffer empty) [ 25.059213] Kernel Offset: disabled [ 25.062803] Rebooting in 86400 seconds..