[....] Starting enhanced syslogd: rsyslogd[ 12.233875] audit: type=1400 audit(1516080311.222:4): avc: denied { syslog } for pid=3177 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.21' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.658995] ================================================================== [ 26.666365] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.673434] Read of size 8 at addr ffff8801c12b1140 by task syzkaller011088/3341 [ 26.680931] [ 26.682531] CPU: 1 PID: 3341 Comm: syzkaller011088 Not tainted 4.9.76-g8dec074 #13 [ 26.690204] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.699532] ffff8801c81b79b0 ffffffff81d93169 ffffea000704ac40 ffff8801c12b1140 [ 26.707536] 0000000000000000 ffff8801c12b1140 ffff8801c8018238 ffff8801c81b79e8 [ 26.715527] ffffffff8153cb43 ffff8801c12b1140 0000000000000008 0000000000000000 [ 26.723485] Call Trace: [ 26.726044] [] dump_stack+0xc1/0x128 [ 26.731376] [] print_address_description+0x73/0x280 [ 26.738007] [] kasan_report+0x275/0x360 [ 26.743599] [] ? sg_remove_request+0x103/0x120 [ 26.749797] [] __asan_report_load8_noabort+0x14/0x20 [ 26.756514] [] sg_remove_request+0x103/0x120 [ 26.762543] [] sg_finish_rem_req+0x295/0x340 [ 26.768572] [] sg_read+0xa1c/0x1440 [ 26.773815] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.780446] [] ? fsnotify+0xf30/0xf30 [ 26.785866] [] ? avc_policy_seqno+0x9/0x20 [ 26.791719] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.798700] [] ? security_file_permission+0x89/0x1e0 [ 26.805418] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.812049] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.818687] [] do_readv_writev+0x520/0x750 [ 26.824542] [] ? vfs_write+0x530/0x530 [ 26.830047] [] ? __pmd_alloc+0x410/0x410 [ 26.835728] [] ? __do_page_fault+0x5ec/0xd40 [ 26.841752] [] vfs_readv+0x84/0xc0 [ 26.846908] [] do_readv+0xe6/0x250 [ 26.852064] [] ? vfs_readv+0xc0/0xc0 [ 26.857394] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 26.864028] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.870838] [] SyS_readv+0x27/0x30 [ 26.875996] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 26.882542] [ 26.884141] Allocated by task 0: [ 26.887474] (stack is not available) [ 26.891149] [ 26.892751] Freed by task 0: [ 26.895735] (stack is not available) [ 26.899413] [ 26.901007] The buggy address belongs to the object at ffff8801c12b1100 [ 26.901007] which belongs to the cache fasync_cache of size 96 [ 26.913630] The buggy address is located 64 bytes inside of [ 26.913630] 96-byte region [ffff8801c12b1100, ffff8801c12b1160) [ 26.925294] The buggy address belongs to the page: [ 26.930193] page:ffffea000704ac40 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.938417] flags: 0x8000000000000080(slab) [ 26.942702] page dumped because: kasan: bad access detected [ 26.948377] [ 26.949981] Memory state around the buggy address: [ 26.954879] ffff8801c12b1000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.962205] ffff8801c12b1080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.969534] >ffff8801c12b1100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.976861] ^ [ 26.982284] ffff8801c12b1180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.989611] ffff8801c12b1200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.996933] ================================================================== [ 27.004261] Disabling lock debugging due to kernel taint [ 27.009823] Kernel panic - not syncing: panic_on_warn set ... [ 27.009823] [ 27.017166] CPU: 1 PID: 3341 Comm: syzkaller011088 Tainted: G B 4.9.76-g8dec074 #13 [ 27.026057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.035381] ffff8801c81b7908 ffffffff81d93169 ffffffff84195c2f ffff8801c81b79e0 [ 27.043346] 0000000000000000 ffff8801c12b1140 ffff8801c8018238 ffff8801c81b79d0 [ 27.051303] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 27.059264] Call Trace: [ 27.061819] [] dump_stack+0xc1/0x128 [ 27.067151] [] panic+0x1bc/0x3a8 [ 27.072139] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.080337] [] ? preempt_schedule+0x25/0x30 [ 27.086274] [] ? ___preempt_schedule+0x16/0x18 [ 27.092474] [] kasan_end_report+0x50/0x50 [ 27.098237] [] kasan_report+0x167/0x360 [ 27.103828] [] ? sg_remove_request+0x103/0x120 [ 27.110026] [] __asan_report_load8_noabort+0x14/0x20 [ 27.116753] [] sg_remove_request+0x103/0x120 [ 27.122779] [] sg_finish_rem_req+0x295/0x340 [ 27.128804] [] sg_read+0xa1c/0x1440 [ 27.134047] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.140686] [] ? fsnotify+0xf30/0xf30 [ 27.146105] [] ? avc_policy_seqno+0x9/0x20 [ 27.151960] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.158942] [] ? security_file_permission+0x89/0x1e0 [ 27.165666] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.172300] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.178937] [] do_readv_writev+0x520/0x750 [ 27.184792] [] ? vfs_write+0x530/0x530 [ 27.190296] [] ? __pmd_alloc+0x410/0x410 [ 27.195975] [] ? __do_page_fault+0x5ec/0xd40 [ 27.202000] [] vfs_readv+0x84/0xc0 [ 27.207157] [] do_readv+0xe6/0x250 [ 27.212315] [] ? vfs_readv+0xc0/0xc0 [ 27.217649] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.224284] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.231099] [] SyS_readv+0x27/0x30 [ 27.236258] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.243267] Dumping ftrace buffer: [ 27.246777] (ftrace buffer empty) [ 27.250459] Kernel Offset: disabled [ 27.254055] Rebooting in 86400 seconds..