[....] Starting enhanced syslogd: rsyslogd[ 10.157205] audit: type=1400 audit(1516098932.500:4): avc: denied { syslog } for pid=3167 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.24' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.968689] ================================================================== [ 18.969794] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.970726] Read of size 8 at addr ffff8801cd459140 by task syzkaller345035/3316 [ 18.971711] [ 18.971940] CPU: 0 PID: 3316 Comm: syzkaller345035 Not tainted 4.9.76-g8dec074 #13 [ 18.972995] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.974215] ffff8801c8cbf9b0 ffffffff81d93169 ffffea0007351640 ffff8801cd459140 [ 18.975356] 0000000000000000 ffff8801cd459140 ffff8801c8f78238 ffff8801c8cbf9e8 [ 18.976486] ffffffff8153cb43 ffff8801cd459140 0000000000000008 0000000000000000 [ 18.977632] Call Trace: [ 18.978011] [] dump_stack+0xc1/0x128 [ 18.978720] [] print_address_description+0x73/0x280 [ 18.979605] [] kasan_report+0x275/0x360 [ 18.980384] [] ? sg_remove_request+0x103/0x120 [ 18.981219] [] __asan_report_load8_noabort+0x14/0x20 [ 18.982104] [] sg_remove_request+0x103/0x120 [ 18.982909] [] sg_finish_rem_req+0x295/0x340 [ 18.983714] [] sg_read+0xa1c/0x1440 [ 18.984409] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.985297] [] ? fsnotify+0xf30/0xf30 [ 18.986028] [] ? avc_policy_seqno+0x9/0x20 [ 18.986805] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 18.987726] [] ? security_file_permission+0x89/0x1e0 [ 18.988626] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.994314] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.000946] [] do_readv_writev+0x520/0x750 [ 19.006795] [] ? vfs_write+0x530/0x530 [ 19.012299] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.018244] [] ? __pmd_alloc+0x410/0x410 [ 19.023920] [] ? dev_seq_stop+0x50/0x50 [ 19.029509] [] ? __do_page_fault+0x5ec/0xd40 [ 19.035533] [] vfs_readv+0x84/0xc0 [ 19.040686] [] do_readv+0xe6/0x250 [ 19.045839] [] ? vfs_readv+0xc0/0xc0 [ 19.051166] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 19.057798] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.064603] [] SyS_readv+0x27/0x30 [ 19.069757] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.076309] [ 19.077903] Allocated by task 0: [ 19.081228] (stack is not available) [ 19.084901] [ 19.086492] Freed by task 0: [ 19.089469] (stack is not available) [ 19.093142] [ 19.094734] The buggy address belongs to the object at ffff8801cd459100 [ 19.094734] which belongs to the cache fasync_cache of size 96 [ 19.107351] The buggy address is located 64 bytes inside of [ 19.107351] 96-byte region [ffff8801cd459100, ffff8801cd459160) [ 19.119012] The buggy address belongs to the page: [ 19.123904] page:ffffea0007351640 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.132117] flags: 0x8000000000000080(slab) [ 19.136404] page dumped because: kasan: bad access detected [ 19.142075] [ 19.143666] Memory state around the buggy address: [ 19.148559] ffff8801cd459000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.155885] ffff8801cd459080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.163208] >ffff8801cd459100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.170528] ^ [ 19.175940] ffff8801cd459180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.183261] ffff8801cd459200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.190581] ================================================================== [ 19.197904] Disabling lock debugging due to kernel taint [ 19.204810] Kernel panic - not syncing: panic_on_warn set ... [ 19.204810] [ 19.212165] CPU: 0 PID: 3316 Comm: syzkaller345035 Tainted: G B 4.9.76-g8dec074 #13 [ 19.221050] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.230370] ffff8801c8cbf908 ffffffff81d93169 ffffffff84195c2f ffff8801c8cbf9e0 [ 19.238317] 0000000000000000 ffff8801cd459140 ffff8801c8f78238 ffff8801c8cbf9d0 [ 19.246265] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 19.254204] Call Trace: [ 19.256758] [] dump_stack+0xc1/0x128 [ 19.262087] [] panic+0x1bc/0x3a8 [ 19.267071] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.275267] [] ? preempt_schedule+0x25/0x30 [ 19.281203] [] ? ___preempt_schedule+0x16/0x18 [ 19.287402] [] kasan_end_report+0x50/0x50 [ 19.293169] [] kasan_report+0x167/0x360 [ 19.298766] [] ? sg_remove_request+0x103/0x120 [ 19.304964] [] __asan_report_load8_noabort+0x14/0x20 [ 19.311680] [] sg_remove_request+0x103/0x120 [ 19.317701] [] sg_finish_rem_req+0x295/0x340 [ 19.323722] [] sg_read+0xa1c/0x1440 [ 19.328961] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.335593] [] ? fsnotify+0xf30/0xf30 [ 19.341006] [] ? avc_policy_seqno+0x9/0x20 [ 19.346857] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 19.353845] [] ? security_file_permission+0x89/0x1e0 [ 19.360559] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.367191] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.373821] [] do_readv_writev+0x520/0x750 [ 19.379678] [] ? vfs_write+0x530/0x530 [ 19.385181] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.391117] [] ? __pmd_alloc+0x410/0x410 [ 19.396793] [] ? dev_seq_stop+0x50/0x50 [ 19.402382] [] ? __do_page_fault+0x5ec/0xd40 [ 19.408404] [] vfs_readv+0x84/0xc0 [ 19.413558] [] do_readv+0xe6/0x250 [ 19.418711] [] ? vfs_readv+0xc0/0xc0 [ 19.424048] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 19.430685] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.437489] [] SyS_readv+0x27/0x30 [ 19.442643] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.449595] Dumping ftrace buffer: [ 19.453109] (ftrace buffer empty) [ 19.456784] Kernel Offset: disabled [ 19.460375] Rebooting in 86400 seconds..