[....] Starting enhanced syslogd: rsyslogd[ 13.854644] audit: type=1400 audit(1516054021.156:4): avc: denied { syslog } for pid=3187 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.15.209' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 30.322466] ================================================================== [ 30.329900] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 30.336992] Read of size 8 at addr ffff8801c8681140 by task syzkaller829705/3344 [ 30.344511] [ 30.346121] CPU: 1 PID: 3344 Comm: syzkaller829705 Not tainted 4.9.76-g8dec074 #13 [ 30.353801] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.363143] ffff8801c96af9b0 ffffffff81d93169 ffffea000721a040 ffff8801c8681140 [ 30.371174] 0000000000000000 ffff8801c8681140 ffff8801c7d40238 ffff8801c96af9e8 [ 30.379224] ffffffff8153cb43 ffff8801c8681140 0000000000000008 0000000000000000 [ 30.387238] Call Trace: [ 30.390156] [] dump_stack+0xc1/0x128 [ 30.395511] [] print_address_description+0x73/0x280 [ 30.402335] [] kasan_report+0x275/0x360 [ 30.408203] [] ? sg_remove_request+0x103/0x120 [ 30.414432] [] __asan_report_load8_noabort+0x14/0x20 [ 30.421166] [] sg_remove_request+0x103/0x120 [ 30.427229] [] sg_finish_rem_req+0x295/0x340 [ 30.433264] [] sg_read+0xa1c/0x1440 [ 30.438530] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.445204] [] ? fsnotify+0xf30/0xf30 [ 30.450672] [] ? avc_policy_seqno+0x9/0x20 [ 30.456554] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.463564] [] ? security_file_permission+0x89/0x1e0 [ 30.470323] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.477003] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.483676] [] do_readv_writev+0x520/0x750 [ 30.489563] [] ? vfs_write+0x530/0x530 [ 30.495113] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.501089] [] ? fasync_insert_entry+0x147/0x2e0 [ 30.507475] [] ? fasync_helper+0x7a/0xb0 [ 30.513172] [] ? dev_seq_stop+0x50/0x50 [ 30.518794] [] ? sg_fasync+0x8d/0xb0 [ 30.524151] [] ? do_vfs_ioctl+0x458/0x1140 [ 30.530024] [] ? ioctl_preallocate+0x220/0x220 [ 30.536257] [] ? selinux_file_ioctl+0x355/0x530 [ 30.542604] [] ? selinux_capable+0x40/0x40 [ 30.548481] [] vfs_readv+0x84/0xc0 [ 30.553654] [] do_readv+0xe6/0x250 [ 30.558819] [] ? vfs_readv+0xc0/0xc0 [ 30.564158] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 30.570801] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 30.577615] [] SyS_readv+0x27/0x30 [ 30.582781] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 30.589333] [ 30.590937] Allocated by task 0: [ 30.594275] (stack is not available) [ 30.597962] [ 30.599563] Freed by task 0: [ 30.602549] (stack is not available) [ 30.606232] [ 30.607837] The buggy address belongs to the object at ffff8801c8681100 [ 30.607837] which belongs to the cache fasync_cache of size 96 [ 30.620477] The buggy address is located 64 bytes inside of [ 30.620477] 96-byte region [ffff8801c8681100, ffff8801c8681160) [ 30.632159] The buggy address belongs to the page: [ 30.637083] page:ffffea000721a040 count:1 mapcount:0 mapping: (null) index:0x0 [ 30.645319] flags: 0x8000000000000080(slab) [ 30.649621] page dumped because: kasan: bad access detected [ 30.655302] [ 30.656904] Memory state around the buggy address: [ 30.661816] ffff8801c8681000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 30.669147] ffff8801c8681080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.676479] >ffff8801c8681100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.683811] ^ [ 30.689251] ffff8801c8681180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.696591] ffff8801c8681200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.703919] ================================================================== [ 30.711252] Disabling lock debugging due to kernel taint [ 30.716782] Kernel panic - not syncing: panic_on_warn set ... [ 30.716782] [ 30.724142] CPU: 1 PID: 3344 Comm: syzkaller829705 Tainted: G B 4.9.76-g8dec074 #13 [ 30.733215] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.742983] ffff8801c96af908 ffffffff81d93169 ffffffff84195c2f ffff8801c96af9e0 [ 30.750968] 0000000000000000 ffff8801c8681140 ffff8801c7d40238 ffff8801c96af9d0 [ 30.758966] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 30.767215] Call Trace: [ 30.769784] [] dump_stack+0xc1/0x128 [ 30.775742] [] panic+0x1bc/0x3a8 [ 30.780746] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 30.788961] [] ? preempt_schedule+0x25/0x30 [ 30.794921] [] ? ___preempt_schedule+0x16/0x18 [ 30.801909] [] kasan_end_report+0x50/0x50 [ 30.809109] [] kasan_report+0x167/0x360 [ 30.814721] [] ? sg_remove_request+0x103/0x120 [ 30.821202] [] __asan_report_load8_noabort+0x14/0x20 [ 30.828279] [] sg_remove_request+0x103/0x120 [ 30.834316] [] sg_finish_rem_req+0x295/0x340 [ 30.840349] [] sg_read+0xa1c/0x1440 [ 30.845619] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.852269] [] ? fsnotify+0xf30/0xf30 [ 30.857876] [] ? avc_policy_seqno+0x9/0x20 [ 30.863779] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.870804] [] ? security_file_permission+0x89/0x1e0 [ 30.877572] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.884259] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.890926] [] do_readv_writev+0x520/0x750 [ 30.896824] [] ? vfs_write+0x530/0x530 [ 30.902362] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.908314] [] ? fasync_insert_entry+0x147/0x2e0 [ 30.914696] [] ? fasync_helper+0x7a/0xb0 [ 30.920391] [] ? dev_seq_stop+0x50/0x50 [ 30.925990] [] ? sg_fasync+0x8d/0xb0 [ 30.931342] [] ? do_vfs_ioctl+0x458/0x1140 [ 30.937223] [] ? ioctl_preallocate+0x220/0x220 [ 30.943451] [] ? selinux_file_ioctl+0x355/0x530 [ 30.950025] [] ? selinux_capable+0x40/0x40 [ 30.955899] [] vfs_readv+0x84/0xc0 [ 30.961073] [] do_readv+0xe6/0x250 [ 30.966239] [] ? vfs_readv+0xc0/0xc0 [ 30.971585] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 30.978248] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 30.985068] [] SyS_readv+0x27/0x30 [ 30.990238] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 30.996848] Dumping ftrace buffer: [ 31.000361] (ftrace buffer empty) [ 31.004045] Kernel Offset: disabled [ 31.007645] Rebooting in 86400 seconds..