[....] Starting enhanced syslogd: rsyslogd[ 10.385118] audit: type=1400 audit(1515520076.132:4): avc: denied { syslog } for pid=3183 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.53' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 31.701220] ================================================================== [ 31.702291] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 31.703234] Read of size 8 at addr ffff8801c7cf6340 by task syzkaller528077/3349 [ 31.704218] [ 31.704451] CPU: 1 PID: 3349 Comm: syzkaller528077 Not tainted 4.9.75-g8910fa5 #9 [ 31.705456] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.706676] ffff8801cbd579b0 ffffffff81d93049 ffffea00071f3d80 ffff8801c7cf6340 [ 31.707815] 0000000000000000 ffff8801c7cf6340 ffff8801ca078238 ffff8801cbd579e8 [ 31.708945] ffffffff8153ca53 ffff8801c7cf6340 0000000000000008 0000000000000000 [ 31.710069] Call Trace: [ 31.710424] [] dump_stack+0xc1/0x128 [ 31.711133] [] print_address_description+0x73/0x280 [ 31.712008] [] kasan_report+0x275/0x360 [ 31.712747] [] ? sg_remove_request+0x103/0x120 [ 31.713567] [] __asan_report_load8_noabort+0x14/0x20 [ 31.714452] [] sg_remove_request+0x103/0x120 [ 31.715281] [] sg_finish_rem_req+0x295/0x340 [ 31.716077] [] sg_read+0xa1c/0x1440 [ 31.716774] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.717649] [] ? fsnotify+0xf30/0xf30 [ 31.718367] [] ? avc_policy_seqno+0x9/0x20 [ 31.719142] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.720062] [] ? security_file_permission+0x89/0x1e0 [ 31.720945] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.725093] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.731722] [] do_readv_writev+0x520/0x750 [ 31.737569] [] ? vfs_write+0x530/0x530 [ 31.743070] [] ? __fget+0x201/0x3a0 [ 31.748310] [] ? __fget+0x228/0x3a0 [ 31.753547] [] ? __fget+0x47/0x3a0 [ 31.758698] [] vfs_readv+0x84/0xc0 [ 31.763848] [] do_readv+0xe6/0x250 [ 31.769000] [] ? vfs_readv+0xc0/0xc0 [ 31.774675] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 31.781310] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.788115] [] SyS_readv+0x27/0x30 [ 31.793273] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 31.799813] [ 31.801404] Allocated by task 0: [ 31.804733] (stack is not available) [ 31.808409] [ 31.809999] Freed by task 0: [ 31.812976] (stack is not available) [ 31.816648] [ 31.818241] The buggy address belongs to the object at ffff8801c7cf6300 [ 31.818241] which belongs to the cache fasync_cache of size 96 [ 31.830859] The buggy address is located 64 bytes inside of [ 31.830859] 96-byte region [ffff8801c7cf6300, ffff8801c7cf6360) [ 31.842520] The buggy address belongs to the page: [ 31.847411] page:ffffea00071f3d80 count:1 mapcount:0 mapping: (null) index:0x0 [ 31.855626] flags: 0x8000000000000080(slab) [ 31.859910] page dumped because: kasan: bad access detected [ 31.865582] [ 31.867170] Memory state around the buggy address: [ 31.872061] ffff8801c7cf6200: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 31.879384] ffff8801c7cf6280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.886706] >ffff8801c7cf6300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.894025] ^ executing program [ 31.899438] ffff8801c7cf6380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.906759] ffff8801c7cf6400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.914079] ================================================================== [ 31.921414] Disabling lock debugging due to kernel taint [ 31.927166] Kernel panic - not syncing: panic_on_warn set ... [ 31.927166] [ 31.934502] CPU: 1 PID: 3349 Comm: syzkaller528077 Tainted: G B 4.9.75-g8910fa5 #9 [ 31.943301] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.952621] ffff8801cbd57908 ffffffff81d93049 ffffffff84195be7 ffff8801cbd579e0 [ 31.960572] 0000000000000000 ffff8801c7cf6340 ffff8801ca078238 ffff8801cbd579d0 [ 31.968518] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 31.976457] Call Trace: [ 31.979010] [] dump_stack+0xc1/0x128 [ 31.984345] [] panic+0x1bc/0x3a8 [ 31.989331] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 31.997527] [] ? preempt_schedule+0x25/0x30 [ 32.003461] [] ? ___preempt_schedule+0x16/0x18 [ 32.009658] [] kasan_end_report+0x50/0x50 [ 32.015420] [] kasan_report+0x167/0x360 [ 32.021006] [] ? sg_remove_request+0x103/0x120 [ 32.027202] [] __asan_report_load8_noabort+0x14/0x20 [ 32.033918] [] sg_remove_request+0x103/0x120 [ 32.039937] [] sg_finish_rem_req+0x295/0x340 [ 32.045961] [] sg_read+0xa1c/0x1440 [ 32.051200] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.057831] [] ? fsnotify+0xf30/0xf30 [ 32.063245] [] ? avc_policy_seqno+0x9/0x20 [ 32.069107] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 32.076082] [] ? security_file_permission+0x89/0x1e0 [ 32.082805] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.089436] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.096067] [] do_readv_writev+0x520/0x750 [ 32.101924] [] ? vfs_write+0x530/0x530 [ 32.107425] [] ? __fget+0x201/0x3a0 [ 32.112667] [] ? __fget+0x228/0x3a0 [ 32.117904] [] ? __fget+0x47/0x3a0 [ 32.123066] [] vfs_readv+0x84/0xc0 [ 32.128222] [] do_readv+0xe6/0x250 [ 32.133379] [] ? vfs_readv+0xc0/0xc0 [ 32.138706] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 32.145335] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 32.152137] [] SyS_readv+0x27/0x30 [ 32.157297] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 32.164213] Dumping ftrace buffer: [ 32.167717] (ftrace buffer empty) [ 32.171392] Kernel Offset: disabled [ 32.174982] Rebooting in 86400 seconds..