[....] Starting enhanced syslogd: rsyslogd[ 13.055173] audit: type=1400 audit(1515640336.467: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.196' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.270643] ================================================================== [ 28.278052] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.285120] Read of size 8 at addr ffff8801c1c2d140 by task syzkaller563598/3332 [ 28.292616] [ 28.294211] CPU: 1 PID: 3332 Comm: syzkaller563598 Not tainted 4.9.76-g9154940 #20 [ 28.301883] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.311206] ffff8801c8237a50 ffffffff81d93149 ffffea0007070b40 ffff8801c1c2d140 [ 28.319168] 0000000000000000 ffff8801c1c2d140 ffff8801c81a8238 ffff8801c8237a88 [ 28.327152] ffffffff8153cb43 ffff8801c1c2d140 0000000000000008 0000000000000000 [ 28.335105] Call Trace: [ 28.337664] [] dump_stack+0xc1/0x128 [ 28.342999] [] print_address_description+0x73/0x280 [ 28.349631] [] kasan_report+0x275/0x360 [ 28.355226] [] ? sg_remove_request+0x103/0x120 [ 28.361525] [] __asan_report_load8_noabort+0x14/0x20 [ 28.368248] [] sg_remove_request+0x103/0x120 [ 28.374277] [] sg_finish_rem_req+0x295/0x340 [ 28.380314] [] sg_read+0xa1c/0x1440 [ 28.385571] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.391959] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.398603] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.404543] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.410917] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.417558] [] __vfs_read+0x103/0x670 [ 28.422981] [] ? default_llseek+0x290/0x290 [ 28.428916] [] ? fsnotify+0x86/0xf30 [ 28.434251] [] ? fsnotify+0xf30/0xf30 [ 28.439678] [] ? avc_policy_seqno+0x9/0x20 [ 28.445540] [] ? selinux_file_permission+0x82/0x460 [ 28.452173] [] ? security_file_permission+0x89/0x1e0 [ 28.458906] [] ? rw_verify_area+0xe5/0x2b0 [ 28.464759] [] vfs_read+0x11e/0x380 [ 28.470002] [] SyS_read+0xd9/0x1b0 [ 28.475174] [] ? vfs_copy_file_range+0x740/0x740 [ 28.481550] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.487662] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.493860] [] ? vfs_copy_file_range+0x740/0x740 [ 28.500234] [] do_fast_syscall_32+0x2f7/0x890 [ 28.506348] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.512985] [] entry_SYSENTER_compat+0x74/0x83 [ 28.519179] [ 28.520774] Allocated by task 0: [ 28.524116] (stack is not available) [ 28.527790] [ 28.529383] Freed by task 0: [ 28.532364] (stack is not available) [ 28.536049] [ 28.537651] The buggy address belongs to the object at ffff8801c1c2d100 [ 28.537651] which belongs to the cache fasync_cache of size 96 [ 28.550280] The buggy address is located 64 bytes inside of [ 28.550280] 96-byte region [ffff8801c1c2d100, ffff8801c1c2d160) [ 28.561957] The buggy address belongs to the page: [ 28.566880] page:ffffea0007070b40 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.575114] flags: 0x8000000000000080(slab) [ 28.579401] page dumped because: kasan: bad access detected [ 28.585088] [ 28.586682] Memory state around the buggy address: [ 28.591576] ffff8801c1c2d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.598907] ffff8801c1c2d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.606232] >ffff8801c1c2d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.613570] ^ [ 28.618999] ffff8801c1c2d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.626329] ffff8801c1c2d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.633661] ================================================================== [ 28.640991] Disabling lock debugging due to kernel taint [ 28.646571] Kernel panic - not syncing: panic_on_warn set ... [ 28.646571] [ 28.653908] CPU: 1 PID: 3332 Comm: syzkaller563598 Tainted: G B 4.9.76-g9154940 #20 [ 28.662794] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.672143] ffff8801c82379a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8237a80 [ 28.680114] 0000000000000000 ffff8801c1c2d140 ffff8801c81a8238 ffff8801c8237a70 [ 28.688068] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.696025] Call Trace: [ 28.698587] [] dump_stack+0xc1/0x128 [ 28.703933] [] panic+0x1bc/0x3a8 [ 28.708929] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.717163] [] ? preempt_schedule+0x25/0x30 [ 28.723112] [] ? ___preempt_schedule+0x16/0x18 [ 28.729346] [] kasan_end_report+0x50/0x50 [ 28.735121] [] kasan_report+0x167/0x360 [ 28.740716] [] ? sg_remove_request+0x103/0x120 [ 28.746920] [] __asan_report_load8_noabort+0x14/0x20 [ 28.753639] [] sg_remove_request+0x103/0x120 [ 28.759712] [] sg_finish_rem_req+0x295/0x340 [ 28.765754] [] sg_read+0xa1c/0x1440 [ 28.771003] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.777376] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.784026] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.789973] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.796368] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.803008] [] __vfs_read+0x103/0x670 [ 28.808437] [] ? default_llseek+0x290/0x290 [ 28.814374] [] ? fsnotify+0x86/0xf30 [ 28.819793] [] ? fsnotify+0xf30/0xf30 [ 28.825210] [] ? avc_policy_seqno+0x9/0x20 [ 28.831061] [] ? selinux_file_permission+0x82/0x460 [ 28.837701] [] ? security_file_permission+0x89/0x1e0 [ 28.844419] [] ? rw_verify_area+0xe5/0x2b0 [ 28.850273] [] vfs_read+0x11e/0x380 [ 28.855516] [] SyS_read+0xd9/0x1b0 [ 28.860682] [] ? vfs_copy_file_range+0x740/0x740 [ 28.867064] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.873191] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.879391] [] ? vfs_copy_file_range+0x740/0x740 [ 28.885775] [] do_fast_syscall_32+0x2f7/0x890 [ 28.891895] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.898537] [] entry_SYSENTER_compat+0x74/0x83 [ 28.905232] Dumping ftrace buffer: [ 28.908745] (ftrace buffer empty) [ 28.912428] Kernel Offset: disabled [ 28.916031] Rebooting in 86400 seconds..