[....] Starting enhanced syslogd: rsyslogd[ 12.484026] audit: type=1400 audit(1515425165.920:4): avc: denied { syslog } for pid=3176 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.48' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 21.601421] ================================================================== [ 21.608815] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 21.615899] Read of size 8 at addr ffff8801c90b9140 by task syzkaller454406/3325 [ 21.623395] [ 21.624996] CPU: 0 PID: 3325 Comm: syzkaller454406 Not tainted 4.9.75-g5f5e5d4 #7 [ 21.632580] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.641901] ffff8801c9b8fab0 ffffffff81d93049 ffffea0007242e40 ffff8801c90b9140 [ 21.649858] 0000000000000000 ffff8801c90b9140 ffff8801c93d8238 ffff8801c9b8fae8 [ 21.657803] ffffffff8153ca53 ffff8801c90b9140 0000000000000008 0000000000000000 [ 21.665748] Call Trace: [ 21.668303] [] dump_stack+0xc1/0x128 [ 21.673633] [] print_address_description+0x73/0x280 [ 21.680272] [] kasan_report+0x275/0x360 [ 21.685862] [] ? sg_remove_request+0x103/0x120 [ 21.692066] [] __asan_report_load8_noabort+0x14/0x20 [ 21.698792] [] sg_remove_request+0x103/0x120 [ 21.704817] [] sg_finish_rem_req+0x295/0x340 [ 21.710840] [] sg_read+0xa1c/0x1440 [ 21.716083] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.722714] [] ? fasync_insert_entry+0x147/0x2e0 [ 21.729095] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.735728] [] __vfs_read+0x103/0x670 [ 21.741143] [] ? default_llseek+0x290/0x290 [ 21.747084] [] ? fsnotify+0x86/0xf30 [ 21.752409] [] ? fsnotify+0xf30/0xf30 [ 21.757826] [] ? avc_policy_seqno+0x9/0x20 [ 21.763695] [] ? selinux_file_permission+0x82/0x460 [ 21.770354] [] ? security_file_permission+0x89/0x1e0 [ 21.777080] [] ? rw_verify_area+0xe5/0x2b0 [ 21.782929] [] vfs_read+0x11e/0x380 [ 21.788171] [] SyS_read+0xd9/0x1b0 [ 21.793333] [] ? vfs_copy_file_range+0x740/0x740 [ 21.799705] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.806511] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 21.813062] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.819616] [ 21.821209] Allocated by task 0: [ 21.824542] (stack is not available) [ 21.828222] [ 21.829813] Freed by task 0: [ 21.832793] (stack is not available) [ 21.836474] [ 21.838072] The buggy address belongs to the object at ffff8801c90b9100 [ 21.838072] which belongs to the cache fasync_cache of size 96 [ 21.850693] The buggy address is located 64 bytes inside of [ 21.850693] 96-byte region [ffff8801c90b9100, ffff8801c90b9160) [ 21.862364] The buggy address belongs to the page: [ 21.867262] page:ffffea0007242e40 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.875483] flags: 0x8000000000000080(slab) [ 21.879765] page dumped because: kasan: bad access detected [ 21.885436] [ 21.887027] Memory state around the buggy address: [ 21.891920] ffff8801c90b9000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.899252] ffff8801c90b9080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.906576] >ffff8801c90b9100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.913900] ^ [ 21.919318] ffff8801c90b9180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.926660] ffff8801c90b9200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.933983] ================================================================== [ 21.941304] Disabling lock debugging due to kernel taint [ 21.946777] Kernel panic - not syncing: panic_on_warn set ... [ 21.946777] [ 21.954125] CPU: 0 PID: 3325 Comm: syzkaller454406 Tainted: G B 4.9.75-g5f5e5d4 #7 [ 21.962933] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.972261] ffff8801c9b8fa08 ffffffff81d93049 ffffffff84195be7 ffff8801c9b8fae0 [ 21.980235] 0000000000000000 ffff8801c90b9140 ffff8801c93d8238 ffff8801c9b8fad0 [ 21.988188] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 21.996140] Call Trace: [ 21.998697] [] dump_stack+0xc1/0x128 [ 22.004025] [] panic+0x1bc/0x3a8 [ 22.009013] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 22.017219] [] ? preempt_schedule+0x25/0x30 [ 22.023157] [] ? ___preempt_schedule+0x16/0x18 [ 22.029355] [] kasan_end_report+0x50/0x50 [ 22.035116] [] kasan_report+0x167/0x360 [ 22.040705] [] ? sg_remove_request+0x103/0x120 [ 22.046906] [] __asan_report_load8_noabort+0x14/0x20 [ 22.053623] [] sg_remove_request+0x103/0x120 [ 22.059665] [] sg_finish_rem_req+0x295/0x340 [ 22.065688] [] sg_read+0xa1c/0x1440 [ 22.070937] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.077574] [] ? fasync_insert_entry+0x147/0x2e0 [ 22.083944] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.090583] [] __vfs_read+0x103/0x670 [ 22.096002] [] ? default_llseek+0x290/0x290 [ 22.101947] [] ? fsnotify+0x86/0xf30 [ 22.107279] [] ? fsnotify+0xf30/0xf30 [ 22.112695] [] ? avc_policy_seqno+0x9/0x20 [ 22.118545] [] ? selinux_file_permission+0x82/0x460 [ 22.125184] [] ? security_file_permission+0x89/0x1e0 [ 22.131903] [] ? rw_verify_area+0xe5/0x2b0 [ 22.137754] [] vfs_read+0x11e/0x380 [ 22.142999] [] SyS_read+0xd9/0x1b0 [ 22.148156] [] ? vfs_copy_file_range+0x740/0x740 [ 22.154531] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 22.161340] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.167889] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 22.174920] Dumping ftrace buffer: [ 22.178432] (ftrace buffer empty) [ 22.182107] Kernel Offset: disabled [ 22.185704] Rebooting in 86400 seconds..