[....] Starting enhanced syslogd: rsyslogd[ 12.963849] audit: type=1400 audit(1515373415.688:4): avc: denied { syslog } for pid=3172 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: [ 53.314935] ================================================================== [ 53.322323] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 53.329391] Read of size 8 at addr ffff8801c14ba140 by task syzkaller120537/3344 [ 53.336894] [ 53.338490] CPU: 0 PID: 3344 Comm: syzkaller120537 Not tainted 4.9.75-g5f5e5d4 #7 [ 53.346073] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.355394] ffff8801c8cdf9b0 ffffffff81d93049 ffffea0007052e80 ffff8801c14ba140 [ 53.363343] 0000000000000000 ffff8801c14ba140 ffff8801c8ee0238 ffff8801c8cdf9e8 [ 53.371294] ffffffff8153ca53 ffff8801c14ba140 0000000000000008 0000000000000000 [ 53.379238] Call Trace: [ 53.381791] [] dump_stack+0xc1/0x128 [ 53.387122] [] print_address_description+0x73/0x280 [ 53.393754] [] kasan_report+0x275/0x360 [ 53.399343] [] ? sg_remove_request+0x103/0x120 [ 53.405540] [] __asan_report_load8_noabort+0x14/0x20 [ 53.412256] [] sg_remove_request+0x103/0x120 [ 53.418281] [] sg_finish_rem_req+0x295/0x340 [ 53.424318] [] sg_read+0xa1c/0x1440 [ 53.429560] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 53.436206] [] ? fsnotify+0xf30/0xf30 [ 53.441638] [] ? avc_policy_seqno+0x9/0x20 [ 53.447489] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 53.454478] [] ? security_file_permission+0x89/0x1e0 [ 53.461206] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 53.467839] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 53.474470] [] do_readv_writev+0x520/0x750 [ 53.480328] [] ? vfs_write+0x530/0x530 [ 53.485832] [] ? __pmd_alloc+0x410/0x410 [ 53.491511] [] ? __do_page_fault+0x5ec/0xd40 [ 53.497542] [] vfs_readv+0x84/0xc0 [ 53.502698] [] do_readv+0xe6/0x250 [ 53.507861] [] ? vfs_readv+0xc0/0xc0 [ 53.513190] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 53.519829] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 53.526636] [] SyS_readv+0x27/0x30 [ 53.531790] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 53.538342] [ 53.539935] Allocated by task 0: [ 53.543261] (stack is not available) [ 53.546936] [ 53.548525] Freed by task 0: [ 53.551507] (stack is not available) [ 53.555188] [ 53.556781] The buggy address belongs to the object at ffff8801c14ba100 [ 53.556781] which belongs to the cache fasync_cache of size 96 [ 53.569411] The buggy address is located 64 bytes inside of [ 53.569411] 96-byte region [ffff8801c14ba100, ffff8801c14ba160) [ 53.581075] The buggy address belongs to the page: [ 53.585976] page:ffffea0007052e80 count:1 mapcount:0 mapping: (null) index:0x0 [ 53.594197] flags: 0x8000000000000080(slab) [ 53.598479] page dumped because: kasan: bad access detected [ 53.604152] [ 53.605744] Memory state around the buggy address: [ 53.610636] ffff8801c14ba000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 53.617960] ffff8801c14ba080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.625299] >ffff8801c14ba100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.625302] ^ [ 53.625304] ffff8801c14ba180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.625307] ffff8801c14ba200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.625308] ================================================================== [ 53.625309] Disabling lock debugging due to kernel taint [ 53.625503] Kernel panic - not syncing: panic_on_warn set ... [ 53.625503] [ 53.625509] CPU: 0 PID: 3344 Comm: syzkaller120537 Tainted: G B 4.9.75-g5f5e5d4 #7 [ 53.625511] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.625519] ffff8801c8cdf908 ffffffff81d93049 ffffffff84195be7 ffff8801c8cdf9e0 [ 53.625524] 0000000000000000 ffff8801c14ba140 ffff8801c8ee0238 ffff8801c8cdf9d0 [ 53.625529] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 53.625530] Call Trace: [ 53.625538] [] dump_stack+0xc1/0x128 [ 53.625544] [] panic+0x1bc/0x3a8 [ 53.625549] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 53.625555] [] ? preempt_schedule+0x25/0x30 [ 53.625560] [] ? ___preempt_schedule+0x16/0x18 [ 53.625565] [] kasan_end_report+0x50/0x50 [ 53.625569] [] kasan_report+0x167/0x360 [ 53.625574] [] ? sg_remove_request+0x103/0x120 [ 53.625578] [] __asan_report_load8_noabort+0x14/0x20 [ 53.625581] [] sg_remove_request+0x103/0x120 [ 53.625585] [] sg_finish_rem_req+0x295/0x340 [ 53.625588] [] sg_read+0xa1c/0x1440 [ 53.625592] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 53.625598] [] ? fsnotify+0xf30/0xf30 [ 53.625604] [] ? avc_policy_seqno+0x9/0x20 [ 53.625610] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 53.625614] [] ? security_file_permission+0x89/0x1e0 [ 53.625617] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 53.625621] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 53.625624] [] do_readv_writev+0x520/0x750 [ 53.625628] [] ? vfs_write+0x530/0x530 [ 53.625632] [] ? __pmd_alloc+0x410/0x410 [ 53.625639] [] ? __do_page_fault+0x5ec/0xd40 [ 53.625643] [] vfs_readv+0x84/0xc0 [ 53.625646] [] do_readv+0xe6/0x250 [ 53.625650] [] ? vfs_readv+0xc0/0xc0 [ 53.625653] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 53.625660] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 53.625663] [] SyS_readv+0x27/0x30 [ 53.625667] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 53.633024] Dumping ftrace buffer: [ 53.633027] (ftrace buffer empty) [ 53.633029] Kernel Offset: disabled [ 53.907828] Rebooting in 86400 seconds..