[....] Starting enhanced syslogd: rsyslogd[ 10.954759] audit: type=1400 audit(1516579399.713:4): avc: denied { syslog } for pid=3170 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.36' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 44.205526] ================================================================== [ 44.206616] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 44.207579] Read of size 8 at addr ffff8801c987d4c0 by task syzkaller671306/3345 [ 44.208601] [ 44.208835] CPU: 1 PID: 3345 Comm: syzkaller671306 Not tainted 4.9.77-ge12a9c4 #18 [ 44.209899] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.211170] ffff8801c7e879b0 ffffffff81d941c9 ffffea0007261f40 ffff8801c987d4c0 [ 44.212449] 0000000000000000 ffff8801c987d4c0 ffff8801c82c8238 ffff8801c7e879e8 [ 44.213687] ffffffff8153db93 ffff8801c987d4c0 0000000000000008 0000000000000000 [ 44.214935] Call Trace: [ 44.215314] [] dump_stack+0xc1/0x128 [ 44.216077] [] print_address_description+0x73/0x280 [ 44.217023] [] kasan_report+0x275/0x360 [ 44.217797] [] ? sg_remove_request+0x103/0x120 [ 44.218687] [] __asan_report_load8_noabort+0x14/0x20 [ 44.219603] [] sg_remove_request+0x103/0x120 [ 44.220481] [] sg_finish_rem_req+0x295/0x340 [ 44.221312] [] sg_read+0xa1c/0x1440 [ 44.222030] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.222946] [] ? fsnotify+0xf30/0xf30 [ 44.223688] [] ? avc_policy_seqno+0x9/0x20 [ 44.224468] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 44.225408] [] ? security_file_permission+0x89/0x1e0 [ 44.226329] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.232963] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.239598] [] do_readv_writev+0x520/0x750 [ 44.245453] [] ? vfs_write+0x530/0x530 [ 44.250959] [] ? __fget+0x228/0x3a0 [ 44.256207] [] ? __fget+0x47/0x3a0 [ 44.261369] [] vfs_readv+0x84/0xc0 [ 44.266537] [] do_readv+0xe6/0x250 [ 44.271698] [] ? vfs_readv+0xc0/0xc0 [ 44.277031] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 44.283669] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 44.290478] [] SyS_readv+0x27/0x30 [ 44.295636] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 44.302188] [ 44.303791] Allocated by task 0: [ 44.307130] (stack is not available) [ 44.310808] [ 44.312406] Freed by task 0: [ 44.315390] (stack is not available) [ 44.319067] [ 44.320668] The buggy address belongs to the object at ffff8801c987d480 [ 44.320668] which belongs to the cache fasync_cache of size 96 [ 44.333291] The buggy address is located 64 bytes inside of [ 44.333291] 96-byte region [ffff8801c987d480, ffff8801c987d4e0) [ 44.344969] The buggy address belongs to the page: [ 44.349869] page:ffffea0007261f40 count:1 mapcount:0 mapping: (null) index:0x0 [ 44.358096] flags: 0x8000000000000080(slab) [ 44.362384] page dumped because: kasan: bad access detected [ 44.368057] [ 44.369672] Memory state around the buggy address: [ 44.374570] ffff8801c987d380: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 44.381896] ffff8801c987d400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.389243] >ffff8801c987d480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.396571] ^ [ 44.401990] ffff8801c987d500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.409317] ffff8801c987d580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.416643] ================================================================== [ 44.423973] Disabling lock debugging due to kernel taint [ 44.429526] Kernel panic - not syncing: panic_on_warn set ... [ 44.429526] [ 44.436867] CPU: 1 PID: 3345 Comm: syzkaller671306 Tainted: G B 4.9.77-ge12a9c4 #18 [ 44.445761] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.455087] ffff8801c7e87908 ffffffff81d941c9 ffffffff841970ff ffff8801c7e879e0 [ 44.463060] 0000000000000000 ffff8801c987d4c0 ffff8801c82c8238 ffff8801c7e879d0 [ 44.471024] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 44.478993] Call Trace: [ 44.481562] [] dump_stack+0xc1/0x128 [ 44.486907] [] panic+0x1bc/0x3a8 [ 44.491896] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 44.500106] [] ? preempt_schedule+0x25/0x30 [ 44.506052] [] ? ___preempt_schedule+0x16/0x18 [ 44.512253] [] kasan_end_report+0x50/0x50 [ 44.518018] [] kasan_report+0x167/0x360 [ 44.523611] [] ? sg_remove_request+0x103/0x120 [ 44.529815] [] __asan_report_load8_noabort+0x14/0x20 [ 44.536534] [] sg_remove_request+0x103/0x120 [ 44.542560] [] sg_finish_rem_req+0x295/0x340 [ 44.548598] [] sg_read+0xa1c/0x1440 [ 44.553937] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.560569] [] ? fsnotify+0xf30/0xf30 [ 44.565988] [] ? avc_policy_seqno+0x9/0x20 [ 44.571841] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 44.578823] [] ? security_file_permission+0x89/0x1e0 [ 44.585543] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.592175] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 44.598809] [] do_readv_writev+0x520/0x750 [ 44.605407] [] ? vfs_write+0x530/0x530 [ 44.610932] [] ? __fget+0x228/0x3a0 [ 44.616178] [] ? __fget+0x47/0x3a0 [ 44.621339] [] vfs_readv+0x84/0xc0 [ 44.626499] [] do_readv+0xe6/0x250 [ 44.631659] [] ? vfs_readv+0xc0/0xc0 [ 44.636994] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 44.643631] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 44.650442] [] SyS_readv+0x27/0x30 [ 44.655599] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 44.662508] Dumping ftrace buffer: [ 44.666018] (ftrace buffer empty) [ 44.669713] Kernel Offset: disabled [ 44.673310] Rebooting in 86400 seconds..