[....] Starting enhanced syslogd: rsyslogd[ 11.289089] audit: type=1400 audit(1516460365.037:4): avc: denied { syslog } for pid=3179 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.18' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.071610] ================================================================== [ 27.078986] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.086051] Read of size 8 at addr ffff8801c893d140 by task syzkaller113519/3336 [ 27.093549] [ 27.095148] CPU: 1 PID: 3336 Comm: syzkaller113519 Not tainted 4.9.77-ge12a9c4 #18 [ 27.102818] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.112138] ffff8801c906fab0 ffffffff81d941c9 ffffea0007224f40 ffff8801c893d140 [ 27.120099] 0000000000000000 ffff8801c893d140 ffff8801c9584438 ffff8801c906fae8 [ 27.128061] ffffffff8153db93 ffff8801c893d140 0000000000000008 0000000000000000 [ 27.136019] Call Trace: [ 27.138578] [] dump_stack+0xc1/0x128 [ 27.143909] [] print_address_description+0x73/0x280 [ 27.150544] [] kasan_report+0x275/0x360 [ 27.156135] [] ? sg_remove_request+0x103/0x120 [ 27.162342] [] __asan_report_load8_noabort+0x14/0x20 [ 27.169060] [] sg_remove_request+0x103/0x120 [ 27.175085] [] sg_finish_rem_req+0x295/0x340 [ 27.181110] [] sg_read+0xa1c/0x1440 [ 27.186354] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.192988] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.199979] [] ? fasync_helper+0x37/0xb0 [ 27.205660] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.212295] [] __vfs_read+0x103/0x670 [ 27.217718] [] ? default_llseek+0x290/0x290 [ 27.223661] [] ? fsnotify+0x86/0xf30 [ 27.228988] [] ? fsnotify+0xf30/0xf30 [ 27.234407] [] ? avc_policy_seqno+0x9/0x20 [ 27.240257] [] ? selinux_file_permission+0x82/0x460 [ 27.246888] [] ? security_file_permission+0x89/0x1e0 [ 27.253610] [] ? rw_verify_area+0xe5/0x2b0 [ 27.259462] [] vfs_read+0x11e/0x380 [ 27.264706] [] SyS_read+0xd9/0x1b0 [ 27.269864] [] ? vfs_copy_file_range+0x740/0x740 [ 27.276246] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.283054] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.289609] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.296153] [ 27.297747] Allocated by task 0: [ 27.301075] (stack is not available) [ 27.304754] [ 27.306355] Freed by task 0: [ 27.309337] (stack is not available) [ 27.313015] [ 27.314613] The buggy address belongs to the object at ffff8801c893d100 [ 27.314613] which belongs to the cache fasync_cache of size 96 [ 27.327233] The buggy address is located 64 bytes inside of [ 27.327233] 96-byte region [ffff8801c893d100, ffff8801c893d160) [ 27.338897] The buggy address belongs to the page: [ 27.343793] page:ffffea0007224f40 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.352017] flags: 0x8000000000000080(slab) [ 27.356302] page dumped because: kasan: bad access detected [ 27.361975] [ 27.363567] Memory state around the buggy address: [ 27.368464] ffff8801c893d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.375792] ffff8801c893d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.383120] >ffff8801c893d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.390446] ^ [ 27.395863] ffff8801c893d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.403188] ffff8801c893d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.410514] ================================================================== [ 27.417840] Disabling lock debugging due to kernel taint [ 27.423345] Kernel panic - not syncing: panic_on_warn set ... [ 27.423345] [ 27.430692] CPU: 1 PID: 3336 Comm: syzkaller113519 Tainted: G B 4.9.77-ge12a9c4 #18 [ 27.439581] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.448914] ffff8801c906fa08 ffffffff81d941c9 ffffffff841970ff ffff8801c906fae0 [ 27.456886] 0000000000000000 ffff8801c893d140 ffff8801c9584438 ffff8801c906fad0 [ 27.464849] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 27.472813] Call Trace: [ 27.475370] [] dump_stack+0xc1/0x128 [ 27.480707] [] panic+0x1bc/0x3a8 [ 27.485697] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.493897] [] ? preempt_schedule+0x25/0x30 [ 27.499835] [] ? ___preempt_schedule+0x16/0x18 [ 27.506037] [] kasan_end_report+0x50/0x50 [ 27.511800] [] kasan_report+0x167/0x360 [ 27.517396] [] ? sg_remove_request+0x103/0x120 [ 27.523595] [] __asan_report_load8_noabort+0x14/0x20 [ 27.530323] [] sg_remove_request+0x103/0x120 [ 27.536349] [] sg_finish_rem_req+0x295/0x340 [ 27.542375] [] sg_read+0xa1c/0x1440 [ 27.547620] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.554257] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.561238] [] ? fasync_helper+0x37/0xb0 [ 27.566916] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.573554] [] __vfs_read+0x103/0x670 [ 27.578972] [] ? default_llseek+0x290/0x290 [ 27.584913] [] ? fsnotify+0x86/0xf30 [ 27.590243] [] ? fsnotify+0xf30/0xf30 [ 27.595662] [] ? avc_policy_seqno+0x9/0x20 [ 27.601525] [] ? selinux_file_permission+0x82/0x460 [ 27.608159] [] ? security_file_permission+0x89/0x1e0 [ 27.614879] [] ? rw_verify_area+0xe5/0x2b0 [ 27.620730] [] vfs_read+0x11e/0x380 [ 27.625973] [] SyS_read+0xd9/0x1b0 [ 27.631137] [] ? vfs_copy_file_range+0x740/0x740 [ 27.637508] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.644317] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.650868] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.657818] Dumping ftrace buffer: [ 27.661329] (ftrace buffer empty) [ 27.665010] Kernel Offset: disabled [ 27.668621] Rebooting in 86400 seconds..