[....] Starting enhanced syslogd: rsyslogd[ 12.355466] audit: type=1400 audit(1515950576.650: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.0.13' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 20.711467] ================================================================== [ 20.718848] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.725918] Read of size 8 at addr ffff8801ca4381c0 by task syzkaller766085/3321 [ 20.733419] [ 20.735019] CPU: 0 PID: 3321 Comm: syzkaller766085 Not tainted 4.9.76-gf0f6293 #22 [ 20.742692] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.752016] ffff8801c8d8fa50 ffffffff81d93149 ffffea0007290e00 ffff8801ca4381c0 [ 20.759976] 0000000000000000 ffff8801ca4381c0 ffff8801c9a7a338 ffff8801c8d8fa88 [ 20.767922] ffffffff8153cb43 ffff8801ca4381c0 0000000000000008 0000000000000000 [ 20.776907] Call Trace: [ 20.779464] [] dump_stack+0xc1/0x128 [ 20.784798] [] print_address_description+0x73/0x280 [ 20.791439] [] kasan_report+0x275/0x360 [ 20.797032] [] ? sg_remove_request+0x103/0x120 [ 20.803234] [] __asan_report_load8_noabort+0x14/0x20 [ 20.809953] [] sg_remove_request+0x103/0x120 [ 20.815985] [] sg_finish_rem_req+0x295/0x340 [ 20.822123] [] sg_read+0xa1c/0x1440 [ 20.827371] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.834005] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.840992] [] ? vma_set_page_prot+0x10f/0x180 [ 20.847191] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.853837] [] __vfs_read+0x103/0x670 [ 20.859256] [] ? default_llseek+0x290/0x290 [ 20.865194] [] ? fsnotify+0x86/0xf30 [ 20.870522] [] ? fsnotify+0xf30/0xf30 [ 20.875948] [] ? avc_policy_seqno+0x9/0x20 [ 20.881801] [] ? selinux_file_permission+0x82/0x460 [ 20.888437] [] ? security_file_permission+0x89/0x1e0 [ 20.895161] [] ? rw_verify_area+0xe5/0x2b0 [ 20.901017] [] vfs_read+0x11e/0x380 [ 20.906262] [] SyS_read+0xd9/0x1b0 [ 20.911427] [] ? vfs_copy_file_range+0x740/0x740 [ 20.917804] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.924003] [] ? vfs_copy_file_range+0x740/0x740 [ 20.930374] [] do_fast_syscall_32+0x2f7/0x890 [ 20.936486] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.943207] [] entry_SYSENTER_compat+0x74/0x83 [ 20.949401] [ 20.950996] Allocated by task 0: [ 20.954326] (stack is not available) [ 20.957999] [ 20.959589] Freed by task 0: [ 20.962657] (stack is not available) [ 20.966330] [ 20.967924] The buggy address belongs to the object at ffff8801ca438180 [ 20.967924] which belongs to the cache fasync_cache of size 96 [ 20.980551] The buggy address is located 64 bytes inside of [ 20.980551] 96-byte region [ffff8801ca438180, ffff8801ca4381e0) [ 20.992225] The buggy address belongs to the page: [ 20.997120] page:ffffea0007290e00 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.005343] flags: 0x8000000000000080(slab) [ 21.009629] page dumped because: kasan: bad access detected [ 21.015299] [ 21.016889] Memory state around the buggy address: [ 21.021786] ffff8801ca438080: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.029111] ffff8801ca438100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.036436] >ffff8801ca438180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.043762] ^ [ 21.049183] ffff8801ca438200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.056509] ffff8801ca438280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.063831] ================================================================== [ 21.071155] Disabling lock debugging due to kernel taint [ 21.076990] Kernel panic - not syncing: panic_on_warn set ... [ 21.076990] [ 21.084347] CPU: 0 PID: 3321 Comm: syzkaller766085 Tainted: G B 4.9.76-gf0f6293 #22 [ 21.093236] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.102557] ffff8801c8d8f9a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8d8fa80 [ 21.110516] 0000000000000000 ffff8801ca4381c0 ffff8801c9a7a338 ffff8801c8d8fa70 [ 21.118471] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 21.126436] Call Trace: [ 21.128996] [] dump_stack+0xc1/0x128 [ 21.134330] [] panic+0x1bc/0x3a8 [ 21.139314] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.147509] [] ? preempt_schedule+0x25/0x30 [ 21.153449] [] ? ___preempt_schedule+0x16/0x18 [ 21.159649] [] kasan_end_report+0x50/0x50 [ 21.165422] [] kasan_report+0x167/0x360 [ 21.171013] [] ? sg_remove_request+0x103/0x120 [ 21.177227] [] __asan_report_load8_noabort+0x14/0x20 [ 21.183951] [] sg_remove_request+0x103/0x120 [ 21.189977] [] sg_finish_rem_req+0x295/0x340 [ 21.196010] [] sg_read+0xa1c/0x1440 [ 21.201253] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.207888] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 21.214867] [] ? vma_set_page_prot+0x10f/0x180 [ 21.221066] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.227703] [] __vfs_read+0x103/0x670 [ 21.233122] [] ? default_llseek+0x290/0x290 [ 21.239062] [] ? fsnotify+0x86/0xf30 [ 21.244391] [] ? fsnotify+0xf30/0xf30 [ 21.249810] [] ? avc_policy_seqno+0x9/0x20 [ 21.255661] [] ? selinux_file_permission+0x82/0x460 [ 21.262295] [] ? security_file_permission+0x89/0x1e0 [ 21.269013] [] ? rw_verify_area+0xe5/0x2b0 [ 21.274872] [] vfs_read+0x11e/0x380 [ 21.280118] [] SyS_read+0xd9/0x1b0 [ 21.285274] [] ? vfs_copy_file_range+0x740/0x740 [ 21.291647] [] ? do_fast_syscall_32+0xcf/0x890 [ 21.297846] [] ? vfs_copy_file_range+0x740/0x740 [ 21.304216] [] do_fast_syscall_32+0x2f7/0x890 [ 21.310328] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 21.316961] [] entry_SYSENTER_compat+0x74/0x83 [ 21.323632] Dumping ftrace buffer: [ 21.327147] (ftrace buffer empty) [ 21.330820] Kernel Offset: disabled [ 21.334416] Rebooting in 86400 seconds..