[....] Starting enhanced syslogd: rsyslogd[ 11.291848] audit: type=1400 audit(1515343060.533:4): avc: denied { syslog } for pid=3172 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.63' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.963011] ================================================================== [ 19.964139] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.965139] Read of size 8 at addr ffff8801c9321140 by task syzkaller869247/3321 [ 19.966206] [ 19.966440] CPU: 0 PID: 3321 Comm: syzkaller869247 Not tainted 4.9.75-g5f5e5d4 #17 [ 19.967466] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.968685] ffff8801c8e1fa50 ffffffff81d93049 ffffea000724c840 ffff8801c9321140 [ 19.969816] 0000000000000000 ffff8801c9321140 ffff8801c964a338 ffff8801c8e1fa88 [ 19.971005] ffffffff8153ca53 ffff8801c9321140 0000000000000008 0000000000000000 [ 19.972177] Call Trace: [ 19.972535] [] dump_stack+0xc1/0x128 [ 19.973277] [] print_address_description+0x73/0x280 [ 19.974152] [] kasan_report+0x275/0x360 [ 19.974894] [] ? sg_remove_request+0x103/0x120 [ 19.975725] [] __asan_report_load8_noabort+0x14/0x20 [ 19.976633] [] sg_remove_request+0x103/0x120 [ 19.977431] [] sg_finish_rem_req+0x295/0x340 [ 19.978228] [] sg_read+0xa1c/0x1440 [ 19.978927] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.979802] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.980693] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.981514] [] ? fasync_insert_entry+0x147/0x2e0 [ 19.982389] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.984139] [] __vfs_read+0x103/0x670 [ 19.989555] [] ? default_llseek+0x290/0x290 [ 19.995494] [] ? fsnotify+0x86/0xf30 [ 20.000831] [] ? fsnotify+0xf30/0xf30 [ 20.006251] [] ? avc_policy_seqno+0x9/0x20 [ 20.012111] [] ? selinux_file_permission+0x82/0x460 [ 20.018742] [] ? security_file_permission+0x89/0x1e0 [ 20.025463] [] ? rw_verify_area+0xe5/0x2b0 [ 20.031313] [] vfs_read+0x11e/0x380 [ 20.036561] [] SyS_read+0xd9/0x1b0 [ 20.041717] [] ? vfs_copy_file_range+0x740/0x740 [ 20.048101] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 20.054219] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.060417] [] ? vfs_copy_file_range+0x740/0x740 [ 20.066794] [] do_fast_syscall_32+0x2f7/0x890 [ 20.072902] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.079536] [] entry_SYSENTER_compat+0x74/0x83 [ 20.085729] [ 20.087325] Allocated by task 0: [ 20.090663] (stack is not available) [ 20.094337] [ 20.095939] Freed by task 0: [ 20.098924] (stack is not available) [ 20.102598] [ 20.104192] The buggy address belongs to the object at ffff8801c9321100 [ 20.104192] which belongs to the cache fasync_cache of size 96 [ 20.116812] The buggy address is located 64 bytes inside of [ 20.116812] 96-byte region [ffff8801c9321100, ffff8801c9321160) [ 20.128475] The buggy address belongs to the page: [ 20.133381] page:ffffea000724c840 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.141598] flags: 0x8000000000000080(slab) [ 20.145881] page dumped because: kasan: bad access detected [ 20.151553] [ 20.153758] Memory state around the buggy address: [ 20.158655] ffff8801c9321000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.165980] ffff8801c9321080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.173311] >ffff8801c9321100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.180634] ^ [ 20.186048] ffff8801c9321180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.193370] ffff8801c9321200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.200692] ================================================================== [ 20.208022] Disabling lock debugging due to kernel taint [ 20.213830] Kernel panic - not syncing: panic_on_warn set ... [ 20.213830] [ 20.221178] CPU: 0 PID: 3321 Comm: syzkaller869247 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 20.230066] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.239389] ffff8801c8e1f9a8 ffffffff81d93049 ffffffff84195be7 ffff8801c8e1fa80 [ 20.247355] 0000000000000000 ffff8801c9321140 ffff8801c964a338 ffff8801c8e1fa70 [ 20.255323] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 20.263306] Call Trace: [ 20.265872] [] dump_stack+0xc1/0x128 [ 20.271214] [] panic+0x1bc/0x3a8 [ 20.276196] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.284401] [] ? preempt_schedule+0x25/0x30 [ 20.290337] [] ? ___preempt_schedule+0x16/0x18 [ 20.296534] [] kasan_end_report+0x50/0x50 [ 20.302308] [] kasan_report+0x167/0x360 [ 20.307904] [] ? sg_remove_request+0x103/0x120 [ 20.314101] [] __asan_report_load8_noabort+0x14/0x20 [ 20.320825] [] sg_remove_request+0x103/0x120 [ 20.326859] [] sg_finish_rem_req+0x295/0x340 [ 20.332882] [] sg_read+0xa1c/0x1440 [ 20.338127] [] ? __raw_spin_lock_init+0x1c/0x100 [ 20.344495] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.351129] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.357066] [] ? fasync_insert_entry+0x147/0x2e0 [ 20.363434] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.370068] [] __vfs_read+0x103/0x670 [ 20.375492] [] ? default_llseek+0x290/0x290 [ 20.381430] [] ? fsnotify+0x86/0xf30 [ 20.386757] [] ? fsnotify+0xf30/0xf30 [ 20.392175] [] ? avc_policy_seqno+0x9/0x20 [ 20.398035] [] ? selinux_file_permission+0x82/0x460 [ 20.404667] [] ? security_file_permission+0x89/0x1e0 [ 20.411394] [] ? rw_verify_area+0xe5/0x2b0 [ 20.417244] [] vfs_read+0x11e/0x380 [ 20.422483] [] SyS_read+0xd9/0x1b0 [ 20.427637] [] ? vfs_copy_file_range+0x740/0x740 [ 20.434007] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 20.440117] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.446325] [] ? vfs_copy_file_range+0x740/0x740 [ 20.452696] [] do_fast_syscall_32+0x2f7/0x890 [ 20.458808] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.465440] [] entry_SYSENTER_compat+0x74/0x83 [ 20.472185] Dumping ftrace buffer: [ 20.475699] (ftrace buffer empty) [ 20.479376] Kernel Offset: disabled [ 20.482979] Rebooting in 86400 seconds..