[....] Starting enhanced syslogd: rsyslogd[ 13.929463] audit: type=1400 audit(1516210085.472:4): avc: denied { syslog } for pid=3178 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.0.61' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.566735] ================================================================== [ 26.574148] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.581229] Read of size 8 at addr ffff8801cdabb140 by task syzkaller985513/3334 [ 26.588729] [ 26.590330] CPU: 1 PID: 3334 Comm: syzkaller985513 Not tainted 4.9.77-g033d019 #24 [ 26.598005] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.607332] ffff8801c95e7a50 ffffffff81d941c9 ffffea000736aec0 ffff8801cdabb140 [ 26.615309] 0000000000000000 ffff8801cdabb140 ffff8801c89f8238 ffff8801c95e7a88 [ 26.623279] ffffffff8153db93 ffff8801cdabb140 0000000000000008 0000000000000000 [ 26.631290] Call Trace: [ 26.633860] [] dump_stack+0xc1/0x128 [ 26.639195] [] print_address_description+0x73/0x280 [ 26.645841] [] kasan_report+0x275/0x360 [ 26.651448] [] ? sg_remove_request+0x103/0x120 [ 26.657652] [] __asan_report_load8_noabort+0x14/0x20 [ 26.664401] [] sg_remove_request+0x103/0x120 [ 26.670451] [] sg_finish_rem_req+0x295/0x340 [ 26.676503] [] sg_read+0xa1c/0x1440 [ 26.681751] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.688416] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.694805] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.701635] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.708285] [] __vfs_read+0x103/0x670 [ 26.713711] [] ? default_llseek+0x290/0x290 [ 26.719650] [] ? fsnotify+0x86/0xf30 [ 26.724992] [] ? fsnotify+0xf30/0xf30 [ 26.730415] [] ? avc_policy_seqno+0x9/0x20 [ 26.736268] [] ? selinux_file_permission+0x82/0x460 [ 26.742904] [] ? security_file_permission+0x89/0x1e0 [ 26.749631] [] ? rw_verify_area+0xe5/0x2b0 [ 26.755484] [] vfs_read+0x11e/0x380 [ 26.760739] [] SyS_read+0xd9/0x1b0 [ 26.765899] [] ? vfs_copy_file_range+0x740/0x740 [ 26.772276] [] ? do_fast_syscall_32+0xcf/0x890 [ 26.778480] [] ? vfs_copy_file_range+0x740/0x740 [ 26.784859] [] do_fast_syscall_32+0x2f7/0x890 [ 26.790986] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.797625] [] entry_SYSENTER_compat+0x74/0x83 [ 26.803834] [ 26.805442] Allocated by task 0: [ 26.808772] (stack is not available) [ 26.813406] [ 26.815001] Freed by task 0: [ 26.817993] (stack is not available) [ 26.821682] [ 26.823284] The buggy address belongs to the object at ffff8801cdabb100 [ 26.823284] which belongs to the cache fasync_cache of size 96 [ 26.835908] The buggy address is located 64 bytes inside of [ 26.835908] 96-byte region [ffff8801cdabb100, ffff8801cdabb160) [ 26.847587] The buggy address belongs to the page: [ 26.852506] page:ffffea000736aec0 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.860745] flags: 0x8000000000000080(slab) [ 26.865035] page dumped because: kasan: bad access detected [ 26.870711] [ 26.872305] Memory state around the buggy address: [ 26.877211] ffff8801cdabb000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.884554] ffff8801cdabb080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.891884] >ffff8801cdabb100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.899212] ^ [ 26.904631] ffff8801cdabb180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.911957] ffff8801cdabb200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.919282] ================================================================== [ 26.926614] Disabling lock debugging due to kernel taint [ 26.932333] Kernel panic - not syncing: panic_on_warn set ... [ 26.932333] [ 26.939708] CPU: 1 PID: 3334 Comm: syzkaller985513 Tainted: G B 4.9.77-g033d019 #24 [ 26.948603] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.958018] ffff8801c95e79a8 ffffffff81d941c9 ffffffff841970ff ffff8801c95e7a80 [ 26.965993] 0000000000000000 ffff8801cdabb140 ffff8801c89f8238 ffff8801c95e7a70 [ 26.973981] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 26.981958] Call Trace: [ 26.984523] [] dump_stack+0xc1/0x128 [ 26.989857] [] panic+0x1bc/0x3a8 [ 26.994847] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.003059] [] ? preempt_schedule+0x25/0x30 [ 27.009002] [] ? ___preempt_schedule+0x16/0x18 [ 27.015207] [] kasan_end_report+0x50/0x50 [ 27.020973] [] kasan_report+0x167/0x360 [ 27.026576] [] ? sg_remove_request+0x103/0x120 [ 27.032787] [] __asan_report_load8_noabort+0x14/0x20 [ 27.039508] [] sg_remove_request+0x103/0x120 [ 27.045534] [] sg_finish_rem_req+0x295/0x340 [ 27.051561] [] sg_read+0xa1c/0x1440 [ 27.056810] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.063454] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.069840] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.076652] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.083289] [] __vfs_read+0x103/0x670 [ 27.088716] [] ? default_llseek+0x290/0x290 [ 27.094661] [] ? fsnotify+0x86/0xf30 [ 27.099993] [] ? fsnotify+0xf30/0xf30 [ 27.105416] [] ? avc_policy_seqno+0x9/0x20 [ 27.111269] [] ? selinux_file_permission+0x82/0x460 [ 27.117912] [] ? security_file_permission+0x89/0x1e0 [ 27.124634] [] ? rw_verify_area+0xe5/0x2b0 [ 27.130487] [] vfs_read+0x11e/0x380 [ 27.135734] [] SyS_read+0xd9/0x1b0 [ 27.140893] [] ? vfs_copy_file_range+0x740/0x740 [ 27.147282] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.153497] [] ? vfs_copy_file_range+0x740/0x740 [ 27.159878] [] do_fast_syscall_32+0x2f7/0x890 [ 27.166002] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.172641] [] entry_SYSENTER_compat+0x74/0x83 [ 27.179334] Dumping ftrace buffer: [ 27.182844] (ftrace buffer empty) [ 27.186528] Kernel Offset: disabled [ 27.190126] Rebooting in 86400 seconds..