[....] Starting enhanced syslogd: rsyslogd[ 14.016194] audit: type=1400 audit(1515444924.002: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.38' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 25.492829] ================================================================== [ 25.500251] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 25.507322] Read of size 8 at addr ffff8801c98fe140 by task syzkaller190388/3328 [ 25.514819] [ 25.516416] CPU: 1 PID: 3328 Comm: syzkaller190388 Not tainted 4.9.75-gb54d99a #18 [ 25.524089] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.533416] ffff8801c8477a50 ffffffff81d93049 ffffea0007263f80 ffff8801c98fe140 [ 25.541430] 0000000000000000 ffff8801c98fe140 ffff8801c9a60238 ffff8801c8477a88 [ 25.549445] ffffffff8153ca53 ffff8801c98fe140 0000000000000008 0000000000000000 [ 25.557446] Call Trace: [ 25.560009] [] dump_stack+0xc1/0x128 [ 25.565344] [] print_address_description+0x73/0x280 [ 25.571976] [] kasan_report+0x275/0x360 [ 25.577569] [] ? sg_remove_request+0x103/0x120 [ 25.583791] [] __asan_report_load8_noabort+0x14/0x20 [ 25.590522] [] sg_remove_request+0x103/0x120 [ 25.596547] [] sg_finish_rem_req+0x295/0x340 [ 25.602570] [] sg_read+0xa1c/0x1440 [ 25.607814] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.614185] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.620826] [] ? _raw_spin_unlock+0x2c/0x50 [ 25.626764] [] ? fasync_insert_entry+0x147/0x2e0 [ 25.633131] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.639763] [] __vfs_read+0x103/0x670 [ 25.645181] [] ? default_llseek+0x290/0x290 [ 25.651122] [] ? fsnotify+0x86/0xf30 [ 25.656451] [] ? fsnotify+0xf30/0xf30 [ 25.661867] [] ? avc_policy_seqno+0x9/0x20 [ 25.667716] [] ? selinux_file_permission+0x82/0x460 [ 25.674355] [] ? security_file_permission+0x89/0x1e0 [ 25.681091] [] ? rw_verify_area+0xe5/0x2b0 [ 25.686947] [] vfs_read+0x11e/0x380 [ 25.692191] [] SyS_read+0xd9/0x1b0 [ 25.697348] [] ? vfs_copy_file_range+0x740/0x740 [ 25.703721] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 25.709833] [] ? do_fast_syscall_32+0xcf/0x890 [ 25.716029] [] ? vfs_copy_file_range+0x740/0x740 [ 25.722402] [] do_fast_syscall_32+0x2f7/0x890 [ 25.728513] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.735148] [] entry_SYSENTER_compat+0x74/0x83 [ 25.741353] [ 25.742949] Allocated by task 0: [ 25.746279] (stack is not available) [ 25.749955] [ 25.751554] Freed by task 0: [ 25.754534] (stack is not available) [ 25.758209] [ 25.759804] The buggy address belongs to the object at ffff8801c98fe100 [ 25.759804] which belongs to the cache fasync_cache of size 96 [ 25.772426] The buggy address is located 64 bytes inside of [ 25.772426] 96-byte region [ffff8801c98fe100, ffff8801c98fe160) [ 25.784793] The buggy address belongs to the page: [ 25.789691] page:ffffea0007263f80 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.797910] flags: 0x8000000000000080(slab) [ 25.802193] page dumped because: kasan: bad access detected [ 25.807865] [ 25.809455] Memory state around the buggy address: [ 25.814347] ffff8801c98fe000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.821676] ffff8801c98fe080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.829001] >ffff8801c98fe100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.836326] ^ [ 25.841741] ffff8801c98fe180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.849065] ffff8801c98fe200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.856388] ================================================================== [ 25.863714] Disabling lock debugging due to kernel taint [ 25.870608] Kernel panic - not syncing: panic_on_warn set ... [ 25.870608] [ 25.877971] CPU: 1 PID: 3328 Comm: syzkaller190388 Tainted: G B 4.9.75-gb54d99a #18 [ 25.886877] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.896205] ffff8801c84779a8 ffffffff81d93049 ffffffff84195be7 ffff8801c8477a80 [ 25.904160] 0000000000000000 ffff8801c98fe140 ffff8801c9a60238 ffff8801c8477a70 [ 25.912108] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 25.920088] Call Trace: [ 25.922648] [] dump_stack+0xc1/0x128 [ 25.927983] [] panic+0x1bc/0x3a8 [ 25.932968] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.941179] [] ? preempt_schedule+0x25/0x30 [ 25.947118] [] ? ___preempt_schedule+0x16/0x18 [ 25.953317] [] kasan_end_report+0x50/0x50 [ 25.959090] [] kasan_report+0x167/0x360 [ 25.964689] [] ? sg_remove_request+0x103/0x120 [ 25.970892] [] __asan_report_load8_noabort+0x14/0x20 [ 25.977611] [] sg_remove_request+0x103/0x120 [ 25.983636] [] sg_finish_rem_req+0x295/0x340 [ 25.989664] [] sg_read+0xa1c/0x1440 [ 25.994923] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.001294] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.007933] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.013880] [] ? fasync_insert_entry+0x147/0x2e0 [ 26.020258] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.026915] [] __vfs_read+0x103/0x670 [ 26.032332] [] ? default_llseek+0x290/0x290 [ 26.038274] [] ? fsnotify+0x86/0xf30 [ 26.043601] [] ? fsnotify+0xf30/0xf30 [ 26.049020] [] ? avc_policy_seqno+0x9/0x20 [ 26.054871] [] ? selinux_file_permission+0x82/0x460 [ 26.061503] [] ? security_file_permission+0x89/0x1e0 [ 26.068225] [] ? rw_verify_area+0xe5/0x2b0 [ 26.074090] [] vfs_read+0x11e/0x380 [ 26.079333] [] SyS_read+0xd9/0x1b0 [ 26.084486] [] ? vfs_copy_file_range+0x740/0x740 [ 26.090858] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 26.096972] [] ? do_fast_syscall_32+0xcf/0x890 [ 26.103178] [] ? vfs_copy_file_range+0x740/0x740 [ 26.109546] [] do_fast_syscall_32+0x2f7/0x890 [ 26.115653] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.122985] [] entry_SYSENTER_compat+0x74/0x83 [ 26.129691] Dumping ftrace buffer: [ 26.133210] (ftrace buffer empty) [ 26.136887] Kernel Offset: disabled [ 26.140479] Rebooting in 86400 seconds..