[....] Starting enhanced syslogd: rsyslogd[ 11.075047] audit: type=1400 audit(1515647999.628:4): avc: denied { syslog } for pid=3175 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.0.47' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 19.579064] ================================================================== [ 19.580194] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.581174] Read of size 8 at addr ffff8801c9a34140 by task syzkaller172996/3326 [ 19.582179] [ 19.582414] CPU: 0 PID: 3326 Comm: syzkaller172996 Not tainted 4.9.76-g9154940 #20 [ 19.583548] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.584783] ffff8801c8f17a50 ffffffff81d93149 ffffea0007268d00 ffff8801c9a34140 [ 19.586004] 0000000000000000 ffff8801c9a34140 ffff8801c8fcc438 ffff8801c8f17a88 [ 19.587198] ffffffff8153cb43 ffff8801c9a34140 0000000000000008 0000000000000000 [ 19.588394] Call Trace: [ 19.588749] [] dump_stack+0xc1/0x128 [ 19.589478] [] print_address_description+0x73/0x280 [ 19.590352] [] kasan_report+0x275/0x360 [ 19.591181] [] ? sg_remove_request+0x103/0x120 [ 19.592024] [] __asan_report_load8_noabort+0x14/0x20 [ 19.592911] [] sg_remove_request+0x103/0x120 [ 19.593707] [] sg_finish_rem_req+0x295/0x340 [ 19.594505] [] sg_read+0xa1c/0x1440 [ 19.595222] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.596131] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.597036] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.597971] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.598774] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.602792] [] __vfs_read+0x103/0x670 [ 19.608212] [] ? default_llseek+0x290/0x290 [ 19.614151] [] ? fsnotify+0x86/0xf30 [ 19.619481] [] ? fsnotify+0xf30/0xf30 [ 19.624899] [] ? avc_policy_seqno+0x9/0x20 [ 19.630751] [] ? selinux_file_permission+0x82/0x460 [ 19.637385] [] ? security_file_permission+0x89/0x1e0 [ 19.644107] [] ? rw_verify_area+0xe5/0x2b0 [ 19.649957] [] vfs_read+0x11e/0x380 [ 19.655202] [] SyS_read+0xd9/0x1b0 [ 19.661052] [] ? vfs_copy_file_range+0x740/0x740 [ 19.669428] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 19.675539] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.681740] [] ? vfs_copy_file_range+0x740/0x740 [ 19.688111] [] do_fast_syscall_32+0x2f7/0x890 [ 19.694221] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.700857] [] entry_SYSENTER_compat+0x74/0x83 [ 19.707051] [ 19.708646] Allocated by task 0: [ 19.711974] (stack is not available) [ 19.715651] [ 19.717244] Freed by task 0: [ 19.720226] (stack is not available) [ 19.723902] [ 19.725498] The buggy address belongs to the object at ffff8801c9a34100 [ 19.725498] which belongs to the cache fasync_cache of size 96 [ 19.738131] The buggy address is located 64 bytes inside of [ 19.738131] 96-byte region [ffff8801c9a34100, ffff8801c9a34160) [ 19.749804] The buggy address belongs to the page: [ 19.754706] page:ffffea0007268d00 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.762927] flags: 0x8000000000000080(slab) [ 19.767211] page dumped because: kasan: bad access detected [ 19.772887] [ 19.774481] Memory state around the buggy address: [ 19.779377] ffff8801c9a34000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.787400] ffff8801c9a34080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.797422] >ffff8801c9a34100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.804746] ^ [ 19.810161] ffff8801c9a34180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.817493] ffff8801c9a34200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.824819] ================================================================== [ 19.832144] Disabling lock debugging due to kernel taint [ 19.839691] Kernel panic - not syncing: panic_on_warn set ... [ 19.839691] [ 19.847070] CPU: 0 PID: 3326 Comm: syzkaller172996 Tainted: G B 4.9.76-g9154940 #20 [ 19.855963] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.865288] ffff8801c8f179a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8f17a80 [ 19.873245] 0000000000000000 ffff8801c9a34140 ffff8801c8fcc438 ffff8801c8f17a70 [ 19.881209] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 19.890192] Call Trace: [ 19.892752] [] dump_stack+0xc1/0x128 [ 19.898084] [] panic+0x1bc/0x3a8 [ 19.903069] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.911268] [] ? preempt_schedule+0x25/0x30 [ 19.917207] [] ? ___preempt_schedule+0x16/0x18 [ 19.923408] [] kasan_end_report+0x50/0x50 [ 19.930474] [] kasan_report+0x167/0x360 [ 19.936066] [] ? sg_remove_request+0x103/0x120 [ 19.942266] [] __asan_report_load8_noabort+0x14/0x20 [ 19.948984] [] sg_remove_request+0x103/0x120 [ 19.955009] [] sg_finish_rem_req+0x295/0x340 [ 19.961036] [] sg_read+0xa1c/0x1440 [ 19.966280] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.972654] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.979288] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.986271] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.992210] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.998845] [] __vfs_read+0x103/0x670 [ 20.004263] [] ? default_llseek+0x290/0x290 [ 20.012286] [] ? fsnotify+0x86/0xf30 [ 20.017617] [] ? fsnotify+0xf30/0xf30 [ 20.023035] [] ? avc_policy_seqno+0x9/0x20 [ 20.028886] [] ? selinux_file_permission+0x82/0x460 [ 20.035518] [] ? security_file_permission+0x89/0x1e0 [ 20.042239] [] ? rw_verify_area+0xe5/0x2b0 [ 20.048090] [] vfs_read+0x11e/0x380 [ 20.053337] [] SyS_read+0xd9/0x1b0 [ 20.058493] [] ? vfs_copy_file_range+0x740/0x740 [ 20.064867] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 20.070980] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.077178] [] ? vfs_copy_file_range+0x740/0x740 [ 20.083551] [] do_fast_syscall_32+0x2f7/0x890 [ 20.089665] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.096299] [] entry_SYSENTER_compat+0x74/0x83 [ 20.103270] Dumping ftrace buffer: [ 20.106782] (ftrace buffer empty) [ 20.110457] Kernel Offset: disabled [ 20.114050] Rebooting in 86400 seconds..