[....] Starting enhanced syslogd: rsyslogd[ 11.317168] audit: type=1400 audit(1515999784.934:4): avc: denied { syslog } for pid=3177 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.223' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.551008] ================================================================== [ 19.558396] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.566605] Read of size 8 at addr ffff8801cd68a140 by task syzkaller769251/3325 [ 19.574103] [ 19.575703] CPU: 0 PID: 3325 Comm: syzkaller769251 Not tainted 4.9.76-gf0f6293 #22 [ 19.583377] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.592964] ffff8801cc96fa50 ffffffff81d93149 ffffea000735a280 ffff8801cd68a140 [ 19.600938] 0000000000000000 ffff8801cd68a140 ffff8801c9b70238 ffff8801cc96fa88 [ 19.609265] ffffffff8153cb43 ffff8801cd68a140 0000000000000008 0000000000000000 [ 19.617241] Call Trace: [ 19.619799] [] dump_stack+0xc1/0x128 [ 19.625134] [] print_address_description+0x73/0x280 [ 19.631780] [] kasan_report+0x275/0x360 [ 19.637373] [] ? sg_remove_request+0x103/0x120 [ 19.644445] [] __asan_report_load8_noabort+0x14/0x20 [ 19.651168] [] sg_remove_request+0x103/0x120 [ 19.657202] [] sg_finish_rem_req+0x295/0x340 [ 19.663234] [] sg_read+0xa1c/0x1440 [ 19.668481] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.675116] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.681490] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.688560] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.695196] [] __vfs_read+0x103/0x670 [ 19.700618] [] ? default_llseek+0x290/0x290 [ 19.706560] [] ? fsnotify+0x86/0xf30 [ 19.711893] [] ? fsnotify+0xf30/0xf30 [ 19.717408] [] ? avc_policy_seqno+0x9/0x20 [ 19.723261] [] ? selinux_file_permission+0x82/0x460 [ 19.730157] [] ? security_file_permission+0x89/0x1e0 [ 19.736899] [] ? rw_verify_area+0xe5/0x2b0 [ 19.742771] [] vfs_read+0x11e/0x380 [ 19.748027] [] SyS_read+0xd9/0x1b0 [ 19.753191] [] ? vfs_copy_file_range+0x740/0x740 [ 19.759572] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.767169] [] ? vfs_copy_file_range+0x740/0x740 [ 19.773558] [] do_fast_syscall_32+0x2f7/0x890 [ 19.779674] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.786311] [] entry_SYSENTER_compat+0x74/0x83 [ 19.792529] [ 19.794130] Allocated by task 0: [ 19.797463] (stack is not available) [ 19.801142] [ 19.802736] Freed by task 0: [ 19.805719] (stack is not available) [ 19.809399] [ 19.810996] The buggy address belongs to the object at ffff8801cd68a100 [ 19.810996] which belongs to the cache fasync_cache of size 96 [ 19.824143] The buggy address is located 64 bytes inside of [ 19.824143] 96-byte region [ffff8801cd68a100, ffff8801cd68a160) [ 19.835826] The buggy address belongs to the page: [ 19.840736] page:ffffea000735a280 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.848963] flags: 0x8000000000000080(slab) [ 19.853248] page dumped because: kasan: bad access detected [ 19.859009] [ 19.860611] Memory state around the buggy address: [ 19.865510] ffff8801cd68a000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.872838] ffff8801cd68a080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.880166] >ffff8801cd68a100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.887494] ^ [ 19.892916] ffff8801cd68a180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.900243] ffff8801cd68a200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.907571] ================================================================== [ 19.914895] Disabling lock debugging due to kernel taint [ 19.920603] Kernel panic - not syncing: panic_on_warn set ... [ 19.920603] [ 19.928735] CPU: 0 PID: 3325 Comm: syzkaller769251 Tainted: G B 4.9.76-gf0f6293 #22 [ 19.937642] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.946974] ffff8801cc96f9a8 ffffffff81d93149 ffffffff84195c17 ffff8801cc96fa80 [ 19.954943] 0000000000000000 ffff8801cd68a140 ffff8801c9b70238 ffff8801cc96fa70 [ 19.962918] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 19.970890] Call Trace: [ 19.974143] [] dump_stack+0xc1/0x128 [ 19.979484] [] panic+0x1bc/0x3a8 [ 19.984481] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.992687] [] ? preempt_schedule+0x25/0x30 [ 19.998631] [] ? ___preempt_schedule+0x16/0x18 [ 20.004922] [] kasan_end_report+0x50/0x50 [ 20.010695] [] kasan_report+0x167/0x360 [ 20.016289] [] ? sg_remove_request+0x103/0x120 [ 20.022492] [] __asan_report_load8_noabort+0x14/0x20 [ 20.030178] [] sg_remove_request+0x103/0x120 [ 20.036206] [] sg_finish_rem_req+0x295/0x340 [ 20.042233] [] sg_read+0xa1c/0x1440 [ 20.047480] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.054118] [] ? __raw_spin_lock_init+0x1c/0x100 [ 20.060494] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.067315] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.073951] [] __vfs_read+0x103/0x670 [ 20.079377] [] ? default_llseek+0x290/0x290 [ 20.085320] [] ? fsnotify+0x86/0xf30 [ 20.090659] [] ? fsnotify+0xf30/0xf30 [ 20.096087] [] ? avc_policy_seqno+0x9/0x20 [ 20.101959] [] ? selinux_file_permission+0x82/0x460 [ 20.108593] [] ? security_file_permission+0x89/0x1e0 [ 20.115749] [] ? rw_verify_area+0xe5/0x2b0 [ 20.121602] [] vfs_read+0x11e/0x380 [ 20.126857] [] SyS_read+0xd9/0x1b0 [ 20.132018] [] ? vfs_copy_file_range+0x740/0x740 [ 20.138396] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.144600] [] ? vfs_copy_file_range+0x740/0x740 [ 20.150978] [] do_fast_syscall_32+0x2f7/0x890 [ 20.157097] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.163734] [] entry_SYSENTER_compat+0x74/0x83 [ 20.170439] Dumping ftrace buffer: [ 20.173954] (ftrace buffer empty) [ 20.177643] Kernel Offset: disabled [ 20.181243] Rebooting in 86400 seconds..