[....] Starting enhanced syslogd: rsyslogd[ 15.449280] audit: type=1400 audit(1521386180.325:4): avc: denied { syslog } for pid=3645 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.57' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.996054] ================================================================== [ 28.003436] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.010504] Read of size 8 at addr ffff8801bf7c2140 by task syzkaller342907/3801 [ 28.018010] [ 28.019615] CPU: 1 PID: 3801 Comm: syzkaller342907 Not tainted 4.9.88-gbb52bba #59 [ 28.027285] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.036607] ffff8801d7627940 ffffffff81d95f19 ffffea0006fdf080 ffff8801bf7c2140 [ 28.044566] 0000000000000000 ffff8801bf7c2140 ffff8801d7738238 ffff8801d7627978 [ 28.052530] ffffffff8153e793 ffff8801bf7c2140 0000000000000008 0000000000000000 [ 28.060491] Call Trace: [ 28.063050] [] dump_stack+0xc1/0x128 [ 28.068387] [] print_address_description+0x73/0x280 [ 28.075028] [] kasan_report+0x255/0x380 [ 28.080620] [] ? sg_remove_request+0x103/0x120 [ 28.086818] [] __asan_report_load8_noabort+0x14/0x20 [ 28.093540] [] sg_remove_request+0x103/0x120 [ 28.099567] [] sg_finish_rem_req+0x295/0x340 [ 28.105606] [] sg_read+0xa16/0x1440 [ 28.110855] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.117489] [] ? fsnotify+0x86/0xf30 [ 28.122824] [] ? fsnotify+0xf30/0xf30 [ 28.128249] [] ? avc_policy_seqno+0x9/0x20 [ 28.134105] [] do_loop_readv_writev.part.17+0xc8/0x2b0 [ 28.141002] [] do_readv_writev+0x5fd/0x740 [ 28.146853] [] ? vfs_write+0x530/0x530 [ 28.152365] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.158311] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.164682] [] ? fasync_helper+0x7a/0xb0 [ 28.170380] [] ? ioctl_preallocate+0x220/0x220 [ 28.176582] [] ? selinux_file_ioctl+0x355/0x530 [ 28.182873] [] ? selinux_capable+0x40/0x40 [ 28.188735] [] vfs_readv+0x84/0xc0 [ 28.193901] [] do_readv+0xe6/0x250 [ 28.199058] [] ? vfs_readv+0xc0/0xc0 [ 28.204397] [] ? security_file_ioctl+0x89/0xb0 [ 28.210598] [] SyS_readv+0x27/0x30 [ 28.215756] [] ? rw_copy_check_uvector+0x2c0/0x2c0 [ 28.222305] [] do_syscall_64+0x1a4/0x490 [ 28.227986] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 28.234875] [ 28.236470] Allocated by task 0: [ 28.239802] (stack is not available) [ 28.243479] [ 28.245073] Freed by task 0: [ 28.248056] (stack is not available) [ 28.251736] [ 28.253336] The buggy address belongs to the object at ffff8801bf7c2100 [ 28.253336] which belongs to the cache fasync_cache of size 96 [ 28.265957] The buggy address is located 64 bytes inside of [ 28.265957] 96-byte region [ffff8801bf7c2100, ffff8801bf7c2160) [ 28.277625] The buggy address belongs to the page: [ 28.282527] page:ffffea0006fdf080 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.290748] flags: 0x8000000000000080(slab) [ 28.295032] page dumped because: kasan: bad access detected [ 28.300704] [ 28.302301] Memory state around the buggy address: [ 28.307199] ffff8801bf7c2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.314527] ffff8801bf7c2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.321854] >ffff8801bf7c2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.329181] ^ [ 28.334599] ffff8801bf7c2180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.341925] ffff8801bf7c2200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.349249] ================================================================== [ 28.356573] Disabling lock debugging due to kernel taint [ 28.362094] Kernel panic - not syncing: panic_on_warn set ... [ 28.362094] [ 28.369438] CPU: 1 PID: 3801 Comm: syzkaller342907 Tainted: G B 4.9.88-gbb52bba #59 [ 28.378330] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.387651] ffff8801d7627898 ffffffff81d95f19 ffffffff841981e7 ffff8801d7627970 [ 28.395616] 0000000000000000 ffff8801bf7c2140 ffff8801d7738238 ffff8801d7627960 [ 28.403582] ffffffff8142fa71 0000000041b58ab3 ffffffff8418bc48 ffffffff8142f8b5 [ 28.411542] Call Trace: [ 28.414106] [] dump_stack+0xc1/0x128 [ 28.419443] [] panic+0x1bc/0x3a8 [ 28.424427] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.432623] [] ? preempt_schedule+0x25/0x30 [ 28.438560] [] ? ___preempt_schedule+0x16/0x18 [ 28.444761] [] kasan_end_report+0x50/0x50 [ 28.450526] [] kasan_report+0x16b/0x380 [ 28.456127] [] ? sg_remove_request+0x103/0x120 [ 28.462333] [] __asan_report_load8_noabort+0x14/0x20 [ 28.469057] [] sg_remove_request+0x103/0x120 [ 28.475084] [] sg_finish_rem_req+0x295/0x340 [ 28.481108] [] sg_read+0xa16/0x1440 [ 28.486352] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.492988] [] ? fsnotify+0x86/0xf30 [ 28.498323] [] ? fsnotify+0xf30/0xf30 [ 28.503744] [] ? avc_policy_seqno+0x9/0x20 [ 28.509597] [] do_loop_readv_writev.part.17+0xc8/0x2b0 [ 28.516491] [] do_readv_writev+0x5fd/0x740 [ 28.522344] [] ? vfs_write+0x530/0x530 [ 28.527856] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.533797] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.540170] [] ? fasync_helper+0x7a/0xb0 [ 28.545936] [] ? ioctl_preallocate+0x220/0x220 [ 28.552137] [] ? selinux_file_ioctl+0x355/0x530 [ 28.558428] [] ? selinux_capable+0x40/0x40 [ 28.564280] [] vfs_readv+0x84/0xc0 [ 28.569446] [] do_readv+0xe6/0x250 [ 28.574610] [] ? vfs_readv+0xc0/0xc0 [ 28.579940] [] ? security_file_ioctl+0x89/0xb0 [ 28.586139] [] SyS_readv+0x27/0x30 [ 28.591296] [] ? rw_copy_check_uvector+0x2c0/0x2c0 [ 28.597852] [] do_syscall_64+0x1a4/0x490 [ 28.603530] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 28.610896] Dumping ftrace buffer: [ 28.614406] (ftrace buffer empty) [ 28.618083] Kernel Offset: disabled [ 28.621682] Rebooting in 86400 seconds..