[....] Starting enhanced syslogd: rsyslogd[ 10.007016] audit: type=1400 audit(1515570278.567: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.28' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 29.919047] ================================================================== [ 29.920136] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 29.921100] Read of size 8 at addr ffff8801c1e14140 by task syzkaller304106/3334 [ 29.922083] [ 29.922325] CPU: 1 PID: 3334 Comm: syzkaller304106 Not tainted 4.9.75-g8910fa5 #19 [ 29.923374] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.924595] ffff8801c1e1f940 ffffffff81d93049 ffffea0007078500 ffff8801c1e14140 [ 29.925757] 0000000000000000 ffff8801c1e14140 ffff8801c9054438 ffff8801c1e1f978 [ 29.926918] ffffffff8153ca53 ffff8801c1e14140 0000000000000008 0000000000000000 [ 29.928046] Call Trace: [ 29.928402] [] dump_stack+0xc1/0x128 [ 29.929113] [] print_address_description+0x73/0x280 [ 29.929986] [] kasan_report+0x275/0x360 [ 29.930760] [] ? sg_remove_request+0x103/0x120 [ 29.931579] [] __asan_report_load8_noabort+0x14/0x20 [ 29.932463] [] sg_remove_request+0x103/0x120 [ 29.933259] [] sg_finish_rem_req+0x295/0x340 [ 29.934054] [] sg_read+0xa1c/0x1440 [ 29.934763] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.935652] [] ? fsnotify+0xf30/0xf30 [ 29.936374] [] ? avc_policy_seqno+0x9/0x20 [ 29.937151] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 29.938082] [] ? security_file_permission+0x89/0x1e0 [ 29.938966] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.944493] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.951146] [] compat_do_readv_writev+0x522/0x760 [ 29.957621] [] ? do_pwritev+0x1a0/0x1a0 [ 29.963217] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.969157] [] ? handle_mm_fault+0x6ee/0x2530 [ 29.975269] [] ? __pmd_alloc+0x410/0x410 [ 29.980954] [] compat_readv+0xe3/0x150 [ 29.986469] [] do_compat_readv+0xf4/0x1d0 [ 29.992237] [] ? compat_readv+0x150/0x150 [ 29.998002] [] compat_SyS_readv+0x26/0x30 [ 30.003776] [] ? SyS_pwritev2+0x80/0x80 [ 30.009369] [] do_fast_syscall_32+0x2f7/0x890 [ 30.015482] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.022115] [] entry_SYSENTER_compat+0x74/0x83 [ 30.028311] [ 30.029906] Allocated by task 0: [ 30.033236] (stack is not available) [ 30.036912] [ 30.038509] Freed by task 0: [ 30.041494] (stack is not available) [ 30.045169] [ 30.046762] The buggy address belongs to the object at ffff8801c1e14100 [ 30.046762] which belongs to the cache fasync_cache of size 96 [ 30.059387] The buggy address is located 64 bytes inside of [ 30.059387] 96-byte region [ffff8801c1e14100, ffff8801c1e14160) [ 30.071056] The buggy address belongs to the page: [ 30.075961] page:ffffea0007078500 count:1 mapcount:0 mapping: (null) index:0x0 [ 30.084195] flags: 0x8000000000000080(slab) [ 30.088488] page dumped because: kasan: bad access detected [ 30.094163] [ 30.095753] Memory state around the buggy address: [ 30.100648] ffff8801c1e14000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 30.107974] ffff8801c1e14080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.115297] >ffff8801c1e14100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.122618] ^ [ 30.128033] ffff8801c1e14180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.135355] ffff8801c1e14200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.142676] ================================================================== [ 30.149997] Disabling lock debugging due to kernel taint [ 30.155505] Kernel panic - not syncing: panic_on_warn set ... [ 30.155505] [ 30.162841] CPU: 1 PID: 3334 Comm: syzkaller304106 Tainted: G B 4.9.75-g8910fa5 #19 [ 30.171728] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.181061] ffff8801c1e1f898 ffffffff81d93049 ffffffff84195be7 ffff8801c1e1f970 [ 30.189032] 0000000000000000 ffff8801c1e14140 ffff8801c9054438 ffff8801c1e1f960 [ 30.196980] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 30.205583] Call Trace: [ 30.208142] [] dump_stack+0xc1/0x128 [ 30.213475] [] panic+0x1bc/0x3a8 [ 30.218462] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 30.226660] [] ? preempt_schedule+0x25/0x30 [ 30.232607] [] ? ___preempt_schedule+0x16/0x18 [ 30.238807] [] kasan_end_report+0x50/0x50 [ 30.244574] [] kasan_report+0x167/0x360 [ 30.250175] [] ? sg_remove_request+0x103/0x120 [ 30.256371] [] __asan_report_load8_noabort+0x14/0x20 [ 30.263086] [] sg_remove_request+0x103/0x120 [ 30.269108] [] sg_finish_rem_req+0x295/0x340 [ 30.275138] [] sg_read+0xa1c/0x1440 [ 30.280382] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.287015] [] ? fsnotify+0xf30/0xf30 [ 30.292438] [] ? avc_policy_seqno+0x9/0x20 [ 30.298304] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.305299] [] ? security_file_permission+0x89/0x1e0 [ 30.312027] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.318840] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.325476] [] compat_do_readv_writev+0x522/0x760 [ 30.331934] [] ? do_pwritev+0x1a0/0x1a0 [ 30.337526] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.343463] [] ? handle_mm_fault+0x6ee/0x2530 [ 30.349574] [] ? __pmd_alloc+0x410/0x410 [ 30.355252] [] compat_readv+0xe3/0x150 [ 30.360768] [] do_compat_readv+0xf4/0x1d0 [ 30.366534] [] ? compat_readv+0x150/0x150 [ 30.373084] [] compat_SyS_readv+0x26/0x30 [ 30.378855] [] ? SyS_pwritev2+0x80/0x80 [ 30.384444] [] do_fast_syscall_32+0x2f7/0x890 [ 30.390553] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.397192] [] entry_SYSENTER_compat+0x74/0x83 [ 30.403428] Dumping ftrace buffer: [ 30.406932] (ftrace buffer empty) [ 30.410611] Kernel Offset: disabled [ 30.414203] Rebooting in 86400 seconds..