[....] Starting enhanced syslogd: rsyslogd[ 11.265969] audit: type=1400 audit(1516087632.529:4): avc: denied { syslog } for pid=3180 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.242' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 25.120014] ================================================================== [ 25.127421] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 25.134507] Read of size 8 at addr ffff8801cae6a140 by task syzkaller905407/3335 [ 25.142006] [ 25.143625] CPU: 1 PID: 3335 Comm: syzkaller905407 Not tainted 4.9.76-g8dec074 #23 [ 25.151299] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.160635] ffff8801c9277a50 ffffffff81d93169 ffffea00072b9a80 ffff8801cae6a140 [ 25.168608] 0000000000000000 ffff8801cae6a140 ffff8801c99f4438 ffff8801c9277a88 [ 25.176563] ffffffff8153cb43 ffff8801cae6a140 0000000000000008 0000000000000000 [ 25.184515] Call Trace: [ 25.187079] [] dump_stack+0xc1/0x128 [ 25.192419] [] print_address_description+0x73/0x280 [ 25.199059] [] kasan_report+0x275/0x360 [ 25.204653] [] ? sg_remove_request+0x103/0x120 [ 25.210854] [] __asan_report_load8_noabort+0x14/0x20 [ 25.217587] [] sg_remove_request+0x103/0x120 [ 25.223614] [] sg_finish_rem_req+0x295/0x340 [ 25.229637] [] sg_read+0xa1c/0x1440 [ 25.234894] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.241538] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.247916] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.254725] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.261367] [] __vfs_read+0x103/0x670 [ 25.266786] [] ? default_llseek+0x290/0x290 [ 25.272738] [] ? fsnotify+0x86/0xf30 [ 25.278432] [] ? fsnotify+0xf30/0xf30 [ 25.283869] [] ? avc_policy_seqno+0x9/0x20 [ 25.289737] [] ? selinux_file_permission+0x82/0x460 [ 25.296380] [] ? security_file_permission+0x89/0x1e0 [ 25.303103] [] ? rw_verify_area+0xe5/0x2b0 [ 25.308955] [] vfs_read+0x11e/0x380 [ 25.314208] [] SyS_read+0xd9/0x1b0 [ 25.319387] [] ? vfs_copy_file_range+0x740/0x740 [ 25.325766] [] ? do_fast_syscall_32+0xcf/0x890 [ 25.331965] [] ? vfs_copy_file_range+0x740/0x740 [ 25.338340] [] do_fast_syscall_32+0x2f7/0x890 [ 25.344465] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.351121] [] entry_SYSENTER_compat+0x74/0x83 [ 25.357321] [ 25.358920] Allocated by task 0: [ 25.362273] (stack is not available) [ 25.365953] [ 25.367551] Freed by task 0: [ 25.370536] (stack is not available) [ 25.374217] [ 25.375817] The buggy address belongs to the object at ffff8801cae6a100 [ 25.375817] which belongs to the cache fasync_cache of size 96 [ 25.388452] The buggy address is located 64 bytes inside of [ 25.388452] 96-byte region [ffff8801cae6a100, ffff8801cae6a160) [ 25.400131] The buggy address belongs to the page: [ 25.405055] page:ffffea00072b9a80 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.413289] flags: 0x8000000000000080(slab) [ 25.417576] page dumped because: kasan: bad access detected [ 25.423249] [ 25.424857] Memory state around the buggy address: [ 25.429754] ffff8801cae6a000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.437081] ffff8801cae6a080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.444411] >ffff8801cae6a100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.451737] ^ [ 25.457153] ffff8801cae6a180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.464497] ffff8801cae6a200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.471821] ================================================================== [ 25.479145] Disabling lock debugging due to kernel taint [ 25.484731] Kernel panic - not syncing: panic_on_warn set ... [ 25.484731] [ 25.492071] CPU: 1 PID: 3335 Comm: syzkaller905407 Tainted: G B 4.9.76-g8dec074 #23 [ 25.500970] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.510298] ffff8801c92779a8 ffffffff81d93169 ffffffff84195c2f ffff8801c9277a80 [ 25.518275] 0000000000000000 ffff8801cae6a140 ffff8801c99f4438 ffff8801c9277a70 [ 25.526232] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 25.534204] Call Trace: [ 25.536768] [] dump_stack+0xc1/0x128 [ 25.542105] [] panic+0x1bc/0x3a8 [ 25.547092] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.555308] [] ? preempt_schedule+0x25/0x30 [ 25.561250] [] ? ___preempt_schedule+0x16/0x18 [ 25.567461] [] kasan_end_report+0x50/0x50 [ 25.573229] [] kasan_report+0x167/0x360 [ 25.578824] [] ? sg_remove_request+0x103/0x120 [ 25.585028] [] __asan_report_load8_noabort+0x14/0x20 [ 25.591761] [] sg_remove_request+0x103/0x120 [ 25.597788] [] sg_finish_rem_req+0x295/0x340 [ 25.603817] [] sg_read+0xa1c/0x1440 [ 25.609061] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.615724] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.622101] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.628921] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.635558] [] __vfs_read+0x103/0x670 [ 25.640978] [] ? default_llseek+0x290/0x290 [ 25.646927] [] ? fsnotify+0x86/0xf30 [ 25.652258] [] ? fsnotify+0xf30/0xf30 [ 25.657704] [] ? avc_policy_seqno+0x9/0x20 [ 25.663561] [] ? selinux_file_permission+0x82/0x460 [ 25.670369] [] ? security_file_permission+0x89/0x1e0 [ 25.677090] [] ? rw_verify_area+0xe5/0x2b0 [ 25.682960] [] vfs_read+0x11e/0x380 [ 25.688217] [] SyS_read+0xd9/0x1b0 [ 25.693376] [] ? vfs_copy_file_range+0x740/0x740 [ 25.699763] [] ? do_fast_syscall_32+0xcf/0x890 [ 25.705967] [] ? vfs_copy_file_range+0x740/0x740 [ 25.712339] [] do_fast_syscall_32+0x2f7/0x890 [ 25.718461] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.725098] [] entry_SYSENTER_compat+0x74/0x83 [ 25.731338] Dumping ftrace buffer: [ 25.734847] (ftrace buffer empty) [ 25.738534] Kernel Offset: disabled [ 25.742128] Rebooting in 86400 seconds..