[....] Starting enhanced syslogd: rsyslogd[ 14.112469] audit: type=1400 audit(1515630674.586:4): avc: denied { syslog } for pid=3181 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.31' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.465083] ================================================================== [ 27.472534] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.479604] Read of size 8 at addr ffff8801c0663140 by task syzkaller342394/3337 [ 27.487101] [ 27.488700] CPU: 1 PID: 3337 Comm: syzkaller342394 Not tainted 4.9.76-g9154940 #20 [ 27.496369] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.505692] ffff8801c06dfa50 ffffffff81d93149 ffffea00070198c0 ffff8801c0663140 [ 27.513644] 0000000000000000 ffff8801c0663140 ffff8801c79b2338 ffff8801c06dfa88 [ 27.521602] ffffffff8153cb43 ffff8801c0663140 0000000000000008 0000000000000000 [ 27.529552] Call Trace: [ 27.532111] [] dump_stack+0xc1/0x128 [ 27.537445] [] print_address_description+0x73/0x280 [ 27.544076] [] kasan_report+0x275/0x360 [ 27.549670] [] ? sg_remove_request+0x103/0x120 [ 27.555869] [] __asan_report_load8_noabort+0x14/0x20 [ 27.562591] [] sg_remove_request+0x103/0x120 [ 27.568616] [] sg_finish_rem_req+0x295/0x340 [ 27.574642] [] sg_read+0xa1c/0x1440 [ 27.579890] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.586260] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.592899] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.598843] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.605214] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.611849] [] __vfs_read+0x103/0x670 [ 27.617265] [] ? default_llseek+0x290/0x290 [ 27.623204] [] ? fsnotify+0x86/0xf30 [ 27.628535] [] ? fsnotify+0xf30/0xf30 [ 27.633966] [] ? avc_policy_seqno+0x9/0x20 [ 27.639819] [] ? selinux_file_permission+0x82/0x460 [ 27.646463] [] ? security_file_permission+0x89/0x1e0 [ 27.653183] [] ? rw_verify_area+0xe5/0x2b0 [ 27.659036] [] vfs_read+0x11e/0x380 [ 27.664280] [] SyS_read+0xd9/0x1b0 [ 27.669437] [] ? vfs_copy_file_range+0x740/0x740 [ 27.675810] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 27.681924] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.688124] [] ? vfs_copy_file_range+0x740/0x740 [ 27.694498] [] do_fast_syscall_32+0x2f7/0x890 [ 27.700610] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.707242] [] entry_SYSENTER_compat+0x74/0x83 [ 27.713439] [ 27.715033] Allocated by task 0: [ 27.718362] (stack is not available) [ 27.722037] [ 27.723629] Freed by task 0: [ 27.726609] (stack is not available) [ 27.730286] [ 27.731882] The buggy address belongs to the object at ffff8801c0663100 [ 27.731882] which belongs to the cache fasync_cache of size 96 [ 27.744516] The buggy address is located 64 bytes inside of [ 27.744516] 96-byte region [ffff8801c0663100, ffff8801c0663160) [ 27.756181] The buggy address belongs to the page: [ 27.761079] page:ffffea00070198c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.769304] flags: 0x8000000000000080(slab) [ 27.773589] page dumped because: kasan: bad access detected [ 27.779264] [ 27.780858] Memory state around the buggy address: [ 27.785763] ffff8801c0663000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.793090] ffff8801c0663080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.800416] >ffff8801c0663100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.807753] ^ [ 27.813169] ffff8801c0663180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.820495] ffff8801c0663200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.827821] ================================================================== [ 27.835156] Disabling lock debugging due to kernel taint [ 27.840663] Kernel panic - not syncing: panic_on_warn set ... [ 27.840663] [ 27.848020] CPU: 1 PID: 3337 Comm: syzkaller342394 Tainted: G B 4.9.76-g9154940 #20 [ 27.856909] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.866233] ffff8801c06df9a8 ffffffff81d93149 ffffffff84195c17 ffff8801c06dfa80 [ 27.874187] 0000000000000000 ffff8801c0663140 ffff8801c79b2338 ffff8801c06dfa70 [ 27.882144] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.890096] Call Trace: [ 27.892653] [] dump_stack+0xc1/0x128 [ 27.897985] [] panic+0x1bc/0x3a8 [ 27.902970] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.911168] [] ? preempt_schedule+0x25/0x30 [ 27.917107] [] ? ___preempt_schedule+0x16/0x18 [ 27.923310] [] kasan_end_report+0x50/0x50 [ 27.929072] [] kasan_report+0x167/0x360 [ 27.934665] [] ? sg_remove_request+0x103/0x120 [ 27.940865] [] __asan_report_load8_noabort+0x14/0x20 [ 27.947585] [] sg_remove_request+0x103/0x120 [ 27.953611] [] sg_finish_rem_req+0x295/0x340 [ 27.959635] [] sg_read+0xa1c/0x1440 [ 27.964881] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.971253] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.977890] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.983831] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.990202] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.996836] [] __vfs_read+0x103/0x670 [ 28.002254] [] ? default_llseek+0x290/0x290 [ 28.008193] [] ? fsnotify+0x86/0xf30 [ 28.013521] [] ? fsnotify+0xf30/0xf30 [ 28.018943] [] ? avc_policy_seqno+0x9/0x20 [ 28.024794] [] ? selinux_file_permission+0x82/0x460 [ 28.031428] [] ? security_file_permission+0x89/0x1e0 [ 28.038148] [] ? rw_verify_area+0xe5/0x2b0 [ 28.044000] [] vfs_read+0x11e/0x380 [ 28.049242] [] SyS_read+0xd9/0x1b0 [ 28.054398] [] ? vfs_copy_file_range+0x740/0x740 [ 28.060772] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.066887] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.073087] [] ? vfs_copy_file_range+0x740/0x740 [ 28.079462] [] do_fast_syscall_32+0x2f7/0x890 [ 28.085573] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.092209] [] entry_SYSENTER_compat+0x74/0x83 [ 28.098906] Dumping ftrace buffer: [ 28.102415] (ftrace buffer empty) [ 28.106094] Kernel Offset: disabled [ 28.109687] Rebooting in 86400 seconds..