[....] Starting enhanced syslogd: rsyslogd[ 10.848320] audit: type=1400 audit(1516577935.309:4): avc: denied { syslog } for pid=3180 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.15.214' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 21.608978] ================================================================== [ 21.610208] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 21.611223] Read of size 8 at addr ffff8801c9d96140 by task syzkaller894009/3335 [ 21.612328] [ 21.612581] CPU: 0 PID: 3335 Comm: syzkaller894009 Not tainted 4.9.77-ge12a9c4 #18 [ 21.613646] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.614939] ffff8801c7d6f9b0 ffffffff81d941c9 ffffea0007276580 ffff8801c9d96140 [ 21.616172] 0000000000000000 ffff8801c9d96140 ffff8801c9290238 ffff8801c7d6f9e8 [ 21.617445] ffffffff8153db93 ffff8801c9d96140 0000000000000008 0000000000000000 [ 21.618650] Call Trace: [ 21.619031] [] dump_stack+0xc1/0x128 [ 21.619781] [] print_address_description+0x73/0x280 [ 21.620680] [] kasan_report+0x275/0x360 [ 21.621471] [] ? sg_remove_request+0x103/0x120 [ 21.622303] [] __asan_report_load8_noabort+0x14/0x20 [ 21.623212] [] sg_remove_request+0x103/0x120 [ 21.624061] [] sg_finish_rem_req+0x295/0x340 [ 21.624960] [] sg_read+0xa1c/0x1440 [ 21.625693] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.626608] [] ? fsnotify+0xf30/0xf30 [ 21.627546] [] ? avc_policy_seqno+0x9/0x20 [ 21.628364] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 21.631131] [] ? security_file_permission+0x89/0x1e0 [ 21.637855] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.644491] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.651129] [] do_readv_writev+0x520/0x750 [ 21.656990] [] ? vfs_write+0x530/0x530 [ 21.662502] [] ? __raw_spin_lock_init+0x1c/0x100 [ 21.668890] [] ? fasync_insert_entry+0x147/0x2e0 [ 21.675268] [] vfs_readv+0x84/0xc0 [ 21.680430] [] do_readv+0xe6/0x250 [ 21.685599] [] ? vfs_readv+0xc0/0xc0 [ 21.690934] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 21.697575] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.704391] [] SyS_readv+0x27/0x30 [ 21.709554] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 21.716102] [ 21.717701] Allocated by task 0: [ 21.721042] (stack is not available) [ 21.724723] [ 21.726319] Freed by task 0: [ 21.729306] (stack is not available) [ 21.732986] [ 21.734592] The buggy address belongs to the object at ffff8801c9d96100 [ 21.734592] which belongs to the cache fasync_cache of size 96 [ 21.747217] The buggy address is located 64 bytes inside of [ 21.747217] 96-byte region [ffff8801c9d96100, ffff8801c9d96160) [ 21.758887] The buggy address belongs to the page: [ 21.763791] page:ffffea0007276580 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.772022] flags: 0x8000000000000080(slab) [ 21.776309] page dumped because: kasan: bad access detected [ 21.781987] [ 21.783588] Memory state around the buggy address: [ 21.788486] ffff8801c9d96000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.795814] ffff8801c9d96080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.803144] >ffff8801c9d96100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.810474] ^ [ 21.815897] ffff8801c9d96180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.823228] ffff8801c9d96200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.830557] ================================================================== [ 21.837887] Disabling lock debugging due to kernel taint [ 21.843599] Kernel panic - not syncing: panic_on_warn set ... [ 21.843599] [ 21.850955] CPU: 0 PID: 3335 Comm: syzkaller894009 Tainted: G B 4.9.77-ge12a9c4 #18 [ 21.859850] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.869275] ffff8801c7d6f908 ffffffff81d941c9 ffffffff841970ff ffff8801c7d6f9e0 [ 21.877261] 0000000000000000 ffff8801c9d96140 ffff8801c9290238 ffff8801c7d6f9d0 [ 21.885238] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 21.893203] Call Trace: [ 21.895766] [] dump_stack+0xc1/0x128 [ 21.901102] [] panic+0x1bc/0x3a8 [ 21.906092] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.914296] [] ? preempt_schedule+0x25/0x30 [ 21.920241] [] ? ___preempt_schedule+0x16/0x18 [ 21.926445] [] kasan_end_report+0x50/0x50 [ 21.932214] [] kasan_report+0x167/0x360 [ 21.937816] [] ? sg_remove_request+0x103/0x120 [ 21.944027] [] __asan_report_load8_noabort+0x14/0x20 [ 21.950755] [] sg_remove_request+0x103/0x120 [ 21.956788] [] sg_finish_rem_req+0x295/0x340 [ 21.962821] [] sg_read+0xa1c/0x1440 [ 21.968072] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.974712] [] ? fsnotify+0xf30/0xf30 [ 21.980138] [] ? avc_policy_seqno+0x9/0x20 [ 21.986002] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 21.992991] [] ? security_file_permission+0x89/0x1e0 [ 21.999718] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.006357] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.013001] [] do_readv_writev+0x520/0x750 [ 22.018861] [] ? vfs_write+0x530/0x530 [ 22.024372] [] ? __raw_spin_lock_init+0x1c/0x100 [ 22.030767] [] ? fasync_insert_entry+0x147/0x2e0 [ 22.037146] [] vfs_readv+0x84/0xc0 [ 22.042310] [] do_readv+0xe6/0x250 [ 22.047471] [] ? vfs_readv+0xc0/0xc0 [ 22.052814] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 22.059460] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 22.066272] [] SyS_readv+0x27/0x30 [ 22.071432] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 22.078493] Dumping ftrace buffer: [ 22.082023] (ftrace buffer empty) [ 22.085709] Kernel Offset: disabled [ 22.089307] Rebooting in 86400 seconds..