[....] Starting enhanced syslogd: rsyslogd[ 10.511187] audit: type=1400 audit(1515323680.530: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 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.31' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.566557] ================================================================== [ 34.567740] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 34.568689] Read of size 8 at addr ffff8801bfc15140 by task syzkaller512258/3335 [ 34.569672] [ 34.569904] CPU: 1 PID: 3335 Comm: syzkaller512258 Not tainted 4.9.75-g5f5e5d4 #7 [ 34.570918] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.572219] ffff8801ca1cfab0 ffffffff81d93049 ffffea0006ff0540 ffff8801bfc15140 [ 34.573456] 0000000000000000 ffff8801bfc15140 ffff8801cdb70238 ffff8801ca1cfae8 [ 34.574700] ffffffff8153ca53 ffff8801bfc15140 0000000000000008 0000000000000000 [ 34.575974] Call Trace: [ 34.576334] [] dump_stack+0xc1/0x128 [ 34.577455] [] print_address_description+0x73/0x280 [ 34.578743] [] kasan_report+0x275/0x360 [ 34.579965] [] ? sg_remove_request+0x103/0x120 [ 34.581606] [] __asan_report_load8_noabort+0x14/0x20 [ 34.582899] [] sg_remove_request+0x103/0x120 [ 34.584483] [] sg_finish_rem_req+0x295/0x340 [ 34.585621] [] sg_read+0xa1c/0x1440 [ 34.586604] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.594998] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 34.604680] [] ? fasync_helper+0x37/0xb0 [ 34.612546] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.621089] [] __vfs_read+0x103/0x670 [ 34.628592] [] ? default_llseek+0x290/0x290 [ 34.636703] [] ? fsnotify+0x86/0xf30 [ 34.643950] [] ? fsnotify+0xf30/0xf30 [ 34.651513] [] ? avc_policy_seqno+0x9/0x20 [ 34.659017] [] ? selinux_file_permission+0x82/0x460 [ 34.667906] [] ? security_file_permission+0x89/0x1e0 [ 34.674631] [] ? rw_verify_area+0xe5/0x2b0 [ 34.680485] [] vfs_read+0x11e/0x380 [ 34.685728] [] SyS_read+0xd9/0x1b0 [ 34.690884] [] ? vfs_copy_file_range+0x740/0x740 [ 34.697258] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 34.704060] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.710618] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 34.717173] [ 34.718767] Allocated by task 0: [ 34.722097] (stack is not available) [ 34.725775] [ 34.727365] Freed by task 0: [ 34.730345] (stack is not available) [ 34.734022] [ 34.735617] The buggy address belongs to the object at ffff8801bfc15100 [ 34.735617] which belongs to the cache fasync_cache of size 96 [ 34.748239] The buggy address is located 64 bytes inside of [ 34.748239] 96-byte region [ffff8801bfc15100, ffff8801bfc15160) [ 34.759903] The buggy address belongs to the page: [ 34.764799] page:ffffea0006ff0540 count:1 mapcount:0 mapping: (null) index:0x0 [ 34.773018] flags: 0x8000000000000080(slab) [ 34.777304] page dumped because: kasan: bad access detected [ 34.782976] [ 34.784568] Memory state around the buggy address: [ 34.789462] ffff8801bfc15000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 34.796796] ffff8801bfc15080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.804120] >ffff8801bfc15100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.811452] ^ [ 34.816867] ffff8801bfc15180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.824193] ffff8801bfc15200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.831515] ================================================================== [ 34.838837] Disabling lock debugging due to kernel taint [ 34.844457] Kernel panic - not syncing: panic_on_warn set ... [ 34.844457] [ 34.851790] CPU: 1 PID: 3335 Comm: syzkaller512258 Tainted: G B 4.9.75-g5f5e5d4 #7 [ 34.860590] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.869914] ffff8801ca1cfa08 ffffffff81d93049 ffffffff84195be7 ffff8801ca1cfae0 [ 34.877866] 0000000000000000 ffff8801bfc15140 ffff8801cdb70238 ffff8801ca1cfad0 [ 34.885812] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 34.893764] Call Trace: [ 34.896321] [] dump_stack+0xc1/0x128 [ 34.901664] [] panic+0x1bc/0x3a8 [ 34.906649] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 34.914846] [] ? preempt_schedule+0x25/0x30 [ 34.920784] [] ? ___preempt_schedule+0x16/0x18 [ 34.926991] [] kasan_end_report+0x50/0x50 [ 34.932753] [] kasan_report+0x167/0x360 [ 34.938342] [] ? sg_remove_request+0x103/0x120 [ 34.944550] [] __asan_report_load8_noabort+0x14/0x20 [ 34.951269] [] sg_remove_request+0x103/0x120 [ 34.957292] [] sg_finish_rem_req+0x295/0x340 [ 34.963317] [] sg_read+0xa1c/0x1440 [ 34.968560] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.975198] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 34.982178] [] ? fasync_helper+0x37/0xb0 [ 34.987867] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.994500] [] __vfs_read+0x103/0x670 [ 34.999917] [] ? default_llseek+0x290/0x290 [ 35.005869] [] ? fsnotify+0x86/0xf30 [ 35.011199] [] ? fsnotify+0xf30/0xf30 [ 35.016617] [] ? avc_policy_seqno+0x9/0x20 [ 35.022468] [] ? selinux_file_permission+0x82/0x460 [ 35.029104] [] ? security_file_permission+0x89/0x1e0 [ 35.035827] [] ? rw_verify_area+0xe5/0x2b0 [ 35.041676] [] vfs_read+0x11e/0x380 [ 35.046920] [] SyS_read+0xd9/0x1b0 [ 35.052075] [] ? vfs_copy_file_range+0x740/0x740 [ 35.058449] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 35.065258] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 35.071815] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 35.078757] Dumping ftrace buffer: [ 35.082263] (ftrace buffer empty) [ 35.085939] Kernel Offset: disabled [ 35.089532] Rebooting in 86400 seconds..