[....] Starting enhanced syslogd: rsyslogd[ 11.532466] audit: type=1400 audit(1516044158.537: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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.42' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.921943] ================================================================== [ 27.929368] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.936449] Read of size 8 at addr ffff8801ca18d140 by task syzkaller748988/3325 [ 27.943965] [ 27.945569] CPU: 0 PID: 3325 Comm: syzkaller748988 Not tainted 4.9.76-g8dec074 #23 [ 27.953247] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.962589] ffff8801cb1f7a50 ffffffff81d93169 ffffea0007286340 ffff8801ca18d140 [ 27.970573] 0000000000000000 ffff8801ca18d140 ffff8801cd73c438 ffff8801cb1f7a88 [ 27.978570] ffffffff8153cb43 ffff8801ca18d140 0000000000000008 0000000000000000 [ 27.986548] Call Trace: [ 27.989112] [] dump_stack+0xc1/0x128 [ 27.994453] [] print_address_description+0x73/0x280 [ 28.001091] [] kasan_report+0x275/0x360 [ 28.006702] [] ? sg_remove_request+0x103/0x120 [ 28.012911] [] __asan_report_load8_noabort+0x14/0x20 [ 28.019642] [] sg_remove_request+0x103/0x120 [ 28.025677] [] sg_finish_rem_req+0x295/0x340 [ 28.031711] [] sg_read+0xa1c/0x1440 [ 28.036985] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.043373] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.050028] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.055988] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.062374] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.069025] [] __vfs_read+0x103/0x670 [ 28.074449] [] ? default_llseek+0x290/0x290 [ 28.080394] [] ? fsnotify+0x86/0xf30 [ 28.085743] [] ? fsnotify+0xf30/0xf30 [ 28.091186] [] ? avc_policy_seqno+0x9/0x20 [ 28.097071] [] ? selinux_file_permission+0x82/0x460 [ 28.103719] [] ? security_file_permission+0x89/0x1e0 [ 28.110447] [] ? rw_verify_area+0xe5/0x2b0 [ 28.116327] [] vfs_read+0x11e/0x380 [ 28.121576] [] SyS_read+0xd9/0x1b0 [ 28.126743] [] ? vfs_copy_file_range+0x740/0x740 [ 28.133126] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.139265] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.145479] [] ? vfs_copy_file_range+0x740/0x740 [ 28.151856] [] do_fast_syscall_32+0x2f7/0x890 [ 28.157993] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.164676] [] entry_SYSENTER_compat+0x74/0x83 [ 28.170907] [ 28.172530] Allocated by task 0: [ 28.175886] (stack is not available) [ 28.179594] [ 28.181216] Freed by task 0: [ 28.184219] (stack is not available) [ 28.187917] [ 28.189544] The buggy address belongs to the object at ffff8801ca18d100 [ 28.189544] which belongs to the cache fasync_cache of size 96 [ 28.202194] The buggy address is located 64 bytes inside of [ 28.202194] 96-byte region [ffff8801ca18d100, ffff8801ca18d160) [ 28.213881] The buggy address belongs to the page: [ 28.218812] page:ffffea0007286340 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.227066] flags: 0x8000000000000080(slab) [ 28.231371] page dumped because: kasan: bad access detected [ 28.237058] [ 28.238655] Memory state around the buggy address: [ 28.243557] ffff8801ca18d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.250905] ffff8801ca18d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.258261] >ffff8801ca18d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.265599] ^ [ 28.271021] ffff8801ca18d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.278358] ffff8801ca18d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.285693] ================================================================== [ 28.293030] Disabling lock debugging due to kernel taint [ 28.298830] Kernel panic - not syncing: panic_on_warn set ... [ 28.298830] [ 28.306187] CPU: 0 PID: 3325 Comm: syzkaller748988 Tainted: G B 4.9.76-g8dec074 #23 [ 28.315099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.324451] ffff8801cb1f79a8 ffffffff81d93169 ffffffff84195c2f ffff8801cb1f7a80 [ 28.332505] 0000000000000000 ffff8801ca18d140 ffff8801cd73c438 ffff8801cb1f7a70 [ 28.340559] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 28.348556] Call Trace: [ 28.351138] [] dump_stack+0xc1/0x128 [ 28.356500] [] panic+0x1bc/0x3a8 [ 28.361497] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.369733] [] ? preempt_schedule+0x25/0x30 [ 28.375703] [] ? ___preempt_schedule+0x16/0x18 [ 28.381933] [] kasan_end_report+0x50/0x50 [ 28.387709] [] kasan_report+0x167/0x360 [ 28.393306] [] ? sg_remove_request+0x103/0x120 [ 28.399535] [] __asan_report_load8_noabort+0x14/0x20 [ 28.406288] [] sg_remove_request+0x103/0x120 [ 28.412341] [] sg_finish_rem_req+0x295/0x340 [ 28.418387] [] sg_read+0xa1c/0x1440 [ 28.423680] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.430064] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.436733] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.442678] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.449057] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.455707] [] __vfs_read+0x103/0x670 [ 28.461130] [] ? default_llseek+0x290/0x290 [ 28.467077] [] ? fsnotify+0x86/0xf30 [ 28.472425] [] ? fsnotify+0xf30/0xf30 [ 28.477858] [] ? avc_policy_seqno+0x9/0x20 [ 28.483720] [] ? selinux_file_permission+0x82/0x460 [ 28.490372] [] ? security_file_permission+0x89/0x1e0 [ 28.497108] [] ? rw_verify_area+0xe5/0x2b0 [ 28.502968] [] vfs_read+0x11e/0x380 [ 28.508222] [] SyS_read+0xd9/0x1b0 [ 28.513384] [] ? vfs_copy_file_range+0x740/0x740 [ 28.519780] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.525906] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.532109] [] ? vfs_copy_file_range+0x740/0x740 [ 28.538491] [] do_fast_syscall_32+0x2f7/0x890 [ 28.544609] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.551281] [] entry_SYSENTER_compat+0x74/0x83 [ 28.558005] Dumping ftrace buffer: [ 28.561524] (ftrace buffer empty) [ 28.565209] Kernel Offset: disabled [ 28.568811] Rebooting in 86400 seconds..