[....] Starting enhanced syslogd: rsyslogd[ 11.064394] audit: type=1400 audit(1516261105.842:4): avc: denied { syslog } for pid=3176 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.0.49' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.239710] ================================================================== [ 27.240820] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.241825] Read of size 8 at addr ffff8801c8c80140 by task syzkaller678049/3333 [ 27.242867] [ 27.243122] CPU: 1 PID: 3333 Comm: syzkaller678049 Not tainted 4.9.77-g033d019 #14 [ 27.244150] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.245419] ffff8801c97279b0 ffffffff81d941c9 ffffea0007232000 ffff8801c8c80140 [ 27.246708] 0000000000000000 ffff8801c8c80140 ffff8801c8e38238 ffff8801c97279e8 [ 27.247950] ffffffff8153db93 ffff8801c8c80140 0000000000000008 0000000000000000 [ 27.249183] Call Trace: [ 27.249563] [] dump_stack+0xc1/0x128 [ 27.250313] [] print_address_description+0x73/0x280 [ 27.251261] [] kasan_report+0x275/0x360 [ 27.252029] [] ? sg_remove_request+0x103/0x120 [ 27.252870] [] __asan_report_load8_noabort+0x14/0x20 [ 27.253798] [] sg_remove_request+0x103/0x120 [ 27.254618] [] sg_finish_rem_req+0x295/0x340 [ 27.255437] [] sg_read+0xa1c/0x1440 [ 27.256208] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.257218] [] ? fsnotify+0xf30/0xf30 [ 27.258005] [] ? avc_policy_seqno+0x9/0x20 [ 27.258827] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.259753] [] ? security_file_permission+0x89/0x1e0 [ 27.261623] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.268259] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.274900] [] do_readv_writev+0x520/0x750 [ 27.280757] [] ? vfs_write+0x530/0x530 [ 27.286269] [] ? __pmd_alloc+0x410/0x410 [ 27.291950] [] ? dev_seq_stop+0x50/0x50 [ 27.297549] [] ? __do_page_fault+0x5ec/0xd40 [ 27.303581] [] vfs_readv+0x84/0xc0 [ 27.308741] [] do_readv+0xe6/0x250 [ 27.313915] [] ? vfs_readv+0xc0/0xc0 [ 27.319264] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 27.325906] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.332719] [] SyS_readv+0x27/0x30 [ 27.337889] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.344447] [ 27.346055] Allocated by task 0: [ 27.349388] (stack is not available) [ 27.353070] [ 27.354666] Freed by task 0: [ 27.357653] (stack is not available) [ 27.361334] [ 27.362933] The buggy address belongs to the object at ffff8801c8c80100 [ 27.362933] which belongs to the cache fasync_cache of size 96 [ 27.375561] The buggy address is located 64 bytes inside of [ 27.375561] 96-byte region [ffff8801c8c80100, ffff8801c8c80160) [ 27.387233] The buggy address belongs to the page: [ 27.392134] page:ffffea0007232000 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.400359] flags: 0x8000000000000080(slab) [ 27.404647] page dumped because: kasan: bad access detected [ 27.410325] [ 27.411923] Memory state around the buggy address: [ 27.416824] ffff8801c8c80000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.424153] ffff8801c8c80080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.431482] >ffff8801c8c80100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.438809] ^ [ 27.444231] ffff8801c8c80180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.451572] ffff8801c8c80200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.458909] ================================================================== [ 27.466239] Disabling lock debugging due to kernel taint [ 27.471768] Kernel panic - not syncing: panic_on_warn set ... [ 27.471768] [ 27.479106] CPU: 1 PID: 3333 Comm: syzkaller678049 Tainted: G B 4.9.77-g033d019 #14 [ 27.488008] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.497339] ffff8801c9727908 ffffffff81d941c9 ffffffff841970ff ffff8801c97279e0 [ 27.505308] 0000000000000000 ffff8801c8c80140 ffff8801c8e38238 ffff8801c97279d0 [ 27.513287] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 27.521259] Call Trace: [ 27.523824] [] dump_stack+0xc1/0x128 [ 27.529159] [] panic+0x1bc/0x3a8 [ 27.534146] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.542346] [] ? preempt_schedule+0x25/0x30 [ 27.548290] [] ? ___preempt_schedule+0x16/0x18 [ 27.554494] [] kasan_end_report+0x50/0x50 [ 27.560262] [] kasan_report+0x167/0x360 [ 27.565869] [] ? sg_remove_request+0x103/0x120 [ 27.572068] [] __asan_report_load8_noabort+0x14/0x20 [ 27.578791] [] sg_remove_request+0x103/0x120 [ 27.584827] [] sg_finish_rem_req+0x295/0x340 [ 27.590858] [] sg_read+0xa1c/0x1440 [ 27.596107] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.602744] [] ? fsnotify+0xf30/0xf30 [ 27.608166] [] ? avc_policy_seqno+0x9/0x20 [ 27.614036] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.621027] [] ? security_file_permission+0x89/0x1e0 [ 27.627751] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.634390] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.641025] [] do_readv_writev+0x520/0x750 [ 27.646879] [] ? vfs_write+0x530/0x530 [ 27.652387] [] ? __pmd_alloc+0x410/0x410 [ 27.658078] [] ? dev_seq_stop+0x50/0x50 [ 27.663687] [] ? __do_page_fault+0x5ec/0xd40 [ 27.669714] [] vfs_readv+0x84/0xc0 [ 27.674886] [] do_readv+0xe6/0x250 [ 27.680047] [] ? vfs_readv+0xc0/0xc0 [ 27.685382] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 27.692017] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.698826] [] SyS_readv+0x27/0x30 [ 27.703985] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.710947] Dumping ftrace buffer: [ 27.714456] (ftrace buffer empty) [ 27.718137] Kernel Offset: disabled [ 27.721735] Rebooting in 86400 seconds..