[....] Starting enhanced syslogd: rsyslogd[ 10.724380] audit: type=1400 audit(1517050781.765:4): avc: denied { syslog } for pid=3176 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.57' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 19.000517] ================================================================== [ 19.001800] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.002888] Read of size 8 at addr ffff8801cb674240 by task syzkaller421515/3326 [ 19.003957] [ 19.004212] CPU: 1 PID: 3326 Comm: syzkaller421515 Not tainted 4.9.78-g68d447c #23 [ 19.005328] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.006573] ffff8801c269fab0 ffffffff81d943a9 ffffea00072d9d00 ffff8801cb674240 [ 19.007835] 0000000000000000 ffff8801cb674240 ffff8801c8d64438 ffff8801c269fae8 [ 19.009136] ffffffff8153dc23 ffff8801cb674240 0000000000000008 0000000000000000 [ 19.010396] Call Trace: [ 19.010773] [] dump_stack+0xc1/0x128 [ 19.011520] [] print_address_description+0x73/0x280 [ 19.012423] [] kasan_report+0x275/0x360 [ 19.013171] [] ? sg_remove_request+0x103/0x120 [ 19.014015] [] __asan_report_load8_noabort+0x14/0x20 [ 19.014925] [] sg_remove_request+0x103/0x120 [ 19.015743] [] sg_finish_rem_req+0x295/0x340 [ 19.016581] [] sg_read+0xa16/0x1440 [ 19.017302] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 19.018200] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.019142] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 19.020040] [] __vfs_read+0x103/0x670 [ 19.021482] [] ? default_llseek+0x290/0x290 [ 19.027420] [] ? fsnotify+0x86/0xf30 [ 19.032758] [] ? fsnotify+0xf30/0xf30 [ 19.038178] [] ? avc_policy_seqno+0x9/0x20 [ 19.044033] [] ? selinux_file_permission+0x82/0x460 [ 19.050667] [] ? security_file_permission+0x89/0x1e0 [ 19.057390] [] ? rw_verify_area+0xe5/0x2b0 [ 19.063243] [] vfs_read+0x11e/0x380 [ 19.068490] [] SyS_read+0xd9/0x1b0 [ 19.073647] [] ? vfs_copy_file_range+0x740/0x740 [ 19.080021] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.086829] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.093380] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 19.099933] [ 19.101536] Allocated by task 0: [ 19.104867] (stack is not available) [ 19.108545] [ 19.110141] Freed by task 0: [ 19.113126] (stack is not available) [ 19.116804] [ 19.118402] The buggy address belongs to the object at ffff8801cb674200 [ 19.118402] which belongs to the cache fasync_cache of size 96 [ 19.131028] The buggy address is located 64 bytes inside of [ 19.131028] 96-byte region [ffff8801cb674200, ffff8801cb674260) [ 19.142698] The buggy address belongs to the page: [ 19.147599] page:ffffea00072d9d00 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.155828] flags: 0x8000000000000080(slab) [ 19.160116] page dumped because: kasan: bad access detected [ 19.165791] [ 19.167384] Memory state around the buggy address: [ 19.172281] ffff8801cb674100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.179611] ffff8801cb674180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.186936] >ffff8801cb674200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.194276] ^ executing program [ 19.199705] ffff8801cb674280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.207045] ffff8801cb674300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.214373] ================================================================== [ 19.221700] Disabling lock debugging due to kernel taint [ 19.227750] Kernel panic - not syncing: panic_on_warn set ... [ 19.227750] [ 19.235124] CPU: 1 PID: 3326 Comm: syzkaller421515 Tainted: G B 4.9.78-g68d447c #23 [ 19.244021] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.253347] ffff8801c269fa08 ffffffff81d943a9 ffffffff841971bf ffff8801c269fae0 [ 19.261324] 0000000000000000 ffff8801cb674240 ffff8801c8d64438 ffff8801c269fad0 [ 19.269304] ffffffff8142f451 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f295 [ 19.277280] Call Trace: [ 19.279841] [] dump_stack+0xc1/0x128 [ 19.285176] [] panic+0x1bc/0x3a8 [ 19.290164] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.298366] [] ? preempt_schedule+0x25/0x30 [ 19.304308] [] ? ___preempt_schedule+0x16/0x18 [ 19.310511] [] kasan_end_report+0x50/0x50 [ 19.316282] [] kasan_report+0x167/0x360 [ 19.321876] [] ? sg_remove_request+0x103/0x120 [ 19.328079] [] __asan_report_load8_noabort+0x14/0x20 [ 19.334803] [] sg_remove_request+0x103/0x120 [ 19.340834] [] sg_finish_rem_req+0x295/0x340 [ 19.346862] [] sg_read+0xa16/0x1440 [ 19.352111] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 19.358752] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.365735] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 19.372373] [] __vfs_read+0x103/0x670 [ 19.377795] [] ? default_llseek+0x290/0x290 [ 19.383735] [] ? fsnotify+0x86/0xf30 [ 19.389072] [] ? fsnotify+0xf30/0xf30 [ 19.394497] [] ? avc_policy_seqno+0x9/0x20 [ 19.400356] [] ? selinux_file_permission+0x82/0x460 [ 19.406995] [] ? security_file_permission+0x89/0x1e0 [ 19.413719] [] ? rw_verify_area+0xe5/0x2b0 [ 19.419578] [] vfs_read+0x11e/0x380 [ 19.424843] [] SyS_read+0xd9/0x1b0 [ 19.430007] [] ? vfs_copy_file_range+0x740/0x740 [ 19.436384] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.443195] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.449748] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 19.456737] Dumping ftrace buffer: [ 19.460258] (ftrace buffer empty) [ 19.463939] Kernel Offset: disabled [ 19.467560] Rebooting in 86400 seconds..