[....] Starting enhanced syslogd: rsyslogd[ 13.259526] audit: type=1400 audit(1515382007.066:4): avc: denied { syslog } for pid=3174 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.242' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 20.826038] ================================================================== [ 20.833420] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.840487] Read of size 8 at addr ffff8801c1b84240 by task syzkaller855130/3324 [ 20.847981] [ 20.849575] CPU: 0 PID: 3324 Comm: syzkaller855130 Not tainted 4.9.75-g5f5e5d4 #17 [ 20.857242] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.866561] ffff8801c8d0fa50 ffffffff81d93049 ffffea000706e100 ffff8801c1b84240 [ 20.874511] 0000000000000000 ffff8801c1b84240 ffff8801ced28238 ffff8801c8d0fa88 [ 20.882468] ffffffff8153ca53 ffff8801c1b84240 0000000000000008 0000000000000000 [ 20.890415] Call Trace: [ 20.892969] [] dump_stack+0xc1/0x128 [ 20.898306] [] print_address_description+0x73/0x280 [ 20.904934] [] kasan_report+0x275/0x360 [ 20.910522] [] ? sg_remove_request+0x103/0x120 [ 20.916718] [] __asan_report_load8_noabort+0x14/0x20 [ 20.923436] [] sg_remove_request+0x103/0x120 [ 20.929458] [] sg_finish_rem_req+0x295/0x340 [ 20.935480] [] sg_read+0xa1c/0x1440 [ 20.940719] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.947357] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.954333] [] ? vma_set_page_prot+0x10f/0x180 [ 20.960527] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.967161] [] __vfs_read+0x103/0x670 [ 20.972575] [] ? default_llseek+0x290/0x290 [ 20.978510] [] ? fsnotify+0x86/0xf30 [ 20.983838] [] ? fsnotify+0xf30/0xf30 [ 20.989252] [] ? avc_policy_seqno+0x9/0x20 [ 20.995099] [] ? selinux_file_permission+0x82/0x460 [ 21.001729] [] ? security_file_permission+0x89/0x1e0 [ 21.008447] [] ? rw_verify_area+0xe5/0x2b0 [ 21.014301] [] vfs_read+0x11e/0x380 [ 21.019541] [] SyS_read+0xd9/0x1b0 [ 21.024695] [] ? vfs_copy_file_range+0x740/0x740 [ 21.031065] [] ? do_fast_syscall_32+0xcf/0x890 [ 21.037260] [] ? vfs_copy_file_range+0x740/0x740 [ 21.043633] [] do_fast_syscall_32+0x2f7/0x890 [ 21.049745] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 21.056380] [] entry_SYSENTER_compat+0x74/0x83 [ 21.062571] [ 21.064162] Allocated by task 0: [ 21.067487] (stack is not available) [ 21.071159] [ 21.072749] Freed by task 0: [ 21.075727] (stack is not available) [ 21.079400] [ 21.080996] The buggy address belongs to the object at ffff8801c1b84200 [ 21.080996] which belongs to the cache fasync_cache of size 96 [ 21.093619] The buggy address is located 64 bytes inside of [ 21.093619] 96-byte region [ffff8801c1b84200, ffff8801c1b84260) [ 21.105279] The buggy address belongs to the page: [ 21.110173] page:ffffea000706e100 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.118928] flags: 0x8000000000000080(slab) [ 21.123215] page dumped because: kasan: bad access detected [ 21.128889] [ 21.130480] Memory state around the buggy address: [ 21.135372] ffff8801c1b84100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.142694] ffff8801c1b84180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.150017] >ffff8801c1b84200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.157345] ^ [ 21.162755] ffff8801c1b84280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.170078] ffff8801c1b84300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc executing program [ 21.177398] ================================================================== [ 21.184717] Disabling lock debugging due to kernel taint [ 21.190459] Kernel panic - not syncing: panic_on_warn set ... [ 21.190459] [ 21.197810] CPU: 0 PID: 3324 Comm: syzkaller855130 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 21.206697] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.216017] ffff8801c8d0f9a8 ffffffff81d93049 ffffffff84195be7 ffff8801c8d0fa80 [ 21.223984] 0000000000000000 ffff8801c1b84240 ffff8801ced28238 ffff8801c8d0fa70 [ 21.231938] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 21.239881] Call Trace: [ 21.242440] [] dump_stack+0xc1/0x128 [ 21.247771] [] panic+0x1bc/0x3a8 [ 21.252754] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.260950] [] ? preempt_schedule+0x25/0x30 [ 21.266888] [] ? ___preempt_schedule+0x16/0x18 [ 21.273086] [] kasan_end_report+0x50/0x50 [ 21.278849] [] kasan_report+0x167/0x360 [ 21.284442] [] ? sg_remove_request+0x103/0x120 [ 21.290638] [] __asan_report_load8_noabort+0x14/0x20 [ 21.297354] [] sg_remove_request+0x103/0x120 [ 21.303378] [] sg_finish_rem_req+0x295/0x340 [ 21.309399] [] sg_read+0xa1c/0x1440 [ 21.314641] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.321271] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 21.328248] [] ? vma_set_page_prot+0x10f/0x180 [ 21.334443] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.341075] [] __vfs_read+0x103/0x670 [ 21.346493] [] ? default_llseek+0x290/0x290 [ 21.352430] [] ? fsnotify+0x86/0xf30 [ 21.357760] [] ? fsnotify+0xf30/0xf30 [ 21.363175] [] ? avc_policy_seqno+0x9/0x20 [ 21.369030] [] ? selinux_file_permission+0x82/0x460 [ 21.375661] [] ? security_file_permission+0x89/0x1e0 [ 21.382378] [] ? rw_verify_area+0xe5/0x2b0 [ 21.388226] [] vfs_read+0x11e/0x380 [ 21.393468] [] SyS_read+0xd9/0x1b0 [ 21.398624] [] ? vfs_copy_file_range+0x740/0x740 [ 21.404994] [] ? do_fast_syscall_32+0xcf/0x890 [ 21.411192] [] ? vfs_copy_file_range+0x740/0x740 [ 21.417561] [] do_fast_syscall_32+0x2f7/0x890 [ 21.423672] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 21.430303] [] entry_SYSENTER_compat+0x74/0x83 [ 21.436919] Dumping ftrace buffer: [ 21.440427] (ftrace buffer empty) [ 21.444101] Kernel Offset: disabled [ 21.447692] Rebooting in 86400 seconds..