[....] Starting enhanced syslogd: rsyslogd[ 11.017793] audit: type=1400 audit(1516089433.056:4): avc: denied { syslog } for pid=3193 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.47' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.963910] ================================================================== [ 27.965274] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.966211] Read of size 8 at addr ffff8801c8d1d140 by task syzkaller529963/3350 [ 27.967210] [ 27.967445] CPU: 0 PID: 3350 Comm: syzkaller529963 Not tainted 4.9.76-g8dec074 #23 [ 27.968465] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.969742] ffff8801c7c57a50 ffffffff81d93169 ffffea0007234740 ffff8801c8d1d140 [ 27.970897] 0000000000000000 ffff8801c8d1d140 ffff8801c9b5a338 ffff8801c7c57a88 [ 27.972065] ffffffff8153cb43 ffff8801c8d1d140 0000000000000008 0000000000000000 [ 27.973240] Call Trace: [ 27.973619] [] dump_stack+0xc1/0x128 [ 27.974336] [] print_address_description+0x73/0x280 [ 27.975216] [] kasan_report+0x275/0x360 [ 27.975968] [] ? sg_remove_request+0x103/0x120 [ 27.976805] [] __asan_report_load8_noabort+0x14/0x20 [ 27.977732] [] sg_remove_request+0x103/0x120 [ 27.978561] [] sg_finish_rem_req+0x295/0x340 [ 27.979378] [] sg_read+0xa1c/0x1440 [ 27.980092] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.980969] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.981850] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.982653] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.983511] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.985869] [] __vfs_read+0x103/0x670 [ 27.991295] [] ? default_llseek+0x290/0x290 [ 27.997586] [] ? fsnotify+0x86/0xf30 [ 28.002920] [] ? fsnotify+0xf30/0xf30 [ 28.008342] [] ? avc_policy_seqno+0x9/0x20 [ 28.014197] [] ? selinux_file_permission+0x82/0x460 [ 28.021535] [] ? security_file_permission+0x89/0x1e0 [ 28.028269] [] ? rw_verify_area+0xe5/0x2b0 [ 28.034141] [] vfs_read+0x11e/0x380 [ 28.039397] [] SyS_read+0xd9/0x1b0 [ 28.044559] [] ? vfs_copy_file_range+0x740/0x740 [ 28.050935] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.057311] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.063512] [] ? vfs_copy_file_range+0x740/0x740 [ 28.070504] [] do_fast_syscall_32+0x2f7/0x890 [ 28.076630] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.083281] [] entry_SYSENTER_compat+0x74/0x83 [ 28.089480] [ 28.091080] Allocated by task 0: [ 28.094411] (stack is not available) [ 28.098088] [ 28.099682] Freed by task 0: [ 28.102669] (stack is not available) [ 28.106357] [ 28.107955] The buggy address belongs to the object at ffff8801c8d1d100 [ 28.107955] which belongs to the cache fasync_cache of size 96 [ 28.120580] The buggy address is located 64 bytes inside of [ 28.120580] 96-byte region [ffff8801c8d1d100, ffff8801c8d1d160) [ 28.132775] The buggy address belongs to the page: [ 28.137673] page:ffffea0007234740 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.146244] flags: 0x8000000000000080(slab) [ 28.150533] page dumped because: kasan: bad access detected [ 28.156219] [ 28.157814] Memory state around the buggy address: [ 28.163149] ffff8801c8d1d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.170477] ffff8801c8d1d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.177807] >ffff8801c8d1d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.185139] ^ [ 28.190555] ffff8801c8d1d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.197894] ffff8801c8d1d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.205224] ================================================================== [ 28.212549] Disabling lock debugging due to kernel taint [ 28.218155] Kernel panic - not syncing: panic_on_warn set ... [ 28.218155] [ 28.225498] CPU: 0 PID: 3350 Comm: syzkaller529963 Tainted: G B 4.9.76-g8dec074 #23 [ 28.234391] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.243719] ffff8801c7c579a8 ffffffff81d93169 ffffffff84195c2f ffff8801c7c57a80 [ 28.251703] 0000000000000000 ffff8801c8d1d140 ffff8801c9b5a338 ffff8801c7c57a70 [ 28.259666] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 28.267627] Call Trace: [ 28.270191] [] dump_stack+0xc1/0x128 [ 28.275526] [] panic+0x1bc/0x3a8 [ 28.280512] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.288711] [] ? preempt_schedule+0x25/0x30 [ 28.294650] [] ? ___preempt_schedule+0x16/0x18 [ 28.300869] [] kasan_end_report+0x50/0x50 [ 28.306637] [] kasan_report+0x167/0x360 [ 28.312234] [] ? sg_remove_request+0x103/0x120 [ 28.318452] [] __asan_report_load8_noabort+0x14/0x20 [ 28.325176] [] sg_remove_request+0x103/0x120 [ 28.331204] [] sg_finish_rem_req+0x295/0x340 [ 28.337579] [] sg_read+0xa1c/0x1440 [ 28.342829] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.349204] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.355856] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.361799] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.368176] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.374818] [] __vfs_read+0x103/0x670 [ 28.380240] [] ? default_llseek+0x290/0x290 [ 28.387050] [] ? fsnotify+0x86/0xf30 [ 28.393163] [] ? fsnotify+0xf30/0xf30 [ 28.398583] [] ? avc_policy_seqno+0x9/0x20 [ 28.404436] [] ? selinux_file_permission+0x82/0x460 [ 28.411074] [] ? security_file_permission+0x89/0x1e0 [ 28.417798] [] ? rw_verify_area+0xe5/0x2b0 [ 28.423656] [] vfs_read+0x11e/0x380 [ 28.428902] [] SyS_read+0xd9/0x1b0 [ 28.434065] [] ? vfs_copy_file_range+0x740/0x740 [ 28.440439] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.446561] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.452767] [] ? vfs_copy_file_range+0x740/0x740 [ 28.459140] [] do_fast_syscall_32+0x2f7/0x890 [ 28.465256] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.471890] [] entry_SYSENTER_compat+0x74/0x83 [ 28.479136] Dumping ftrace buffer: [ 28.484300] (ftrace buffer empty) [ 28.488596] Kernel Offset: disabled [ 28.492196] Rebooting in 86400 seconds..