[....] Starting enhanced syslogd: rsyslogd[ 10.873723] audit: type=1400 audit(1516200665.038:4): avc: denied { syslog } for pid=3174 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.61' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.165611] ================================================================== [ 28.166724] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.167738] Read of size 8 at addr ffff8801c876a140 by task syzkaller804021/3331 [ 28.168799] [ 28.169053] CPU: 0 PID: 3331 Comm: syzkaller804021 Not tainted 4.9.77-g033d019 #24 [ 28.170098] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.171350] ffff8801c7ca7940 ffffffff81d941c9 ffffea000721da80 ffff8801c876a140 [ 28.172629] 0000000000000000 ffff8801c876a140 ffff8801c9b8c438 ffff8801c7ca7978 [ 28.173914] ffffffff8153db93 ffff8801c876a140 0000000000000008 0000000000000000 [ 28.175192] Call Trace: [ 28.175554] [] dump_stack+0xc1/0x128 [ 28.176272] [] print_address_description+0x73/0x280 [ 28.177204] [] kasan_report+0x275/0x360 [ 28.177966] [] ? sg_remove_request+0x103/0x120 [ 28.178800] [] __asan_report_load8_noabort+0x14/0x20 [ 28.179782] [] sg_remove_request+0x103/0x120 [ 28.180620] [] sg_finish_rem_req+0x295/0x340 [ 28.181421] [] sg_read+0xa1c/0x1440 [ 28.182158] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.183067] [] ? fsnotify+0xf30/0xf30 [ 28.183833] [] ? avc_policy_seqno+0x9/0x20 [ 28.184631] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.185588] [] ? security_file_permission+0x89/0x1e0 [ 28.191417] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.198049] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.204680] [] compat_do_readv_writev+0x522/0x760 [ 28.211138] [] ? do_pwritev+0x1a0/0x1a0 [ 28.216732] [] ? __lru_cache_add+0x187/0x250 [ 28.222760] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.228703] [] ? __pmd_alloc+0x410/0x410 [ 28.234382] [] compat_readv+0xe3/0x150 [ 28.239891] [] do_compat_readv+0xf4/0x1d0 [ 28.245656] [] ? compat_readv+0x150/0x150 [ 28.251425] [] compat_SyS_readv+0x26/0x30 [ 28.257192] [] ? SyS_pwritev2+0x80/0x80 [ 28.262791] [] do_fast_syscall_32+0x2f7/0x890 [ 28.268906] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.275540] [] entry_SYSENTER_compat+0x74/0x83 [ 28.281742] [ 28.283355] Allocated by task 0: [ 28.286688] (stack is not available) [ 28.290374] [ 28.291980] Freed by task 0: [ 28.294966] (stack is not available) [ 28.298645] [ 28.300243] The buggy address belongs to the object at ffff8801c876a100 [ 28.300243] which belongs to the cache fasync_cache of size 96 [ 28.312868] The buggy address is located 64 bytes inside of [ 28.312868] 96-byte region [ffff8801c876a100, ffff8801c876a160) [ 28.324534] The buggy address belongs to the page: [ 28.329432] page:ffffea000721da80 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.337657] flags: 0x8000000000000080(slab) [ 28.341945] page dumped because: kasan: bad access detected [ 28.347620] [ 28.349216] Memory state around the buggy address: [ 28.354112] ffff8801c876a000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.361438] ffff8801c876a080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.368773] >ffff8801c876a100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.376108] ^ [ 28.381524] ffff8801c876a180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.388849] ffff8801c876a200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.396172] ================================================================== [ 28.403495] Disabling lock debugging due to kernel taint [ 28.409244] Kernel panic - not syncing: panic_on_warn set ... [ 28.409244] [ 28.416580] CPU: 0 PID: 3331 Comm: syzkaller804021 Tainted: G B 4.9.77-g033d019 #24 [ 28.425472] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.434796] ffff8801c7ca7898 ffffffff81d941c9 ffffffff841970ff ffff8801c7ca7970 [ 28.442765] 0000000000000000 ffff8801c876a140 ffff8801c9b8c438 ffff8801c7ca7960 [ 28.450739] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 28.458704] Call Trace: [ 28.461269] [] dump_stack+0xc1/0x128 [ 28.466604] [] panic+0x1bc/0x3a8 [ 28.471591] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.479792] [] ? preempt_schedule+0x25/0x30 [ 28.485733] [] ? ___preempt_schedule+0x16/0x18 [ 28.491934] [] kasan_end_report+0x50/0x50 [ 28.497697] [] kasan_report+0x167/0x360 [ 28.503291] [] ? sg_remove_request+0x103/0x120 [ 28.509493] [] __asan_report_load8_noabort+0x14/0x20 [ 28.516212] [] sg_remove_request+0x103/0x120 [ 28.522249] [] sg_finish_rem_req+0x295/0x340 [ 28.528278] [] sg_read+0xa1c/0x1440 [ 28.533523] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.540157] [] ? fsnotify+0xf30/0xf30 [ 28.545579] [] ? avc_policy_seqno+0x9/0x20 [ 28.551438] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.558419] [] ? security_file_permission+0x89/0x1e0 [ 28.565148] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.572302] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.578938] [] compat_do_readv_writev+0x522/0x760 [ 28.585399] [] ? do_pwritev+0x1a0/0x1a0 [ 28.590992] [] ? __lru_cache_add+0x187/0x250 [ 28.597026] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.602966] [] ? __pmd_alloc+0x410/0x410 [ 28.608645] [] compat_readv+0xe3/0x150 [ 28.614149] [] do_compat_readv+0xf4/0x1d0 [ 28.619915] [] ? compat_readv+0x150/0x150 [ 28.625684] [] compat_SyS_readv+0x26/0x30 [ 28.631450] [] ? SyS_pwritev2+0x80/0x80 [ 28.637043] [] do_fast_syscall_32+0x2f7/0x890 [ 28.643156] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.649794] [] entry_SYSENTER_compat+0x74/0x83 [ 28.656398] Dumping ftrace buffer: [ 28.659908] (ftrace buffer empty) [ 28.663589] Kernel Offset: disabled [ 28.667185] Rebooting in 86400 seconds..