[....] Starting enhanced syslogd: rsyslogd[ 13.868434] audit: type=1400 audit(1515486572.007:4): avc: denied { syslog } for pid=3193 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.201' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 39.924796] ================================================================== [ 39.932211] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 39.939284] Read of size 8 at addr ffff8801c8701140 by task syzkaller181792/3358 [ 39.946784] [ 39.948382] CPU: 0 PID: 3358 Comm: syzkaller181792 Not tainted 4.9.75-gb54d99a #18 [ 39.956056] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.965393] ffff8801c7c3fa50 ffffffff81d93049 ffffea000721c040 ffff8801c8701140 [ 39.973353] 0000000000000000 ffff8801c8701140 ffff8801c90cc438 ffff8801c7c3fa88 [ 39.981308] ffffffff8153ca53 ffff8801c8701140 0000000000000008 0000000000000000 [ 39.989272] Call Trace: [ 39.991833] [] dump_stack+0xc1/0x128 [ 39.997169] [] print_address_description+0x73/0x280 [ 40.004243] [] kasan_report+0x275/0x360 [ 40.009835] [] ? sg_remove_request+0x103/0x120 [ 40.016035] [] __asan_report_load8_noabort+0x14/0x20 [ 40.022754] [] sg_remove_request+0x103/0x120 [ 40.028779] [] sg_finish_rem_req+0x295/0x340 [ 40.034803] [] sg_read+0xa1c/0x1440 [ 40.040048] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 40.046684] [] ? __raw_spin_lock_init+0x1c/0x100 [ 40.053076] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 40.059893] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 40.066530] [] __vfs_read+0x103/0x670 [ 40.071961] [] ? default_llseek+0x290/0x290 [ 40.077905] [] ? fsnotify+0x86/0xf30 [ 40.083242] [] ? fsnotify+0xf30/0xf30 [ 40.088670] [] ? avc_policy_seqno+0x9/0x20 [ 40.094523] [] ? selinux_file_permission+0x82/0x460 [ 40.101157] [] ? security_file_permission+0x89/0x1e0 [ 40.107879] [] ? rw_verify_area+0xe5/0x2b0 [ 40.113746] [] vfs_read+0x11e/0x380 [ 40.118990] [] SyS_read+0xd9/0x1b0 [ 40.124146] [] ? vfs_copy_file_range+0x740/0x740 [ 40.130519] [] ? do_fast_syscall_32+0xcf/0x890 [ 40.136718] [] ? vfs_copy_file_range+0x740/0x740 [ 40.143092] [] do_fast_syscall_32+0x2f7/0x890 [ 40.149204] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.155839] [] entry_SYSENTER_compat+0x74/0x83 [ 40.162036] [ 40.163633] Allocated by task 0: [ 40.166961] (stack is not available) [ 40.170638] [ 40.172234] Freed by task 0: [ 40.175216] (stack is not available) [ 40.178903] [ 40.180504] The buggy address belongs to the object at ffff8801c8701100 [ 40.180504] which belongs to the cache fasync_cache of size 96 [ 40.193126] The buggy address is located 64 bytes inside of [ 40.193126] 96-byte region [ffff8801c8701100, ffff8801c8701160) [ 40.204791] The buggy address belongs to the page: [ 40.209688] page:ffffea000721c040 count:1 mapcount:0 mapping: (null) index:0x0 [ 40.217923] flags: 0x8000000000000080(slab) [ 40.222216] page dumped because: kasan: bad access detected [ 40.227887] [ 40.229478] Memory state around the buggy address: [ 40.234373] ffff8801c8701000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 40.241700] ffff8801c8701080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 40.249036] >ffff8801c8701100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 40.256361] ^ [ 40.261776] ffff8801c8701180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 40.269103] ffff8801c8701200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 40.276427] ================================================================== [ 40.283753] Disabling lock debugging due to kernel taint [ 40.289385] Kernel panic - not syncing: panic_on_warn set ... [ 40.289385] [ 40.296724] CPU: 0 PID: 3358 Comm: syzkaller181792 Tainted: G B 4.9.75-gb54d99a #18 [ 40.305616] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.314945] ffff8801c7c3f9a8 ffffffff81d93049 ffffffff84195be7 ffff8801c7c3fa80 [ 40.322898] 0000000000000000 ffff8801c8701140 ffff8801c90cc438 ffff8801c7c3fa70 [ 40.330866] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 40.338818] Call Trace: [ 40.341377] [] dump_stack+0xc1/0x128 [ 40.346710] [] panic+0x1bc/0x3a8 [ 40.351695] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 40.359895] [] ? preempt_schedule+0x25/0x30 [ 40.365838] [] ? ___preempt_schedule+0x16/0x18 [ 40.372042] [] kasan_end_report+0x50/0x50 [ 40.377895] [] kasan_report+0x167/0x360 [ 40.383493] [] ? sg_remove_request+0x103/0x120 [ 40.389696] [] __asan_report_load8_noabort+0x14/0x20 [ 40.396430] [] sg_remove_request+0x103/0x120 [ 40.402458] [] sg_finish_rem_req+0x295/0x340 [ 40.408482] [] sg_read+0xa1c/0x1440 [ 40.413728] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 40.420365] [] ? __raw_spin_lock_init+0x1c/0x100 [ 40.426741] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 40.433560] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 40.440195] [] __vfs_read+0x103/0x670 [ 40.445615] [] ? default_llseek+0x290/0x290 [ 40.451555] [] ? fsnotify+0x86/0xf30 [ 40.456903] [] ? fsnotify+0xf30/0xf30 [ 40.462322] [] ? avc_policy_seqno+0x9/0x20 [ 40.468175] [] ? selinux_file_permission+0x82/0x460 [ 40.474810] [] ? security_file_permission+0x89/0x1e0 [ 40.481529] [] ? rw_verify_area+0xe5/0x2b0 [ 40.487378] [] vfs_read+0x11e/0x380 [ 40.492624] [] SyS_read+0xd9/0x1b0 [ 40.497778] [] ? vfs_copy_file_range+0x740/0x740 [ 40.504150] [] ? do_fast_syscall_32+0xcf/0x890 [ 40.510350] [] ? vfs_copy_file_range+0x740/0x740 [ 40.516721] [] do_fast_syscall_32+0x2f7/0x890 [ 40.522833] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.529466] [] entry_SYSENTER_compat+0x74/0x83 [ 40.536077] Dumping ftrace buffer: [ 40.539590] (ftrace buffer empty) [ 40.543267] Kernel Offset: disabled [ 40.546861] Rebooting in 86400 seconds..