[....] Starting enhanced syslogd: rsyslogd[ 10.845816] audit: type=1400 audit(1516125111.362:4): avc: denied { syslog } for pid=3177 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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 executing program syzkaller login: [ 20.228153] ================================================================== [ 20.229197] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.230148] Read of size 8 at addr ffff8801cd1e7240 by task syzkaller981851/3328 [ 20.231133] [ 20.231383] CPU: 1 PID: 3328 Comm: syzkaller981851 Not tainted 4.9.76-g8dec074 #23 [ 20.232403] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.233649] ffff8801cd157940 ffffffff81d93169 ffffea00073479c0 ffff8801cd1e7240 [ 20.234808] 0000000000000000 ffff8801cd1e7240 ffff8801c8bb4438 ffff8801cd157978 [ 20.235959] ffffffff8153cb43 ffff8801cd1e7240 0000000000000008 0000000000000000 [ 20.237110] Call Trace: [ 20.237468] [] dump_stack+0xc1/0x128 [ 20.238180] [] print_address_description+0x73/0x280 [ 20.239061] [] kasan_report+0x275/0x360 [ 20.239804] [] ? sg_remove_request+0x103/0x120 [ 20.240655] [] __asan_report_load8_noabort+0x14/0x20 [ 20.241546] [] sg_remove_request+0x103/0x120 [ 20.242359] [] sg_finish_rem_req+0x295/0x340 [ 20.243162] [] sg_read+0xa1c/0x1440 [ 20.243871] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.244982] [] ? fsnotify+0xf30/0xf30 [ 20.245735] [] ? avc_policy_seqno+0x9/0x20 [ 20.246534] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.247468] [] ? security_file_permission+0x89/0x1e0 [ 20.248355] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.254989] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.261623] [] compat_do_readv_writev+0x522/0x760 [ 20.268084] [] ? do_pwritev+0x1a0/0x1a0 [ 20.273683] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.279621] [] ? __fget+0x201/0x3a0 [ 20.284867] [] ? __fget+0x228/0x3a0 [ 20.290110] [] ? __fget+0x47/0x3a0 [ 20.295269] [] compat_readv+0xe3/0x150 [ 20.300790] [] do_compat_readv+0xf4/0x1d0 [ 20.306562] [] ? compat_readv+0x150/0x150 [ 20.313373] [] compat_SyS_readv+0x26/0x30 [ 20.320963] [] ? SyS_pwritev2+0x80/0x80 [ 20.326560] [] do_fast_syscall_32+0x2f7/0x890 [ 20.332675] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.339314] [] entry_SYSENTER_compat+0x74/0x83 [ 20.345522] [ 20.347122] Allocated by task 0: [ 20.350453] (stack is not available) [ 20.354131] [ 20.355725] Freed by task 0: [ 20.358709] (stack is not available) [ 20.362399] [ 20.363999] The buggy address belongs to the object at ffff8801cd1e7200 [ 20.363999] which belongs to the cache fasync_cache of size 96 [ 20.376624] The buggy address is located 64 bytes inside of [ 20.376624] 96-byte region [ffff8801cd1e7200, ffff8801cd1e7260) [ 20.388292] The buggy address belongs to the page: [ 20.393191] page:ffffea00073479c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.401848] flags: 0x8000000000000080(slab) [ 20.407754] page dumped because: kasan: bad access detected [ 20.415082] [ 20.417285] Memory state around the buggy address: executing program [ 20.422189] ffff8801cd1e7100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.429522] ffff8801cd1e7180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.436853] >ffff8801cd1e7200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.444180] ^ [ 20.449599] ffff8801cd1e7280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.456926] ffff8801cd1e7300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.464256] ================================================================== [ 20.471586] Disabling lock debugging due to kernel taint [ 20.477554] Kernel panic - not syncing: panic_on_warn set ... [ 20.477554] [ 20.484915] CPU: 1 PID: 3328 Comm: syzkaller981851 Tainted: G B 4.9.76-g8dec074 #23 [ 20.493808] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.503134] ffff8801cd157898 ffffffff81d93169 ffffffff84195c2f ffff8801cd157970 [ 20.511122] 0000000000000000 ffff8801cd1e7240 ffff8801c8bb4438 ffff8801cd157960 [ 20.520757] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 20.528754] Call Trace: [ 20.531325] [] dump_stack+0xc1/0x128 [ 20.536674] [] panic+0x1bc/0x3a8 [ 20.541664] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.549869] [] ? preempt_schedule+0x25/0x30 [ 20.555819] [] ? ___preempt_schedule+0x16/0x18 [ 20.562030] [] kasan_end_report+0x50/0x50 [ 20.567802] [] kasan_report+0x167/0x360 [ 20.573403] [] ? sg_remove_request+0x103/0x120 [ 20.579610] [] __asan_report_load8_noabort+0x14/0x20 [ 20.586334] [] sg_remove_request+0x103/0x120 [ 20.592364] [] sg_finish_rem_req+0x295/0x340 [ 20.598391] [] sg_read+0xa1c/0x1440 [ 20.603638] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.610275] [] ? fsnotify+0xf30/0xf30 [ 20.615699] [] ? avc_policy_seqno+0x9/0x20 [ 20.621556] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.628541] [] ? security_file_permission+0x89/0x1e0 [ 20.635268] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.641905] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.648543] [] compat_do_readv_writev+0x522/0x760 [ 20.655009] [] ? do_pwritev+0x1a0/0x1a0 [ 20.660608] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.666551] [] ? __fget+0x201/0x3a0 [ 20.671797] [] ? __fget+0x228/0x3a0 [ 20.677045] [] ? __fget+0x47/0x3a0 [ 20.682203] [] compat_readv+0xe3/0x150 [ 20.687714] [] do_compat_readv+0xf4/0x1d0 [ 20.693479] [] ? compat_readv+0x150/0x150 [ 20.699249] [] compat_SyS_readv+0x26/0x30 [ 20.705027] [] ? SyS_pwritev2+0x80/0x80 [ 20.710619] [] do_fast_syscall_32+0x2f7/0x890 [ 20.716734] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.723544] [] entry_SYSENTER_compat+0x74/0x83 [ 20.730075] Dumping ftrace buffer: [ 20.733585] (ftrace buffer empty) [ 20.737264] Kernel Offset: disabled [ 20.740859] Rebooting in 86400 seconds..