[....] Starting enhanced syslogd: rsyslogd[ 13.581562] audit: type=1400 audit(1515424899.848:4): avc: denied { syslog } for pid=3178 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.206' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 38.774972] ================================================================== [ 38.782410] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 38.789490] Read of size 8 at addr ffff8801c8410140 by task syzkaller499375/3343 [ 38.796989] [ 38.798589] CPU: 1 PID: 3343 Comm: syzkaller499375 Not tainted 4.9.75-g5f5e5d4 #17 [ 38.806266] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.815609] ffff8801c7c8fa50 ffffffff81d93049 ffffea0007210400 ffff8801c8410140 [ 38.823564] 0000000000000000 ffff8801c8410140 ffff8801c8fe2338 ffff8801c7c8fa88 [ 38.831515] ffffffff8153ca53 ffff8801c8410140 0000000000000008 0000000000000000 [ 38.839473] Call Trace: [ 38.842034] [] dump_stack+0xc1/0x128 [ 38.847371] [] print_address_description+0x73/0x280 [ 38.854002] [] kasan_report+0x275/0x360 [ 38.859601] [] ? sg_remove_request+0x103/0x120 [ 38.865806] [] __asan_report_load8_noabort+0x14/0x20 [ 38.872538] [] sg_remove_request+0x103/0x120 [ 38.878562] [] sg_finish_rem_req+0x295/0x340 [ 38.884586] [] sg_read+0xa1c/0x1440 [ 38.889831] [] ? __raw_spin_lock_init+0x1c/0x100 [ 38.896214] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.902863] [] ? _raw_spin_unlock+0x2c/0x50 [ 38.908836] [] ? fasync_insert_entry+0x147/0x2e0 [ 38.915212] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 38.921848] [] __vfs_read+0x103/0x670 [ 38.927269] [] ? default_llseek+0x290/0x290 [ 38.933211] [] ? fsnotify+0x86/0xf30 [ 38.938543] [] ? fsnotify+0xf30/0xf30 [ 38.943963] [] ? avc_policy_seqno+0x9/0x20 [ 38.949831] [] ? selinux_file_permission+0x82/0x460 [ 38.956465] [] ? security_file_permission+0x89/0x1e0 [ 38.963185] [] ? rw_verify_area+0xe5/0x2b0 [ 38.969033] [] vfs_read+0x11e/0x380 [ 38.974275] [] SyS_read+0xd9/0x1b0 [ 38.979430] [] ? vfs_copy_file_range+0x740/0x740 [ 38.985800] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 38.991910] [] ? do_fast_syscall_32+0xcf/0x890 [ 38.998108] [] ? vfs_copy_file_range+0x740/0x740 [ 39.004477] [] do_fast_syscall_32+0x2f7/0x890 [ 39.010585] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.017218] [] entry_SYSENTER_compat+0x74/0x83 [ 39.023411] [ 39.025006] Allocated by task 0: [ 39.028333] (stack is not available) [ 39.032006] [ 39.033596] Freed by task 0: [ 39.036575] (stack is not available) [ 39.040248] [ 39.041846] The buggy address belongs to the object at ffff8801c8410100 [ 39.041846] which belongs to the cache fasync_cache of size 96 [ 39.054467] The buggy address is located 64 bytes inside of [ 39.054467] 96-byte region [ffff8801c8410100, ffff8801c8410160) [ 39.066132] The buggy address belongs to the page: [ 39.071028] page:ffffea0007210400 count:1 mapcount:0 mapping: (null) index:0x0 [ 39.079260] flags: 0x8000000000000080(slab) [ 39.083546] page dumped because: kasan: bad access detected [ 39.089228] [ 39.090825] Memory state around the buggy address: [ 39.095737] ffff8801c8410000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 39.103069] ffff8801c8410080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.110409] >ffff8801c8410100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.117739] ^ [ 39.123157] ffff8801c8410180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.130491] ffff8801c8410200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.137831] ================================================================== [ 39.145155] Disabling lock debugging due to kernel taint [ 39.150758] Kernel panic - not syncing: panic_on_warn set ... [ 39.150758] [ 39.158113] CPU: 1 PID: 3343 Comm: syzkaller499375 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 39.167748] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.177074] ffff8801c7c8f9a8 ffffffff81d93049 ffffffff84195be7 ffff8801c7c8fa80 [ 39.185023] 0000000000000000 ffff8801c8410140 ffff8801c8fe2338 ffff8801c7c8fa70 [ 39.192974] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 39.200934] Call Trace: [ 39.203494] [] dump_stack+0xc1/0x128 [ 39.208829] [] panic+0x1bc/0x3a8 [ 39.213822] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 39.222038] [] ? preempt_schedule+0x25/0x30 [ 39.227992] [] ? ___preempt_schedule+0x16/0x18 [ 39.234195] [] kasan_end_report+0x50/0x50 [ 39.239969] [] kasan_report+0x167/0x360 [ 39.245562] [] ? sg_remove_request+0x103/0x120 [ 39.251764] [] __asan_report_load8_noabort+0x14/0x20 [ 39.258481] [] sg_remove_request+0x103/0x120 [ 39.264505] [] sg_finish_rem_req+0x295/0x340 [ 39.270539] [] sg_read+0xa1c/0x1440 [ 39.275793] [] ? __raw_spin_lock_init+0x1c/0x100 [ 39.282214] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 39.288888] [] ? _raw_spin_unlock+0x2c/0x50 [ 39.294846] [] ? fasync_insert_entry+0x147/0x2e0 [ 39.301218] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 39.307871] [] __vfs_read+0x103/0x670 [ 39.313289] [] ? default_llseek+0x290/0x290 [ 39.319226] [] ? fsnotify+0x86/0xf30 [ 39.324553] [] ? fsnotify+0xf30/0xf30 [ 39.329980] [] ? avc_policy_seqno+0x9/0x20 [ 39.335845] [] ? selinux_file_permission+0x82/0x460 [ 39.342491] [] ? security_file_permission+0x89/0x1e0 [ 39.349225] [] ? rw_verify_area+0xe5/0x2b0 [ 39.355087] [] vfs_read+0x11e/0x380 [ 39.360331] [] SyS_read+0xd9/0x1b0 [ 39.365484] [] ? vfs_copy_file_range+0x740/0x740 [ 39.371855] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 39.377970] [] ? do_fast_syscall_32+0xcf/0x890 [ 39.384168] [] ? vfs_copy_file_range+0x740/0x740 [ 39.390536] [] do_fast_syscall_32+0x2f7/0x890 [ 39.396644] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.403277] [] entry_SYSENTER_compat+0x74/0x83 [ 39.409517] Dumping ftrace buffer: [ 39.413024] (ftrace buffer empty) [ 39.416711] Kernel Offset: disabled [ 39.420306] Rebooting in 86400 seconds..