[....] Starting enhanced syslogd: rsyslogd[ 11.700945] audit: type=1400 audit(1515487238.807:4): avc: denied { syslog } for pid=3168 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.208' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.304923] ================================================================== [ 23.312336] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.319415] Read of size 8 at addr ffff8801cbfad140 by task syzkaller023453/3325 [ 23.326910] [ 23.328515] CPU: 0 PID: 3325 Comm: syzkaller023453 Not tainted 4.9.75-gb54d99a #18 [ 23.336195] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.345518] ffff8801c0c27940 ffffffff81d93049 ffffea00072feb40 ffff8801cbfad140 [ 23.353480] 0000000000000000 ffff8801cbfad140 ffff8801c8578238 ffff8801c0c27978 [ 23.361429] ffffffff8153ca53 ffff8801cbfad140 0000000000000008 0000000000000000 [ 23.369407] Call Trace: [ 23.371964] [] dump_stack+0xc1/0x128 [ 23.377296] [] print_address_description+0x73/0x280 [ 23.383927] [] kasan_report+0x275/0x360 [ 23.389537] [] ? sg_remove_request+0x103/0x120 [ 23.395734] [] __asan_report_load8_noabort+0x14/0x20 [ 23.402465] [] sg_remove_request+0x103/0x120 [ 23.408491] [] sg_finish_rem_req+0x295/0x340 [ 23.414516] [] sg_read+0xa1c/0x1440 [ 23.419757] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.426392] [] ? fsnotify+0xf30/0xf30 [ 23.431810] [] ? avc_policy_seqno+0x9/0x20 [ 23.437681] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.444663] [] ? security_file_permission+0x89/0x1e0 [ 23.451382] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.458011] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.464640] [] compat_do_readv_writev+0x522/0x760 [ 23.471097] [] ? do_pwritev+0x1a0/0x1a0 [ 23.476687] [] ? _raw_spin_unlock+0x2c/0x50 [ 23.482624] [] ? handle_mm_fault+0x6ee/0x2530 [ 23.488734] [] ? fasync_helper+0x7a/0xb0 [ 23.494408] [] ? __pmd_alloc+0x410/0x410 [ 23.500095] [] compat_readv+0xe3/0x150 [ 23.505611] [] do_compat_readv+0xf4/0x1d0 [ 23.511375] [] ? compat_readv+0x150/0x150 [ 23.517137] [] compat_SyS_readv+0x26/0x30 [ 23.522906] [] ? SyS_pwritev2+0x80/0x80 [ 23.528497] [] do_fast_syscall_32+0x2f7/0x890 [ 23.534607] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 23.541240] [] entry_SYSENTER_compat+0x74/0x83 [ 23.547444] [ 23.549038] Allocated by task 0: [ 23.552366] (stack is not available) [ 23.556041] [ 23.557634] Freed by task 0: [ 23.560615] (stack is not available) [ 23.564290] [ 23.565882] The buggy address belongs to the object at ffff8801cbfad100 [ 23.565882] which belongs to the cache fasync_cache of size 96 [ 23.578502] The buggy address is located 64 bytes inside of [ 23.578502] 96-byte region [ffff8801cbfad100, ffff8801cbfad160) [ 23.590168] The buggy address belongs to the page: [ 23.595066] page:ffffea00072feb40 count:1 mapcount:0 mapping: (null) index:0x0 [ 23.603285] flags: 0x8000000000000080(slab) [ 23.607573] page dumped because: kasan: bad access detected [ 23.613248] [ 23.614839] Memory state around the buggy address: [ 23.619734] ffff8801cbfad000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 23.627058] ffff8801cbfad080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.634382] >ffff8801cbfad100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.641705] ^ [ 23.647120] ffff8801cbfad180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.654445] ffff8801cbfad200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.661770] ================================================================== [ 23.669092] Disabling lock debugging due to kernel taint [ 23.676147] Kernel panic - not syncing: panic_on_warn set ... [ 23.676147] [ 23.683525] CPU: 0 PID: 3325 Comm: syzkaller023453 Tainted: G B 4.9.75-gb54d99a #18 [ 23.692427] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.701749] ffff8801c0c27898 ffffffff81d93049 ffffffff84195be7 ffff8801c0c27970 [ 23.709697] 0000000000000000 ffff8801cbfad140 ffff8801c8578238 ffff8801c0c27960 [ 23.717646] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 23.725594] Call Trace: [ 23.728149] [] dump_stack+0xc1/0x128 [ 23.733486] [] panic+0x1bc/0x3a8 [ 23.738468] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 23.746664] [] ? preempt_schedule+0x25/0x30 [ 23.752610] [] ? ___preempt_schedule+0x16/0x18 [ 23.758810] [] kasan_end_report+0x50/0x50 [ 23.764573] [] kasan_report+0x167/0x360 [ 23.770162] [] ? sg_remove_request+0x103/0x120 [ 23.776361] [] __asan_report_load8_noabort+0x14/0x20 [ 23.783079] [] sg_remove_request+0x103/0x120 [ 23.789102] [] sg_finish_rem_req+0x295/0x340 [ 23.795123] [] sg_read+0xa1c/0x1440 [ 23.800367] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.806998] [] ? fsnotify+0xf30/0xf30 [ 23.812415] [] ? avc_policy_seqno+0x9/0x20 [ 23.818291] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.825269] [] ? security_file_permission+0x89/0x1e0 [ 23.832048] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.838679] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.845312] [] compat_do_readv_writev+0x522/0x760 [ 23.851772] [] ? do_pwritev+0x1a0/0x1a0 [ 23.857366] [] ? _raw_spin_unlock+0x2c/0x50 [ 23.863304] [] ? handle_mm_fault+0x6ee/0x2530 [ 23.869426] [] ? fasync_helper+0x7a/0xb0 [ 23.875103] [] ? __pmd_alloc+0x410/0x410 [ 23.880779] [] compat_readv+0xe3/0x150 [ 23.886281] [] do_compat_readv+0xf4/0x1d0 [ 23.892053] [] ? compat_readv+0x150/0x150 [ 23.897816] [] compat_SyS_readv+0x26/0x30 [ 23.903578] [] ? SyS_pwritev2+0x80/0x80 [ 23.909171] [] do_fast_syscall_32+0x2f7/0x890 [ 23.915282] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 23.921918] [] entry_SYSENTER_compat+0x74/0x83 [ 23.928547] Dumping ftrace buffer: [ 23.932061] (ftrace buffer empty) [ 23.935737] Kernel Offset: disabled [ 23.939330] Rebooting in 86400 seconds..