[....] Starting enhanced syslogd: rsyslogd[ 10.777083] audit: type=1400 audit(1515613282.723:4): avc: denied { syslog } for pid=3179 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.216' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.490728] ================================================================== [ 26.491857] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.492803] Read of size 8 at addr ffff8801c89c2140 by task syzkaller582789/3336 [ 26.493796] [ 26.494039] CPU: 0 PID: 3336 Comm: syzkaller582789 Not tainted 4.9.76-g9154940 #20 [ 26.495063] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.496404] ffff8801cd04fa50 ffffffff81d93149 ffffea0007227080 ffff8801c89c2140 [ 26.497528] 0000000000000000 ffff8801c89c2140 ffff8801c8aa4438 ffff8801cd04fa88 [ 26.498671] ffffffff8153cb43 ffff8801c89c2140 0000000000000008 0000000000000000 [ 26.499794] Call Trace: [ 26.500152] [] dump_stack+0xc1/0x128 [ 26.500885] [] print_address_description+0x73/0x280 [ 26.501776] [] kasan_report+0x275/0x360 [ 26.502528] [] ? sg_remove_request+0x103/0x120 [ 26.503348] [] __asan_report_load8_noabort+0x14/0x20 [ 26.504235] [] sg_remove_request+0x103/0x120 [ 26.505044] [] sg_finish_rem_req+0x295/0x340 [ 26.505840] [] sg_read+0xa1c/0x1440 [ 26.506560] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.507438] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.508281] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.509203] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.510078] [] __vfs_read+0x103/0x670 [ 26.510807] [] ? default_llseek+0x290/0x290 [ 26.512932] [] ? fsnotify+0x86/0xf30 [ 26.518257] [] ? fsnotify+0xf30/0xf30 [ 26.523690] [] ? avc_policy_seqno+0x9/0x20 [ 26.529546] [] ? selinux_file_permission+0x82/0x460 [ 26.536177] [] ? security_file_permission+0x89/0x1e0 [ 26.542894] [] ? rw_verify_area+0xe5/0x2b0 [ 26.548744] [] vfs_read+0x11e/0x380 [ 26.553996] [] SyS_read+0xd9/0x1b0 [ 26.559170] [] ? vfs_copy_file_range+0x740/0x740 [ 26.565548] [] ? do_fast_syscall_32+0xcf/0x890 [ 26.571744] [] ? vfs_copy_file_range+0x740/0x740 [ 26.578124] [] do_fast_syscall_32+0x2f7/0x890 [ 26.584235] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.590868] [] entry_SYSENTER_compat+0x74/0x83 [ 26.597061] [ 26.598653] Allocated by task 0: [ 26.601979] (stack is not available) [ 26.605652] [ 26.607243] Freed by task 0: [ 26.610222] (stack is not available) [ 26.613895] [ 26.615488] The buggy address belongs to the object at ffff8801c89c2100 [ 26.615488] which belongs to the cache fasync_cache of size 96 [ 26.628108] The buggy address is located 64 bytes inside of [ 26.628108] 96-byte region [ffff8801c89c2100, ffff8801c89c2160) [ 26.639770] The buggy address belongs to the page: [ 26.644664] page:ffffea0007227080 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.652883] flags: 0x8000000000000080(slab) [ 26.657262] page dumped because: kasan: bad access detected [ 26.662944] [ 26.664535] Memory state around the buggy address: [ 26.669433] ffff8801c89c2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.676757] ffff8801c89c2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.684085] >ffff8801c89c2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.691408] ^ [ 26.696833] ffff8801c89c2180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.704157] ffff8801c89c2200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.711478] ================================================================== [ 26.718801] Disabling lock debugging due to kernel taint [ 26.724618] Kernel panic - not syncing: panic_on_warn set ... [ 26.724618] [ 26.731959] CPU: 0 PID: 3336 Comm: syzkaller582789 Tainted: G B 4.9.76-g9154940 #20 [ 26.740853] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.750174] ffff8801cd04f9a8 ffffffff81d93149 ffffffff84195c17 ffff8801cd04fa80 [ 26.758121] 0000000000000000 ffff8801c89c2140 ffff8801c8aa4438 ffff8801cd04fa70 [ 26.766066] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 26.774014] Call Trace: [ 26.776567] [] dump_stack+0xc1/0x128 [ 26.781898] [] panic+0x1bc/0x3a8 [ 26.786879] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 26.795072] [] ? preempt_schedule+0x25/0x30 [ 26.801009] [] ? ___preempt_schedule+0x16/0x18 [ 26.807207] [] kasan_end_report+0x50/0x50 [ 26.812969] [] kasan_report+0x167/0x360 [ 26.818559] [] ? sg_remove_request+0x103/0x120 [ 26.825400] [] __asan_report_load8_noabort+0x14/0x20 [ 26.832126] [] sg_remove_request+0x103/0x120 [ 26.838156] [] sg_finish_rem_req+0x295/0x340 [ 26.844176] [] sg_read+0xa1c/0x1440 [ 26.849423] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.856056] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.862430] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.869235] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.875867] [] __vfs_read+0x103/0x670 [ 26.881285] [] ? default_llseek+0x290/0x290 [ 26.887227] [] ? fsnotify+0x86/0xf30 [ 26.892557] [] ? fsnotify+0xf30/0xf30 [ 26.897974] [] ? avc_policy_seqno+0x9/0x20 [ 26.903822] [] ? selinux_file_permission+0x82/0x460 [ 26.910455] [] ? security_file_permission+0x89/0x1e0 [ 26.917176] [] ? rw_verify_area+0xe5/0x2b0 [ 26.923025] [] vfs_read+0x11e/0x380 [ 26.928288] [] SyS_read+0xd9/0x1b0 [ 26.933442] [] ? vfs_copy_file_range+0x740/0x740 [ 26.939816] [] ? do_fast_syscall_32+0xcf/0x890 [ 26.946012] [] ? vfs_copy_file_range+0x740/0x740 [ 26.952382] [] do_fast_syscall_32+0x2f7/0x890 [ 26.958501] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.965134] [] entry_SYSENTER_compat+0x74/0x83 [ 26.971386] Dumping ftrace buffer: [ 26.974892] (ftrace buffer empty) [ 26.978568] Kernel Offset: disabled [ 26.982166] Rebooting in 86400 seconds..