[....] Starting enhanced syslogd: rsyslogd[ 13.488727] audit: type=1400 audit(1516021568.585:4): avc: denied { syslog } for pid=3169 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.18' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 29.349863] ================================================================== [ 29.357270] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 29.364345] Read of size 8 at addr ffff8801cd068140 by task syzkaller316264/3326 [ 29.371847] [ 29.373450] CPU: 0 PID: 3326 Comm: syzkaller316264 Not tainted 4.9.76-gf0f6293 #22 [ 29.381126] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.390463] ffff8801c76c7a50 ffffffff81d93149 ffffea0007341a00 ffff8801cd068140 [ 29.398671] 0000000000000000 ffff8801cd068140 ffff8801ca9f2338 ffff8801c76c7a88 [ 29.406658] ffffffff8153cb43 ffff8801cd068140 0000000000000008 0000000000000000 [ 29.414628] Call Trace: [ 29.417193] [] dump_stack+0xc1/0x128 [ 29.422530] [] print_address_description+0x73/0x280 [ 29.429170] [] kasan_report+0x275/0x360 [ 29.434765] [] ? sg_remove_request+0x103/0x120 [ 29.440972] [] __asan_report_load8_noabort+0x14/0x20 [ 29.447712] [] sg_remove_request+0x103/0x120 [ 29.453750] [] sg_finish_rem_req+0x295/0x340 [ 29.459790] [] sg_read+0xa1c/0x1440 [ 29.465049] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.471689] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.478082] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.484910] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.491551] [] __vfs_read+0x103/0x670 [ 29.496981] [] ? default_llseek+0x290/0x290 [ 29.502922] [] ? fsnotify+0x86/0xf30 [ 29.508264] [] ? fsnotify+0xf30/0xf30 [ 29.513697] [] ? avc_policy_seqno+0x9/0x20 [ 29.519556] [] ? selinux_file_permission+0x82/0x460 [ 29.526192] [] ? security_file_permission+0x89/0x1e0 [ 29.532916] [] ? rw_verify_area+0xe5/0x2b0 [ 29.538771] [] vfs_read+0x11e/0x380 [ 29.544017] [] SyS_read+0xd9/0x1b0 [ 29.549187] [] ? vfs_copy_file_range+0x740/0x740 [ 29.555563] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.561768] [] ? vfs_copy_file_range+0x740/0x740 [ 29.568146] [] do_fast_syscall_32+0x2f7/0x890 [ 29.574263] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.580903] [] entry_SYSENTER_compat+0x74/0x83 [ 29.587124] [ 29.588723] Allocated by task 0: [ 29.592053] (stack is not available) [ 29.595732] [ 29.597341] Freed by task 0: [ 29.600326] (stack is not available) [ 29.604005] [ 29.605604] The buggy address belongs to the object at ffff8801cd068100 [ 29.605604] which belongs to the cache fasync_cache of size 96 [ 29.618231] The buggy address is located 64 bytes inside of [ 29.618231] 96-byte region [ffff8801cd068100, ffff8801cd068160) [ 29.629899] The buggy address belongs to the page: [ 29.634799] page:ffffea0007341a00 count:1 mapcount:0 mapping: (null) index:0x0 [ 29.643030] flags: 0x8000000000000080(slab) [ 29.647318] page dumped because: kasan: bad access detected [ 29.652995] [ 29.654593] Memory state around the buggy address: [ 29.659490] ffff8801cd068000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 29.666820] ffff8801cd068080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.674149] >ffff8801cd068100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.681491] ^ [ 29.686917] ffff8801cd068180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.694260] ffff8801cd068200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.701586] ================================================================== [ 29.708916] Disabling lock debugging due to kernel taint [ 29.714595] Kernel panic - not syncing: panic_on_warn set ... [ 29.714595] [ 29.721935] CPU: 0 PID: 3326 Comm: syzkaller316264 Tainted: G B 4.9.76-gf0f6293 #22 [ 29.730825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.740152] ffff8801c76c79a8 ffffffff81d93149 ffffffff84195c17 ffff8801c76c7a80 [ 29.748141] 0000000000000000 ffff8801cd068140 ffff8801ca9f2338 ffff8801c76c7a70 [ 29.756112] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 29.764088] Call Trace: [ 29.766654] [] dump_stack+0xc1/0x128 [ 29.771995] [] panic+0x1bc/0x3a8 [ 29.776998] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 29.785203] [] ? preempt_schedule+0x25/0x30 [ 29.791146] [] ? ___preempt_schedule+0x16/0x18 [ 29.797349] [] kasan_end_report+0x50/0x50 [ 29.803117] [] kasan_report+0x167/0x360 [ 29.808714] [] ? sg_remove_request+0x103/0x120 [ 29.814918] [] __asan_report_load8_noabort+0x14/0x20 [ 29.821653] [] sg_remove_request+0x103/0x120 [ 29.827682] [] sg_finish_rem_req+0x295/0x340 [ 29.833722] [] sg_read+0xa1c/0x1440 [ 29.838986] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.845635] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.852012] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.858824] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.865461] [] __vfs_read+0x103/0x670 [ 29.870893] [] ? default_llseek+0x290/0x290 [ 29.876833] [] ? fsnotify+0x86/0xf30 [ 29.882166] [] ? fsnotify+0xf30/0xf30 [ 29.887590] [] ? avc_policy_seqno+0x9/0x20 [ 29.893446] [] ? selinux_file_permission+0x82/0x460 [ 29.900083] [] ? security_file_permission+0x89/0x1e0 [ 29.906821] [] ? rw_verify_area+0xe5/0x2b0 [ 29.912677] [] vfs_read+0x11e/0x380 [ 29.917925] [] SyS_read+0xd9/0x1b0 [ 29.923087] [] ? vfs_copy_file_range+0x740/0x740 [ 29.929470] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.935676] [] ? vfs_copy_file_range+0x740/0x740 [ 29.942051] [] do_fast_syscall_32+0x2f7/0x890 [ 29.948167] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.954807] [] entry_SYSENTER_compat+0x74/0x83 [ 29.961433] Dumping ftrace buffer: [ 29.964943] (ftrace buffer empty) [ 29.968641] Kernel Offset: disabled [ 29.972238] Rebooting in 86400 seconds..