[....] Starting enhanced syslogd: rsyslogd[ 9.478651] audit: type=1400 audit(1516936942.821:4): avc: denied { syslog } for pid=3161 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.60' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.626632] ================================================================== [ 28.627762] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.628715] Read of size 8 at addr ffff8801c925b140 by task syzkaller552089/3325 [ 28.629720] [ 28.629956] CPU: 1 PID: 3325 Comm: syzkaller552089 Not tainted 4.9.78-ge37256c #21 [ 28.630981] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.632206] ffff8801c9a4f9b0 ffffffff81d943a9 ffffea00072496c0 ffff8801c925b140 [ 28.633355] 0000000000000000 ffff8801c925b140 ffff8801c958a338 ffff8801c9a4f9e8 [ 28.634542] ffffffff8153dc23 ffff8801c925b140 0000000000000008 0000000000000000 [ 28.635708] Call Trace: [ 28.636064] [] dump_stack+0xc1/0x128 [ 28.636776] [] print_address_description+0x73/0x280 [ 28.637657] [] kasan_report+0x275/0x360 [ 28.638400] [] ? sg_remove_request+0x103/0x120 [ 28.639242] [] __asan_report_load8_noabort+0x14/0x20 [ 28.640169] [] sg_remove_request+0x103/0x120 [ 28.640990] [] sg_finish_rem_req+0x295/0x340 [ 28.641790] [] sg_read+0xa16/0x1440 [ 28.642490] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.643386] [] ? fsnotify+0xf30/0xf30 [ 28.644108] [] ? avc_policy_seqno+0x9/0x20 [ 28.644887] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.645812] [] ? security_file_permission+0x89/0x1e0 [ 28.646719] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.647597] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.654228] [] do_readv_writev+0x520/0x750 [ 28.660087] [] ? vfs_write+0x530/0x530 [ 28.665592] [] ? __pmd_alloc+0x410/0x410 [ 28.671274] [] ? __do_page_fault+0x5ec/0xd40 [ 28.677302] [] vfs_readv+0x84/0xc0 [ 28.682456] [] do_readv+0xe6/0x250 [ 28.687612] [] ? vfs_readv+0xc0/0xc0 [ 28.692942] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 28.699575] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.706379] [] SyS_readv+0x27/0x30 [ 28.711538] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 28.718081] [ 28.719676] Allocated by task 0: [ 28.723008] (stack is not available) [ 28.726683] [ 28.728277] Freed by task 0: [ 28.731259] (stack is not available) [ 28.734938] [ 28.736534] The buggy address belongs to the object at ffff8801c925b100 [ 28.736534] which belongs to the cache fasync_cache of size 96 [ 28.749153] The buggy address is located 64 bytes inside of [ 28.749153] 96-byte region [ffff8801c925b100, ffff8801c925b160) [ 28.760819] The buggy address belongs to the page: [ 28.765717] page:ffffea00072496c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.773937] flags: 0x8000000000000080(slab) [ 28.778223] page dumped because: kasan: bad access detected [ 28.783897] [ 28.785490] Memory state around the buggy address: [ 28.790383] ffff8801c925b000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.797707] ffff8801c925b080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.805031] >ffff8801c925b100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.812353] ^ [ 28.817768] ffff8801c925b180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.825096] ffff8801c925b200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.832421] ================================================================== [ 28.839745] Disabling lock debugging due to kernel taint [ 28.845227] Kernel panic - not syncing: panic_on_warn set ... [ 28.845227] [ 28.852571] CPU: 1 PID: 3325 Comm: syzkaller552089 Tainted: G B 4.9.78-ge37256c #21 [ 28.861461] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.870788] ffff8801c9a4f908 ffffffff81d943a9 ffffffff841971bf ffff8801c9a4f9e0 [ 28.878755] 0000000000000000 ffff8801c925b140 ffff8801c958a338 ffff8801c9a4f9d0 [ 28.886718] ffffffff8142f451 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f295 [ 28.894678] Call Trace: [ 28.897239] [] dump_stack+0xc1/0x128 [ 28.902572] [] panic+0x1bc/0x3a8 [ 28.907560] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.915756] [] ? preempt_schedule+0x25/0x30 [ 28.921696] [] ? ___preempt_schedule+0x16/0x18 [ 28.927898] [] kasan_end_report+0x50/0x50 [ 28.933672] [] kasan_report+0x167/0x360 [ 28.939274] [] ? sg_remove_request+0x103/0x120 [ 28.945473] [] __asan_report_load8_noabort+0x14/0x20 [ 28.952191] [] sg_remove_request+0x103/0x120 [ 28.958216] [] sg_finish_rem_req+0x295/0x340 [ 28.964242] [] sg_read+0xa16/0x1440 [ 28.969486] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.976121] [] ? fsnotify+0xf30/0xf30 [ 28.981540] [] ? avc_policy_seqno+0x9/0x20 [ 28.987393] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.994381] [] ? security_file_permission+0x89/0x1e0 [ 29.001103] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 29.007735] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 29.014370] [] do_readv_writev+0x520/0x750 [ 29.020223] [] ? vfs_write+0x530/0x530 [ 29.025727] [] ? __pmd_alloc+0x410/0x410 [ 29.031408] [] ? __do_page_fault+0x5ec/0xd40 [ 29.037436] [] vfs_readv+0x84/0xc0 [ 29.042596] [] do_readv+0xe6/0x250 [ 29.047753] [] ? vfs_readv+0xc0/0xc0 [ 29.053087] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 29.059722] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.066530] [] SyS_readv+0x27/0x30 [ 29.071689] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 29.078593] Dumping ftrace buffer: [ 29.082101] (ftrace buffer empty) [ 29.085780] Kernel Offset: disabled [ 29.089377] Rebooting in 86400 seconds..