[....] Starting enhanced syslogd: rsyslogd[ 11.070936] audit: type=1400 audit(1515692143.969:4): avc: denied { syslog } for pid=3173 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.46' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.159523] ================================================================== [ 19.160695] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.161650] Read of size 8 at addr ffff8801ca1bb140 by task syzkaller606904/3321 [ 19.162727] [ 19.162959] CPU: 1 PID: 3321 Comm: syzkaller606904 Not tainted 4.9.76-g9154940 #20 [ 19.164013] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.165296] ffff8801c8907a50 ffffffff81d93149 ffffea0007286ec0 ffff8801ca1bb140 [ 19.166515] 0000000000000000 ffff8801ca1bb140 ffff8801c9714438 ffff8801c8907a88 [ 19.167800] ffffffff8153cb43 ffff8801ca1bb140 0000000000000008 0000000000000000 [ 19.169077] Call Trace: [ 19.169458] [] dump_stack+0xc1/0x128 [ 19.170194] [] print_address_description+0x73/0x280 [ 19.171124] [] kasan_report+0x275/0x360 [ 19.171920] [] ? sg_remove_request+0x103/0x120 [ 19.172772] [] __asan_report_load8_noabort+0x14/0x20 [ 19.173669] [] sg_remove_request+0x103/0x120 [ 19.174582] [] sg_finish_rem_req+0x295/0x340 [ 19.175378] [] sg_read+0xa1c/0x1440 [ 19.176121] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.176980] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.177874] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.178660] [] ? fasync_insert_entry+0x147/0x2e0 [ 19.179537] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.185671] [] __vfs_read+0x103/0x670 [ 19.191095] [] ? default_llseek+0x290/0x290 [ 19.197039] [] ? fsnotify+0x86/0xf30 [ 19.202379] [] ? fsnotify+0xf30/0xf30 [ 19.207811] [] ? avc_policy_seqno+0x9/0x20 [ 19.213670] [] ? selinux_file_permission+0x82/0x460 [ 19.220314] [] ? security_file_permission+0x89/0x1e0 [ 19.227134] [] ? rw_verify_area+0xe5/0x2b0 [ 19.232990] [] vfs_read+0x11e/0x380 [ 19.238242] [] SyS_read+0xd9/0x1b0 [ 19.243405] [] ? vfs_copy_file_range+0x740/0x740 [ 19.249789] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 19.255930] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.262144] [] ? vfs_copy_file_range+0x740/0x740 [ 19.268520] [] do_fast_syscall_32+0x2f7/0x890 [ 19.274648] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.281286] [] entry_SYSENTER_compat+0x74/0x83 [ 19.287484] [ 19.289087] Allocated by task 0: [ 19.292414] (stack is not available) [ 19.296090] [ 19.297685] Freed by task 0: [ 19.300670] (stack is not available) [ 19.304356] [ 19.305959] The buggy address belongs to the object at ffff8801ca1bb100 [ 19.305959] which belongs to the cache fasync_cache of size 96 [ 19.318586] The buggy address is located 64 bytes inside of [ 19.318586] 96-byte region [ffff8801ca1bb100, ffff8801ca1bb160) [ 19.330261] The buggy address belongs to the page: [ 19.335190] page:ffffea0007286ec0 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.343459] flags: 0x8000000000000080(slab) [ 19.347763] page dumped because: kasan: bad access detected [ 19.353445] [ 19.355040] Memory state around the buggy address: [ 19.359934] ffff8801ca1bb000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.367269] ffff8801ca1bb080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.374604] >ffff8801ca1bb100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.381932] ^ [ 19.387351] ffff8801ca1bb180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.394677] ffff8801ca1bb200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.402006] ================================================================== [ 19.409331] Disabling lock debugging due to kernel taint [ 19.415529] Kernel panic - not syncing: panic_on_warn set ... [ 19.415529] [ 19.422892] CPU: 1 PID: 3321 Comm: syzkaller606904 Tainted: G B 4.9.76-g9154940 #20 [ 19.431799] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.441148] ffff8801c89079a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8907a80 [ 19.449135] 0000000000000000 ffff8801ca1bb140 ffff8801c9714438 ffff8801c8907a70 [ 19.457112] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 19.465063] Call Trace: [ 19.467624] [] dump_stack+0xc1/0x128 [ 19.472960] [] panic+0x1bc/0x3a8 [ 19.477947] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.486150] [] ? preempt_schedule+0x25/0x30 [ 19.492105] [] ? ___preempt_schedule+0x16/0x18 [ 19.498327] [] kasan_end_report+0x50/0x50 [ 19.504097] [] kasan_report+0x167/0x360 [ 19.509689] [] ? sg_remove_request+0x103/0x120 [ 19.515890] [] __asan_report_load8_noabort+0x14/0x20 [ 19.522612] [] sg_remove_request+0x103/0x120 [ 19.528638] [] sg_finish_rem_req+0x295/0x340 [ 19.534665] [] sg_read+0xa1c/0x1440 [ 19.539925] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.546312] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.552968] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.558920] [] ? fasync_insert_entry+0x147/0x2e0 [ 19.565300] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.571950] [] __vfs_read+0x103/0x670 [ 19.577380] [] ? default_llseek+0x290/0x290 [ 19.583319] [] ? fsnotify+0x86/0xf30 [ 19.588650] [] ? fsnotify+0xf30/0xf30 [ 19.594071] [] ? avc_policy_seqno+0x9/0x20 [ 19.599924] [] ? selinux_file_permission+0x82/0x460 [ 19.606559] [] ? security_file_permission+0x89/0x1e0 [ 19.613281] [] ? rw_verify_area+0xe5/0x2b0 [ 19.619135] [] vfs_read+0x11e/0x380 [ 19.624388] [] SyS_read+0xd9/0x1b0 [ 19.629549] [] ? vfs_copy_file_range+0x740/0x740 [ 19.635934] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 19.642049] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.648248] [] ? vfs_copy_file_range+0x740/0x740 [ 19.654623] [] do_fast_syscall_32+0x2f7/0x890 [ 19.660736] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.667388] [] entry_SYSENTER_compat+0x74/0x83 [ 19.673625] Dumping ftrace buffer: [ 19.677150] (ftrace buffer empty) [ 19.680844] Kernel Offset: disabled [ 19.684445] Rebooting in 86400 seconds..