[....] Starting enhanced syslogd: rsyslogd[ 12.322672] audit: type=1400 audit(1515374135.776:4): avc: denied { syslog } for pid=3170 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.15.239' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.914276] ================================================================== [ 31.921677] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 31.928748] Read of size 8 at addr ffff8801cd773140 by task syzkaller738865/3334 [ 31.936247] [ 31.937844] CPU: 0 PID: 3334 Comm: syzkaller738865 Not tainted 4.9.75-g5f5e5d4 #17 [ 31.945517] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.954840] ffff8801c8107940 ffffffff81d93049 ffffea000735dcc0 ffff8801cd773140 [ 31.962806] 0000000000000000 ffff8801cd773140 ffff8801c8038238 ffff8801c8107978 [ 31.970764] ffffffff8153ca53 ffff8801cd773140 0000000000000008 0000000000000000 [ 31.978722] Call Trace: [ 31.981278] [] dump_stack+0xc1/0x128 [ 31.986631] [] print_address_description+0x73/0x280 [ 31.993262] [] kasan_report+0x275/0x360 [ 31.998853] [] ? sg_remove_request+0x103/0x120 [ 32.005050] [] __asan_report_load8_noabort+0x14/0x20 [ 32.011775] [] sg_remove_request+0x103/0x120 [ 32.017798] [] sg_finish_rem_req+0x295/0x340 [ 32.023827] [] sg_read+0xa1c/0x1440 [ 32.029071] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.035706] [] ? fsnotify+0xf30/0xf30 [ 32.041126] [] ? avc_policy_seqno+0x9/0x20 [ 32.046978] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 32.053964] [] ? security_file_permission+0x89/0x1e0 [ 32.060693] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.067323] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.073958] [] compat_do_readv_writev+0x522/0x760 [ 32.080417] [] ? do_pwritev+0x1a0/0x1a0 [ 32.086014] [] ? _raw_spin_unlock+0x2c/0x50 [ 32.091961] [] ? handle_mm_fault+0x6ee/0x2530 [ 32.098073] [] ? fasync_helper+0x7a/0xb0 [ 32.103756] [] ? __pmd_alloc+0x410/0x410 [ 32.109444] [] compat_readv+0xe3/0x150 [ 32.114949] [] do_compat_readv+0xf4/0x1d0 [ 32.120714] [] ? compat_readv+0x150/0x150 [ 32.126476] [] compat_SyS_readv+0x26/0x30 [ 32.132243] [] ? SyS_pwritev2+0x80/0x80 [ 32.137840] [] do_fast_syscall_32+0x2f7/0x890 [ 32.143957] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.150599] [] entry_SYSENTER_compat+0x74/0x83 [ 32.156799] [ 32.158394] Allocated by task 0: [ 32.161721] (stack is not available) [ 32.165395] [ 32.166986] Freed by task 0: [ 32.169965] (stack is not available) [ 32.173641] [ 32.175240] The buggy address belongs to the object at ffff8801cd773100 [ 32.175240] which belongs to the cache fasync_cache of size 96 [ 32.187867] The buggy address is located 64 bytes inside of [ 32.187867] 96-byte region [ffff8801cd773100, ffff8801cd773160) [ 32.199533] The buggy address belongs to the page: [ 32.204438] page:ffffea000735dcc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 32.212662] flags: 0x8000000000000080(slab) [ 32.216945] page dumped because: kasan: bad access detected [ 32.222628] [ 32.224236] Memory state around the buggy address: [ 32.229145] ffff8801cd773000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 32.236473] ffff8801cd773080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.243799] >ffff8801cd773100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.251124] ^ [ 32.256537] ffff8801cd773180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.263957] ffff8801cd773200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.271297] ================================================================== [ 32.278623] Disabling lock debugging due to kernel taint [ 32.284253] Kernel panic - not syncing: panic_on_warn set ... [ 32.284253] [ 32.291590] CPU: 0 PID: 3334 Comm: syzkaller738865 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 32.300494] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.309817] ffff8801c8107898 ffffffff81d93049 ffffffff84195be7 ffff8801c8107970 [ 32.317870] 0000000000000000 ffff8801cd773140 ffff8801c8038238 ffff8801c8107960 [ 32.325840] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 32.333789] Call Trace: [ 32.336343] [] dump_stack+0xc1/0x128 [ 32.341674] [] panic+0x1bc/0x3a8 [ 32.346670] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 32.354868] [] ? preempt_schedule+0x25/0x30 [ 32.360806] [] ? ___preempt_schedule+0x16/0x18 [ 32.367005] [] kasan_end_report+0x50/0x50 [ 32.372768] [] kasan_report+0x167/0x360 [ 32.378359] [] ? sg_remove_request+0x103/0x120 [ 32.384558] [] __asan_report_load8_noabort+0x14/0x20 [ 32.391284] [] sg_remove_request+0x103/0x120 [ 32.397306] [] sg_finish_rem_req+0x295/0x340 [ 32.403330] [] sg_read+0xa1c/0x1440 [ 32.408574] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.415209] [] ? fsnotify+0xf30/0xf30 [ 32.420627] [] ? avc_policy_seqno+0x9/0x20 [ 32.426491] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 32.433477] [] ? security_file_permission+0x89/0x1e0 [ 32.440205] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.446846] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.453483] [] compat_do_readv_writev+0x522/0x760 [ 32.459957] [] ? do_pwritev+0x1a0/0x1a0 [ 32.465564] [] ? _raw_spin_unlock+0x2c/0x50 [ 32.471512] [] ? handle_mm_fault+0x6ee/0x2530 [ 32.477630] [] ? fasync_helper+0x7a/0xb0 [ 32.483316] [] ? __pmd_alloc+0x410/0x410 [ 32.489003] [] compat_readv+0xe3/0x150 [ 32.494509] [] do_compat_readv+0xf4/0x1d0 [ 32.500274] [] ? compat_readv+0x150/0x150 [ 32.506051] [] compat_SyS_readv+0x26/0x30 [ 32.511817] [] ? SyS_pwritev2+0x80/0x80 [ 32.517407] [] do_fast_syscall_32+0x2f7/0x890 [ 32.523537] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.530172] [] entry_SYSENTER_compat+0x74/0x83 [ 32.536828] Dumping ftrace buffer: [ 32.540347] (ftrace buffer empty) [ 32.544024] Kernel Offset: disabled [ 32.547623] Rebooting in 86400 seconds..