[....] Starting enhanced syslogd: rsyslogd[ 12.645350] audit: type=1400 audit(1521034205.422:4): avc: denied { syslog } for pid=3650 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.10.7' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.116274] ================================================================== [ 26.123655] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.130731] Read of size 8 at addr ffff8801c04da140 by task syzkaller284451/3806 [ 26.138230] [ 26.139829] CPU: 0 PID: 3806 Comm: syzkaller284451 Not tainted 4.9.87-g97d7f1c #54 [ 26.147509] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.156835] ffff8801d7eaf940 ffffffff81d95a19 ffffea0007013680 ffff8801c04da140 [ 26.164800] 0000000000000000 ffff8801c04da140 ffff8801b23a4438 ffff8801d7eaf978 [ 26.172763] ffffffff8153e333 ffff8801c04da140 0000000000000008 0000000000000000 [ 26.180727] Call Trace: [ 26.183285] [] dump_stack+0xc1/0x128 [ 26.188617] [] print_address_description+0x73/0x280 [ 26.195253] [] kasan_report+0x275/0x360 [ 26.200846] [] ? sg_remove_request+0x103/0x120 [ 26.207047] [] __asan_report_load8_noabort+0x14/0x20 [ 26.213768] [] sg_remove_request+0x103/0x120 [ 26.219795] [] sg_finish_rem_req+0x295/0x340 [ 26.225820] [] sg_read+0xa16/0x1440 [ 26.231066] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.237702] [] ? fsnotify+0x86/0xf30 [ 26.243031] [] ? fsnotify+0xf30/0xf30 [ 26.248450] [] ? avc_policy_seqno+0x9/0x20 [ 26.254301] [] do_loop_readv_writev.part.17+0xc8/0x2b0 [ 26.261194] [] do_readv_writev+0x5fd/0x740 [ 26.267044] [] ? fasync_helper+0x37/0xb0 [ 26.272719] [] ? vfs_write+0x530/0x530 [ 26.278223] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.284594] [] vfs_readv+0x84/0xc0 [ 26.289749] [] do_readv+0xe6/0x250 [ 26.294907] [] ? vfs_readv+0xc0/0xc0 [ 26.300238] [] ? f_getown+0xb0/0xb0 [ 26.305484] [] SyS_readv+0x27/0x30 [ 26.310653] [] ? rw_copy_check_uvector+0x2c0/0x2c0 [ 26.317199] [] do_syscall_64+0x1a4/0x490 [ 26.322877] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 26.329769] [ 26.331364] Allocated by task 0: [ 26.334695] (stack is not available) [ 26.338372] [ 26.339966] Freed by task 0: [ 26.342949] (stack is not available) [ 26.346628] [ 26.348223] The buggy address belongs to the object at ffff8801c04da100 [ 26.348223] which belongs to the cache fasync_cache of size 96 [ 26.360842] The buggy address is located 64 bytes inside of [ 26.360842] 96-byte region [ffff8801c04da100, ffff8801c04da160) [ 26.372505] The buggy address belongs to the page: [ 26.377402] page:ffffea0007013680 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.385624] flags: 0x8000000000000080(slab) [ 26.389909] page dumped because: kasan: bad access detected [ 26.395581] [ 26.397172] Memory state around the buggy address: [ 26.402067] ffff8801c04da000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.409390] ffff8801c04da080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.416714] >ffff8801c04da100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.424036] ^ [ 26.429453] ffff8801c04da180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.436780] ffff8801c04da200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.444105] ================================================================== [ 26.451430] Disabling lock debugging due to kernel taint [ 26.457053] Kernel panic - not syncing: panic_on_warn set ... [ 26.457053] [ 26.464384] CPU: 0 PID: 3806 Comm: syzkaller284451 Tainted: G B 4.9.87-g97d7f1c #54 [ 26.473271] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.482594] ffff8801d7eaf898 ffffffff81d95a19 ffffffff84197bf7 ffff8801d7eaf970 [ 26.490568] 0000000000000000 ffff8801c04da140 ffff8801b23a4438 ffff8801d7eaf960 [ 26.498530] ffffffff8142f7e1 0000000041b58ab3 ffffffff8418b658 ffffffff8142f625 [ 26.506493] Call Trace: [ 26.509050] [] dump_stack+0xc1/0x128 [ 26.514388] [] panic+0x1bc/0x3a8 [ 26.519376] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 26.527572] [] ? preempt_schedule+0x25/0x30 [ 26.533510] [] ? ___preempt_schedule+0x16/0x18 [ 26.539719] [] kasan_end_report+0x50/0x50 [ 26.545485] [] kasan_report+0x167/0x360 [ 26.551077] [] ? sg_remove_request+0x103/0x120 [ 26.557278] [] __asan_report_load8_noabort+0x14/0x20 [ 26.563998] [] sg_remove_request+0x103/0x120 [ 26.570026] [] sg_finish_rem_req+0x295/0x340 [ 26.576049] [] sg_read+0xa16/0x1440 [ 26.581290] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.587924] [] ? fsnotify+0x86/0xf30 [ 26.593252] [] ? fsnotify+0xf30/0xf30 [ 26.598668] [] ? avc_policy_seqno+0x9/0x20 [ 26.604524] [] do_loop_readv_writev.part.17+0xc8/0x2b0 [ 26.611416] [] do_readv_writev+0x5fd/0x740 [ 26.617271] [] ? fasync_helper+0x37/0xb0 [ 26.622950] [] ? vfs_write+0x530/0x530 [ 26.628457] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.634828] [] vfs_readv+0x84/0xc0 [ 26.639983] [] do_readv+0xe6/0x250 [ 26.645140] [] ? vfs_readv+0xc0/0xc0 [ 26.650476] [] ? f_getown+0xb0/0xb0 [ 26.655719] [] SyS_readv+0x27/0x30 [ 26.660874] [] ? rw_copy_check_uvector+0x2c0/0x2c0 [ 26.667419] [] do_syscall_64+0x1a4/0x490 [ 26.673097] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 26.680374] Dumping ftrace buffer: [ 26.683885] (ftrace buffer empty) [ 26.687564] Kernel Offset: disabled [ 26.691159] Rebooting in 86400 seconds..