[....] Starting enhanced syslogd: rsyslogd[ 11.134903] audit: type=1400 audit(1516064163.011: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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.27' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 26.900819] ================================================================== [ 26.901915] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.902897] Read of size 8 at addr ffff8801cb46c140 by task syzkaller722888/3332 [ 26.903904] [ 26.904157] CPU: 0 PID: 3332 Comm: syzkaller722888 Not tainted 4.9.76-g8dec074 #13 [ 26.905226] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.906497] ffff8801c86f79b0 ffffffff81d93169 ffffea00072d1b00 ffff8801cb46c140 [ 26.907742] 0000000000000000 ffff8801cb46c140 ffff8801c8688238 ffff8801c86f79e8 [ 26.908955] ffffffff8153cb43 ffff8801cb46c140 0000000000000008 0000000000000000 [ 26.910212] Call Trace: [ 26.910602] [] dump_stack+0xc1/0x128 [ 26.911337] [] print_address_description+0x73/0x280 [ 26.912339] [] kasan_report+0x275/0x360 [ 26.913105] [] ? sg_remove_request+0x103/0x120 [ 26.913949] [] __asan_report_load8_noabort+0x14/0x20 [ 26.914840] [] sg_remove_request+0x103/0x120 [ 26.915658] [] sg_finish_rem_req+0x295/0x340 [ 26.916476] [] sg_read+0xa1c/0x1440 [ 26.917198] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.918141] [] ? fsnotify+0xf30/0xf30 [ 26.918883] [] ? avc_policy_seqno+0x9/0x20 [ 26.919695] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.920623] [] ? security_file_permission+0x89/0x1e0 [ 26.925334] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.931971] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.938616] [] do_readv_writev+0x520/0x750 [ 26.944472] [] ? vfs_write+0x530/0x530 [ 26.949980] [] ? __fget+0x201/0x3a0 [ 26.955226] [] ? __fget+0x228/0x3a0 [ 26.960472] [] ? __fget+0x47/0x3a0 [ 26.965645] [] vfs_readv+0x84/0xc0 [ 26.970840] [] do_readv+0xe6/0x250 [ 26.976015] [] ? vfs_readv+0xc0/0xc0 [ 26.981350] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 26.987986] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.994798] [] SyS_readv+0x27/0x30 [ 26.999972] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.006520] [ 27.008129] Allocated by task 0: [ 27.011464] (stack is not available) [ 27.015142] [ 27.016750] Freed by task 0: [ 27.019735] (stack is not available) [ 27.023416] [ 27.025016] The buggy address belongs to the object at ffff8801cb46c100 [ 27.025016] which belongs to the cache fasync_cache of size 96 [ 27.037643] The buggy address is located 64 bytes inside of [ 27.037643] 96-byte region [ffff8801cb46c100, ffff8801cb46c160) [ 27.049313] The buggy address belongs to the page: [ 27.054213] page:ffffea00072d1b00 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.062453] flags: 0x8000000000000080(slab) [ 27.066740] page dumped because: kasan: bad access detected [ 27.072416] [ 27.074013] Memory state around the buggy address: [ 27.078911] ffff8801cb46c000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.086242] ffff8801cb46c080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.093573] >ffff8801cb46c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc executing program [ 27.100901] ^ [ 27.106321] ffff8801cb46c180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.113650] ffff8801cb46c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.120981] ================================================================== [ 27.128309] Disabling lock debugging due to kernel taint [ 27.135266] Kernel panic - not syncing: panic_on_warn set ... [ 27.135266] [ 27.142632] CPU: 0 PID: 3332 Comm: syzkaller722888 Tainted: G B 4.9.76-g8dec074 #13 [ 27.151526] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.160862] ffff8801c86f7908 ffffffff81d93169 ffffffff84195c2f ffff8801c86f79e0 [ 27.168843] 0000000000000000 ffff8801cb46c140 ffff8801c8688238 ffff8801c86f79d0 [ 27.176817] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 27.184791] Call Trace: [ 27.187370] [] dump_stack+0xc1/0x128 [ 27.192711] [] panic+0x1bc/0x3a8 [ 27.197698] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.205899] [] ? preempt_schedule+0x25/0x30 [ 27.211844] [] ? ___preempt_schedule+0x16/0x18 [ 27.218072] [] kasan_end_report+0x50/0x50 [ 27.223842] [] kasan_report+0x167/0x360 [ 27.229439] [] ? sg_remove_request+0x103/0x120 [ 27.235644] [] __asan_report_load8_noabort+0x14/0x20 [ 27.242367] [] sg_remove_request+0x103/0x120 [ 27.248394] [] sg_finish_rem_req+0x295/0x340 [ 27.254420] [] sg_read+0xa1c/0x1440 [ 27.259670] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.266309] [] ? fsnotify+0xf30/0xf30 [ 27.271732] [] ? avc_policy_seqno+0x9/0x20 [ 27.277604] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.284590] [] ? security_file_permission+0x89/0x1e0 [ 27.291331] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.297967] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.304603] [] do_readv_writev+0x520/0x750 [ 27.310459] [] ? vfs_write+0x530/0x530 [ 27.315971] [] ? __fget+0x201/0x3a0 [ 27.321218] [] ? __fget+0x228/0x3a0 [ 27.326476] [] ? __fget+0x47/0x3a0 [ 27.331638] [] vfs_readv+0x84/0xc0 [ 27.336799] [] do_readv+0xe6/0x250 [ 27.341969] [] ? vfs_readv+0xc0/0xc0 [ 27.347322] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.353961] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.360774] [] SyS_readv+0x27/0x30 [ 27.365937] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.372806] Dumping ftrace buffer: [ 27.376331] (ftrace buffer empty) [ 27.380014] Kernel Offset: disabled [ 27.383611] Rebooting in 86400 seconds..