[....] Starting enhanced syslogd: rsyslogd[ 12.374032] audit: type=1400 audit(1519739848.740:4): avc: denied { syslog } for pid=3453 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.0.53' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 20.750361] ================================================================== [ 20.757753] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.764823] Read of size 8 at addr ffff8801cb138140 by task syzkaller153361/3602 [ 20.772322] [ 20.773921] CPU: 1 PID: 3602 Comm: syzkaller153361 Not tainted 4.9.84-ge7f51a5 #45 [ 20.781956] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.791287] ffff8801c354f950 ffffffff81d956b9 ffffea00072c4e00 ffff8801cb138140 [ 20.799272] 0000000000000000 ffff8801cb138140 ffff8801c1e00238 ffff8801c354f988 [ 20.807244] ffffffff8153e1a3 ffff8801cb138140 0000000000000008 0000000000000000 [ 20.815214] Call Trace: [ 20.817774] [] dump_stack+0xc1/0x128 [ 20.823111] [] print_address_description+0x73/0x280 [ 20.829743] [] kasan_report+0x275/0x360 [ 20.835338] [] ? sg_remove_request+0x103/0x120 [ 20.841538] [] __asan_report_load8_noabort+0x14/0x20 [ 20.848260] [] sg_remove_request+0x103/0x120 [ 20.854295] [] sg_finish_rem_req+0x295/0x340 [ 20.860329] [] sg_read+0xa16/0x1440 [ 20.865573] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.872206] [] ? fsnotify+0xf30/0xf30 [ 20.877629] [] ? avc_policy_seqno+0x9/0x20 [ 20.883484] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.890466] [] ? security_file_permission+0x89/0x1e0 [ 20.897186] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.903819] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.910458] [] do_readv_writev+0x520/0x750 [ 20.916313] [] ? vfs_write+0x530/0x530 [ 20.921822] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.927763] [] ? do_huge_pmd_anonymous_page+0x2d4/0x10d0 [ 20.934836] [] ? handle_mm_fault+0x6ee/0x2530 [ 20.940953] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.947761] [] ? __pmd_alloc+0x410/0x410 [ 20.953439] [] vfs_readv+0x84/0xc0 [ 20.958597] [] do_readv+0xe6/0x250 [ 20.963753] [] ? vfs_readv+0xc0/0xc0 [ 20.969084] [] SyS_readv+0x27/0x30 [ 20.974244] [] ? rw_copy_check_uvector+0x2c0/0x2c0 [ 20.980794] [] do_syscall_64+0x1a4/0x490 [ 20.986477] [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 [ 20.993369] [ 20.994968] Allocated by task 0: [ 20.998298] (stack is not available) [ 21.001976] [ 21.003570] Freed by task 0: [ 21.006554] (stack is not available) [ 21.010233] [ 21.011830] The buggy address belongs to the object at ffff8801cb138100 [ 21.011830] which belongs to the cache fasync_cache of size 96 [ 21.024466] The buggy address is located 64 bytes inside of [ 21.024466] 96-byte region [ffff8801cb138100, ffff8801cb138160) [ 21.036134] The buggy address belongs to the page: [ 21.041031] page:ffffea00072c4e00 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.049257] flags: 0x8000000000000080(slab) [ 21.053544] page dumped because: kasan: bad access detected [ 21.059217] [ 21.060811] Memory state around the buggy address: [ 21.065719] ffff8801cb138000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.073048] ffff8801cb138080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.080377] >ffff8801cb138100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.087704] ^ [ 21.093128] ffff8801cb138180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.100463] ffff8801cb138200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.107792] ================================================================== [ 21.115118] Disabling lock debugging due to kernel taint [ 21.120612] Kernel panic - not syncing: panic_on_warn set ... [ 21.120612] [ 21.127961] CPU: 1 PID: 3602 Comm: syzkaller153361 Tainted: G B 4.9.84-ge7f51a5 #45 [ 21.136862] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.146185] ffff8801c354f8a8 ffffffff81d956b9 ffffffff8419784f ffff8801c354f980 [ 21.154171] 0000000000000000 ffff8801cb138140 ffff8801c1e00238 ffff8801c354f970 [ 21.162144] ffffffff8142f571 0000000041b58ab3 ffffffff8418b2c0 ffffffff8142f3b5 [ 21.170114] Call Trace: [ 21.172678] [] dump_stack+0xc1/0x128 [ 21.178013] [] panic+0x1bc/0x3a8 [ 21.183010] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.191210] [] ? preempt_schedule+0x25/0x30 [ 21.197149] [] ? ___preempt_schedule+0x16/0x18 [ 21.203350] [] kasan_end_report+0x50/0x50 [ 21.209116] [] kasan_report+0x167/0x360 [ 21.214713] [] ? sg_remove_request+0x103/0x120 [ 21.220913] [] __asan_report_load8_noabort+0x14/0x20 [ 21.227637] [] sg_remove_request+0x103/0x120 [ 21.233666] [] sg_finish_rem_req+0x295/0x340 [ 21.239691] [] sg_read+0xa16/0x1440 [ 21.244940] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 21.251573] [] ? fsnotify+0xf30/0xf30 [ 21.256994] [] ? avc_policy_seqno+0x9/0x20 [ 21.262848] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 21.269832] [] ? security_file_permission+0x89/0x1e0 [ 21.276559] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 21.283192] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 21.289827] [] do_readv_writev+0x520/0x750 [ 21.295680] [] ? vfs_write+0x530/0x530 [ 21.301186] [] ? _raw_spin_unlock+0x2c/0x50 [ 21.307129] [] ? do_huge_pmd_anonymous_page+0x2d4/0x10d0 [ 21.314201] [] ? handle_mm_fault+0x6ee/0x2530 [ 21.320325] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.327138] [] ? __pmd_alloc+0x410/0x410 [ 21.332824] [] vfs_readv+0x84/0xc0 [ 21.337990] [] do_readv+0xe6/0x250 [ 21.343149] [] ? vfs_readv+0xc0/0xc0 [ 21.348483] [] SyS_readv+0x27/0x30 [ 21.353642] [] ? rw_copy_check_uvector+0x2c0/0x2c0 [ 21.360194] [] do_syscall_64+0x1a4/0x490 [ 21.365878] [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 [ 21.373209] Dumping ftrace buffer: [ 21.376723] (ftrace buffer empty) [ 21.380404] Kernel Offset: disabled [ 21.384000] Rebooting in 86400 seconds..