[....] Starting enhanced syslogd: rsyslogd[ 13.311543] audit: type=1400 audit(1515917345.294:4): avc: denied { syslog } for pid=3178 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.15.213' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.649734] ================================================================== [ 33.657145] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 33.664218] Read of size 8 at addr ffff8801c86c6140 by task syzkaller023597/3337 [ 33.671724] [ 33.673324] CPU: 1 PID: 3337 Comm: syzkaller023597 Not tainted 4.9.76-g8e170a5 #21 [ 33.681004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.690330] ffff8801c87bf940 ffffffff81d93149 ffffea000721b180 ffff8801c86c6140 [ 33.698282] 0000000000000000 ffff8801c86c6140 ffff8801c9cd2338 ffff8801c87bf978 [ 33.706237] ffffffff8153cb43 ffff8801c86c6140 0000000000000008 0000000000000000 [ 33.714189] Call Trace: [ 33.716744] [] dump_stack+0xc1/0x128 [ 33.722079] [] print_address_description+0x73/0x280 [ 33.728711] [] kasan_report+0x275/0x360 [ 33.734301] [] ? sg_remove_request+0x103/0x120 [ 33.740507] [] __asan_report_load8_noabort+0x14/0x20 [ 33.747223] [] sg_remove_request+0x103/0x120 [ 33.753269] [] sg_finish_rem_req+0x295/0x340 [ 33.759291] [] sg_read+0xa1c/0x1440 [ 33.764533] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.771165] [] ? fsnotify+0xf30/0xf30 [ 33.776581] [] ? avc_policy_seqno+0x9/0x20 [ 33.782445] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 33.789432] [] ? security_file_permission+0x89/0x1e0 [ 33.796150] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.802778] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.809407] [] compat_do_readv_writev+0x522/0x760 [ 33.815873] [] ? do_pwritev+0x1a0/0x1a0 [ 33.821463] [] ? fasync_insert_entry+0x147/0x2e0 [ 33.827833] [] ? dev_seq_stop+0x50/0x50 [ 33.833421] [] ? sg_fasync+0x8d/0xb0 [ 33.838748] [] ? ioctl_preallocate+0x220/0x220 [ 33.844951] [] ? selinux_file_ioctl+0x355/0x530 [ 33.851235] [] ? __pmd_alloc+0x410/0x410 [ 33.856912] [] ? selinux_capable+0x40/0x40 [ 33.862759] [] compat_readv+0xe3/0x150 [ 33.868283] [] do_compat_readv+0xf4/0x1d0 [ 33.874047] [] ? compat_readv+0x150/0x150 [ 33.879811] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 33.885931] [] compat_SyS_readv+0x26/0x30 [ 33.891694] [] ? SyS_pwritev2+0x80/0x80 [ 33.897293] [] do_fast_syscall_32+0x2f7/0x890 [ 33.903403] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.910035] [] entry_SYSENTER_compat+0x74/0x83 [ 33.916237] [ 33.917837] Allocated by task 0: [ 33.921172] (stack is not available) [ 33.924849] [ 33.926442] Freed by task 0: [ 33.929424] (stack is not available) [ 33.933101] [ 33.934695] The buggy address belongs to the object at ffff8801c86c6100 [ 33.934695] which belongs to the cache fasync_cache of size 96 [ 33.947749] The buggy address is located 64 bytes inside of [ 33.947749] 96-byte region [ffff8801c86c6100, ffff8801c86c6160) [ 33.959435] The buggy address belongs to the page: [ 33.959442] page:ffffea000721b180 count:1 mapcount:0 mapping: (null) index:0x0 [ 33.959445] flags: 0x8000000000000080(slab) [ 33.959446] page dumped because: kasan: bad access detected [ 33.959447] [ 33.959448] Memory state around the buggy address: [ 33.959452] ffff8801c86c6000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 33.959454] ffff8801c86c6080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.959457] >ffff8801c86c6100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.959459] ^ [ 33.959462] ffff8801c86c6180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.959464] ffff8801c86c6200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.959465] ================================================================== [ 33.959467] Disabling lock debugging due to kernel taint [ 33.962487] Kernel panic - not syncing: panic_on_warn set ... [ 33.962487] [ 33.962493] CPU: 1 PID: 3337 Comm: syzkaller023597 Tainted: G B 4.9.76-g8e170a5 #21 [ 33.962495] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.962503] ffff8801c87bf898 ffffffff81d93149 ffffffff84195c17 ffff8801c87bf970 [ 33.962508] 0000000000000000 ffff8801c86c6140 ffff8801c9cd2338 ffff8801c87bf960 [ 33.962513] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 33.962514] Call Trace: [ 33.962521] [] dump_stack+0xc1/0x128 [ 33.962528] [] panic+0x1bc/0x3a8 [ 33.962533] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 33.962539] [] ? preempt_schedule+0x25/0x30 [ 33.962543] [] ? ___preempt_schedule+0x16/0x18 [ 33.962549] [] kasan_end_report+0x50/0x50 [ 33.962552] [] kasan_report+0x167/0x360 [ 33.962557] [] ? sg_remove_request+0x103/0x120 [ 33.962561] [] __asan_report_load8_noabort+0x14/0x20 [ 33.962565] [] sg_remove_request+0x103/0x120 [ 33.962568] [] sg_finish_rem_req+0x295/0x340 [ 33.962572] [] sg_read+0xa1c/0x1440 [ 33.962576] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.962579] [] ? fsnotify+0xf30/0xf30 [ 33.962585] [] ? avc_policy_seqno+0x9/0x20 [ 33.962590] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 33.962594] [] ? security_file_permission+0x89/0x1e0 [ 33.962598] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.962601] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.962605] [] compat_do_readv_writev+0x522/0x760 [ 33.962609] [] ? do_pwritev+0x1a0/0x1a0 [ 33.962613] [] ? fasync_insert_entry+0x147/0x2e0 [ 33.962617] [] ? dev_seq_stop+0x50/0x50 [ 33.962620] [] ? sg_fasync+0x8d/0xb0 [ 33.962623] [] ? ioctl_preallocate+0x220/0x220 [ 33.962628] [] ? selinux_file_ioctl+0x355/0x530 [ 33.962631] [] ? __pmd_alloc+0x410/0x410 [ 33.962635] [] ? selinux_capable+0x40/0x40 [ 33.962639] [] compat_readv+0xe3/0x150 [ 33.962643] [] do_compat_readv+0xf4/0x1d0 [ 33.962647] [] ? compat_readv+0x150/0x150 [ 33.962652] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 33.962656] [] compat_SyS_readv+0x26/0x30 [ 33.962660] [] ? SyS_pwritev2+0x80/0x80 [ 33.962663] [] do_fast_syscall_32+0x2f7/0x890 [ 33.962667] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.962671] [] entry_SYSENTER_compat+0x74/0x83 [ 33.964894] Dumping ftrace buffer: [ 33.964896] (ftrace buffer empty) [ 33.964898] Kernel Offset: disabled [ 34.332300] Rebooting in 86400 seconds..