[....] Starting enhanced syslogd: rsyslogd[ 10.528268] audit: type=1400 audit(1515982865.668:4): avc: denied { syslog } for pid=3172 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.718341] ================================================================== [ 27.719465] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.720403] Read of size 8 at addr ffff8801c8085140 by task syzkaller322810/3330 [ 27.721462] [ 27.721695] CPU: 1 PID: 3330 Comm: syzkaller322810 Not tainted 4.9.76-gf0f6293 #12 [ 27.722722] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.723944] ffff8801c9257ab0 ffffffff81d93149 ffffea0007202140 ffff8801c8085140 [ 27.725119] 0000000000000000 ffff8801c8085140 ffff8801d6fe2338 ffff8801c9257ae8 [ 27.726256] ffffffff8153cb43 ffff8801c8085140 0000000000000008 0000000000000000 [ 27.727409] Call Trace: [ 27.727766] [] dump_stack+0xc1/0x128 [ 27.728490] [] print_address_description+0x73/0x280 [ 27.729520] [] kasan_report+0x275/0x360 [ 27.730462] [] ? sg_remove_request+0x103/0x120 [ 27.731320] [] __asan_report_load8_noabort+0x14/0x20 [ 27.732311] [] sg_remove_request+0x103/0x120 [ 27.733121] [] sg_finish_rem_req+0x295/0x340 [ 27.733968] [] sg_read+0xa1c/0x1440 [ 27.734678] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.735582] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.736445] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.737370] [] __vfs_read+0x103/0x670 [ 27.738127] [] ? default_llseek+0x290/0x290 [ 27.742148] [] ? fsnotify+0x86/0xf30 [ 27.747496] [] ? fsnotify+0xf30/0xf30 [ 27.752927] [] ? avc_policy_seqno+0x9/0x20 [ 27.758796] [] ? selinux_file_permission+0x82/0x460 [ 27.765436] [] ? security_file_permission+0x89/0x1e0 [ 27.772168] [] ? rw_verify_area+0xe5/0x2b0 [ 27.778038] [] vfs_read+0x11e/0x380 [ 27.783297] [] SyS_read+0xd9/0x1b0 [ 27.788470] [] ? vfs_copy_file_range+0x740/0x740 [ 27.794860] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.801690] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.808256] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.814805] [ 27.816404] Allocated by task 0: [ 27.819734] (stack is not available) [ 27.823412] [ 27.825007] Freed by task 0: [ 27.827990] (stack is not available) [ 27.831671] [ 27.833264] The buggy address belongs to the object at ffff8801c8085100 [ 27.833264] which belongs to the cache fasync_cache of size 96 [ 27.845886] The buggy address is located 64 bytes inside of [ 27.845886] 96-byte region [ffff8801c8085100, ffff8801c8085160) [ 27.857572] The buggy address belongs to the page: [ 27.862477] page:ffffea0007202140 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.875649] flags: 0x8000000000000080(slab) [ 27.879938] page dumped because: kasan: bad access detected [ 27.885622] [ 27.887216] Memory state around the buggy address: [ 27.892111] ffff8801c8085000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.899451] ffff8801c8085080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.906790] >ffff8801c8085100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.914127] ^ [ 27.919545] ffff8801c8085180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.926873] ffff8801c8085200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.934200] ================================================================== [ 27.941522] Disabling lock debugging due to kernel taint [ 27.947154] Kernel panic - not syncing: panic_on_warn set ... [ 27.947154] [ 27.954495] CPU: 1 PID: 3330 Comm: syzkaller322810 Tainted: G B 4.9.76-gf0f6293 #12 [ 27.963397] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.972721] ffff8801c9257a08 ffffffff81d93149 ffffffff84195c17 ffff8801c9257ae0 [ 27.980680] 0000000000000000 ffff8801c8085140 ffff8801d6fe2338 ffff8801c9257ad0 [ 27.988658] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.996612] Call Trace: [ 27.999172] [] dump_stack+0xc1/0x128 [ 28.004516] [] panic+0x1bc/0x3a8 [ 28.009508] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.017708] [] ? preempt_schedule+0x25/0x30 [ 28.023645] [] ? ___preempt_schedule+0x16/0x18 [ 28.029854] [] kasan_end_report+0x50/0x50 [ 28.035634] [] kasan_report+0x167/0x360 [ 28.041237] [] ? sg_remove_request+0x103/0x120 [ 28.047439] [] __asan_report_load8_noabort+0x14/0x20 [ 28.054159] [] sg_remove_request+0x103/0x120 [ 28.060184] [] sg_finish_rem_req+0x295/0x340 [ 28.066211] [] sg_read+0xa1c/0x1440 [ 28.071454] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.078090] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.084469] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.091104] [] __vfs_read+0x103/0x670 [ 28.096530] [] ? default_llseek+0x290/0x290 [ 28.102473] [] ? fsnotify+0x86/0xf30 [ 28.107809] [] ? fsnotify+0xf30/0xf30 [ 28.113234] [] ? avc_policy_seqno+0x9/0x20 [ 28.119106] [] ? selinux_file_permission+0x82/0x460 [ 28.125741] [] ? security_file_permission+0x89/0x1e0 [ 28.132462] [] ? rw_verify_area+0xe5/0x2b0 [ 28.138316] [] vfs_read+0x11e/0x380 [ 28.143561] [] SyS_read+0xd9/0x1b0 [ 28.148732] [] ? vfs_copy_file_range+0x740/0x740 [ 28.155112] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.161920] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.168482] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 28.175409] Dumping ftrace buffer: [ 28.178920] (ftrace buffer empty) [ 28.182599] Kernel Offset: disabled [ 28.186195] Rebooting in 86400 seconds..