[....] Starting enhanced syslogd: rsyslogd[ 11.355775] audit: type=1400 audit(1516059160.927:4): avc: denied { syslog } for pid=3170 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: [ 18.887974] ================================================================== [ 18.889122] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.890134] Read of size 8 at addr ffff8801cc420140 by task syzkaller289735/3319 [ 18.891181] [ 18.891436] CPU: 0 PID: 3319 Comm: syzkaller289735 Not tainted 4.9.76-g8dec074 #23 [ 18.892458] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.893709] ffff8801c9317940 ffffffff81d93169 ffffea0007310800 ffff8801cc420140 [ 18.895014] 0000000000000000 ffff8801cc420140 ffff8801c9204438 ffff8801c9317978 [ 18.896235] ffffffff8153cb43 ffff8801cc420140 0000000000000008 0000000000000000 [ 18.897457] Call Trace: [ 18.897852] [] dump_stack+0xc1/0x128 [ 18.899033] [] print_address_description+0x73/0x280 [ 18.899976] [] kasan_report+0x275/0x360 [ 18.900774] [] ? sg_remove_request+0x103/0x120 [ 18.901661] [] __asan_report_load8_noabort+0x14/0x20 [ 18.902583] [] sg_remove_request+0x103/0x120 [ 18.903423] [] sg_finish_rem_req+0x295/0x340 [ 18.904296] [] sg_read+0xa1c/0x1440 [ 18.905049] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.905949] [] ? fsnotify+0xf30/0xf30 [ 18.906702] [] ? avc_policy_seqno+0x9/0x20 [ 18.907503] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 18.909686] [] ? security_file_permission+0x89/0x1e0 [ 18.916408] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.923044] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.929682] [] compat_do_readv_writev+0x522/0x760 [ 18.936144] [] ? do_pwritev+0x1a0/0x1a0 [ 18.941740] [] ? _raw_spin_unlock+0x2c/0x50 [ 18.947682] [] ? handle_mm_fault+0x6ee/0x2530 [ 18.953795] [] ? __pmd_alloc+0x410/0x410 [ 18.959479] [] compat_readv+0xe3/0x150 [ 18.964986] [] do_compat_readv+0xf4/0x1d0 [ 18.970753] [] ? compat_readv+0x150/0x150 [ 18.976521] [] compat_SyS_readv+0x26/0x30 [ 18.982304] [] ? SyS_pwritev2+0x80/0x80 [ 18.987899] [] do_fast_syscall_32+0x2f7/0x890 [ 18.994013] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.000651] [] entry_SYSENTER_compat+0x74/0x83 [ 19.006849] [ 19.008445] Allocated by task 0: [ 19.011792] (stack is not available) [ 19.015473] [ 19.017071] Freed by task 0: [ 19.020057] (stack is not available) [ 19.023748] [ 19.025348] The buggy address belongs to the object at ffff8801cc420100 [ 19.025348] which belongs to the cache fasync_cache of size 96 [ 19.037976] The buggy address is located 64 bytes inside of [ 19.037976] 96-byte region [ffff8801cc420100, ffff8801cc420160) [ 19.049644] The buggy address belongs to the page: [ 19.054542] page:ffffea0007310800 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.062782] flags: 0x8000000000000080(slab) [ 19.067071] page dumped because: kasan: bad access detected [ 19.072749] [ 19.074347] Memory state around the buggy address: [ 19.079245] ffff8801cc420000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.086574] ffff8801cc420080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.093904] >ffff8801cc420100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.101234] ^ [ 19.106665] ffff8801cc420180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.113993] ffff8801cc420200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.121318] ================================================================== [ 19.128644] Disabling lock debugging due to kernel taint [ 19.134349] Kernel panic - not syncing: panic_on_warn set ... [ 19.134349] [ 19.141714] CPU: 0 PID: 3319 Comm: syzkaller289735 Tainted: G B 4.9.76-g8dec074 #23 [ 19.150610] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.159936] ffff8801c9317898 ffffffff81d93169 ffffffff84195c2f ffff8801c9317970 [ 19.167908] 0000000000000000 ffff8801cc420140 ffff8801c9204438 ffff8801c9317960 [ 19.175889] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 19.183868] Call Trace: [ 19.186438] [] dump_stack+0xc1/0x128 [ 19.191787] [] panic+0x1bc/0x3a8 [ 19.196776] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.204980] [] ? preempt_schedule+0x25/0x30 [ 19.210923] [] ? ___preempt_schedule+0x16/0x18 [ 19.217125] [] kasan_end_report+0x50/0x50 [ 19.222896] [] kasan_report+0x167/0x360 [ 19.228506] [] ? sg_remove_request+0x103/0x120 [ 19.234710] [] __asan_report_load8_noabort+0x14/0x20 [ 19.241433] [] sg_remove_request+0x103/0x120 [ 19.247461] [] sg_finish_rem_req+0x295/0x340 [ 19.253488] [] sg_read+0xa1c/0x1440 [ 19.258745] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.265380] [] ? fsnotify+0xf30/0xf30 [ 19.270811] [] ? avc_policy_seqno+0x9/0x20 [ 19.276670] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 19.283658] [] ? security_file_permission+0x89/0x1e0 [ 19.290390] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.297025] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.303663] [] compat_do_readv_writev+0x522/0x760 [ 19.310134] [] ? do_pwritev+0x1a0/0x1a0 [ 19.315730] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.321673] [] ? handle_mm_fault+0x6ee/0x2530 [ 19.327804] [] ? __pmd_alloc+0x410/0x410 [ 19.333496] [] compat_readv+0xe3/0x150 [ 19.339004] [] do_compat_readv+0xf4/0x1d0 [ 19.344786] [] ? compat_readv+0x150/0x150 [ 19.350583] [] compat_SyS_readv+0x26/0x30 [ 19.356353] [] ? SyS_pwritev2+0x80/0x80 [ 19.361966] [] do_fast_syscall_32+0x2f7/0x890 [ 19.368080] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.374718] [] entry_SYSENTER_compat+0x74/0x83 [ 19.381371] Dumping ftrace buffer: [ 19.384884] (ftrace buffer empty) [ 19.388580] Kernel Offset: disabled [ 19.392179] Rebooting in 86400 seconds..