[....] Starting enhanced syslogd: rsyslogd[ 11.698363] audit: type=1400 audit(1516610155.534:4): avc: denied { syslog } for pid=3169 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 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.15.201' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 20.163897] ================================================================== [ 20.171295] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.178367] Read of size 8 at addr ffff8801cd5a8140 by task syzkaller676058/3318 [ 20.185865] [ 20.187466] CPU: 1 PID: 3318 Comm: syzkaller676058 Not tainted 4.9.77-ge12a9c4 #18 [ 20.195139] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.204475] ffff8801c8d1f9b0 ffffffff81d941c9 ffffea0007356a00 ffff8801cd5a8140 [ 20.212447] 0000000000000000 ffff8801cd5a8140 ffff8801c92b0238 ffff8801c8d1f9e8 [ 20.220419] ffffffff8153db93 ffff8801cd5a8140 0000000000000008 0000000000000000 [ 20.228383] Call Trace: [ 20.230952] [] dump_stack+0xc1/0x128 [ 20.236289] [] print_address_description+0x73/0x280 [ 20.242939] [] kasan_report+0x275/0x360 [ 20.248537] [] ? sg_remove_request+0x103/0x120 [ 20.254739] [] __asan_report_load8_noabort+0x14/0x20 [ 20.261460] [] sg_remove_request+0x103/0x120 [ 20.267487] [] sg_finish_rem_req+0x295/0x340 [ 20.273524] [] sg_read+0xa1c/0x1440 [ 20.278770] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.285404] [] ? fsnotify+0xf30/0xf30 [ 20.290836] [] ? avc_policy_seqno+0x9/0x20 [ 20.296691] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.303673] [] ? security_file_permission+0x89/0x1e0 [ 20.310394] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.317026] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.323660] [] do_readv_writev+0x520/0x750 [ 20.329521] [] ? vfs_write+0x530/0x530 [ 20.335029] [] ? __pmd_alloc+0x410/0x410 [ 20.340709] [] ? dev_seq_stop+0x50/0x50 [ 20.346308] [] ? __do_page_fault+0x5ec/0xd40 [ 20.352335] [] vfs_readv+0x84/0xc0 [ 20.357493] [] do_readv+0xe6/0x250 [ 20.362654] [] ? vfs_readv+0xc0/0xc0 [ 20.367987] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 20.374624] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.381432] [] SyS_readv+0x27/0x30 [ 20.386589] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.393131] [ 20.394727] Allocated by task 0: [ 20.398059] (stack is not available) [ 20.401738] [ 20.403332] Freed by task 0: [ 20.406314] (stack is not available) [ 20.409993] [ 20.411590] The buggy address belongs to the object at ffff8801cd5a8100 [ 20.411590] which belongs to the cache fasync_cache of size 96 [ 20.424212] The buggy address is located 64 bytes inside of [ 20.424212] 96-byte region [ffff8801cd5a8100, ffff8801cd5a8160) [ 20.435876] The buggy address belongs to the page: [ 20.440774] page:ffffea0007356a00 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.449000] flags: 0x8000000000000080(slab) [ 20.453286] page dumped because: kasan: bad access detected [ 20.458960] [ 20.460561] Memory state around the buggy address: [ 20.465459] ffff8801cd5a8000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.472786] ffff8801cd5a8080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.480112] >ffff8801cd5a8100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.487442] ^ [ 20.492861] ffff8801cd5a8180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.500189] ffff8801cd5a8200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.507516] ================================================================== [ 20.514846] Disabling lock debugging due to kernel taint [ 20.520389] Kernel panic - not syncing: panic_on_warn set ... [ 20.520389] [ 20.527737] CPU: 1 PID: 3318 Comm: syzkaller676058 Tainted: G B 4.9.77-ge12a9c4 #18 [ 20.536630] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.545964] ffff8801c8d1f908 ffffffff81d941c9 ffffffff841970ff ffff8801c8d1f9e0 [ 20.553931] 0000000000000000 ffff8801cd5a8140 ffff8801c92b0238 ffff8801c8d1f9d0 [ 20.561899] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 20.569871] Call Trace: [ 20.572430] [] dump_stack+0xc1/0x128 [ 20.577766] [] panic+0x1bc/0x3a8 [ 20.582752] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.590960] [] ? preempt_schedule+0x25/0x30 [ 20.596902] [] ? ___preempt_schedule+0x16/0x18 [ 20.603113] [] kasan_end_report+0x50/0x50 [ 20.608894] [] kasan_report+0x167/0x360 [ 20.614497] [] ? sg_remove_request+0x103/0x120 [ 20.620700] [] __asan_report_load8_noabort+0x14/0x20 [ 20.627418] [] sg_remove_request+0x103/0x120 [ 20.633443] [] sg_finish_rem_req+0x295/0x340 [ 20.639467] [] sg_read+0xa1c/0x1440 [ 20.644711] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.651356] [] ? fsnotify+0xf30/0xf30 [ 20.656790] [] ? avc_policy_seqno+0x9/0x20 [ 20.662647] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.669632] [] ? security_file_permission+0x89/0x1e0 [ 20.676354] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.682990] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.689625] [] do_readv_writev+0x520/0x750 [ 20.695477] [] ? vfs_write+0x530/0x530 [ 20.700983] [] ? __pmd_alloc+0x410/0x410 [ 20.706662] [] ? dev_seq_stop+0x50/0x50 [ 20.712257] [] ? __do_page_fault+0x5ec/0xd40 [ 20.718283] [] vfs_readv+0x84/0xc0 [ 20.723452] [] do_readv+0xe6/0x250 [ 20.728611] [] ? vfs_readv+0xc0/0xc0 [ 20.733945] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 20.740583] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.747392] [] SyS_readv+0x27/0x30 [ 20.752549] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.759646] Dumping ftrace buffer: [ 20.763158] (ftrace buffer empty) [ 20.766840] Kernel Offset: disabled [ 20.770436] Rebooting in 86400 seconds..