[....] Starting enhanced syslogd: rsyslogd[ 11.763230] audit: type=1400 audit(1516294657.953:4): avc: denied { syslog } for pid=3164 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.13' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.279943] ================================================================== [ 23.287320] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.294388] Read of size 8 at addr ffff8801cac0a140 by task syzkaller894008/3325 [ 23.301885] [ 23.303482] CPU: 0 PID: 3325 Comm: syzkaller894008 Not tainted 4.9.77-g033d019 #14 [ 23.311154] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.320485] ffff8801c926f9b0 ffffffff81d941c9 ffffea00072b0280 ffff8801cac0a140 [ 23.328450] 0000000000000000 ffff8801cac0a140 ffff8801c90da338 ffff8801c926f9e8 [ 23.336419] ffffffff8153db93 ffff8801cac0a140 0000000000000008 0000000000000000 [ 23.344383] Call Trace: [ 23.346940] [] dump_stack+0xc1/0x128 [ 23.352272] [] print_address_description+0x73/0x280 [ 23.358906] [] kasan_report+0x275/0x360 [ 23.364495] [] ? sg_remove_request+0x103/0x120 [ 23.370696] [] __asan_report_load8_noabort+0x14/0x20 [ 23.377417] [] sg_remove_request+0x103/0x120 [ 23.383441] [] sg_finish_rem_req+0x295/0x340 [ 23.389465] [] sg_read+0xa1c/0x1440 [ 23.394708] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.401342] [] ? fsnotify+0xf30/0xf30 [ 23.406764] [] ? avc_policy_seqno+0x9/0x20 [ 23.412619] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.419598] [] ? security_file_permission+0x89/0x1e0 [ 23.426324] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.432961] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.439596] [] do_readv_writev+0x520/0x750 [ 23.445450] [] ? vfs_write+0x530/0x530 [ 23.450969] [] ? __pmd_alloc+0x410/0x410 [ 23.456653] [] ? __do_page_fault+0x5ec/0xd40 [ 23.462676] [] vfs_readv+0x84/0xc0 [ 23.467846] [] do_readv+0xe6/0x250 [ 23.473007] [] ? vfs_readv+0xc0/0xc0 [ 23.478340] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 23.484978] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 23.491784] [] SyS_readv+0x27/0x30 [ 23.496945] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 23.503506] [ 23.505104] Allocated by task 0: [ 23.508434] (stack is not available) [ 23.512114] [ 23.513710] Freed by task 0: [ 23.516693] (stack is not available) [ 23.520373] [ 23.521969] The buggy address belongs to the object at ffff8801cac0a100 [ 23.521969] which belongs to the cache fasync_cache of size 96 [ 23.534594] The buggy address is located 64 bytes inside of [ 23.534594] 96-byte region [ffff8801cac0a100, ffff8801cac0a160) [ 23.546260] The buggy address belongs to the page: [ 23.551172] page:ffffea00072b0280 count:1 mapcount:0 mapping: (null) index:0x0 [ 23.559393] flags: 0x8000000000000080(slab) [ 23.563679] page dumped because: kasan: bad access detected [ 23.569357] [ 23.570953] Memory state around the buggy address: [ 23.575849] ffff8801cac0a000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 23.583174] ffff8801cac0a080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.590506] >ffff8801cac0a100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.597845] ^ [ 23.603263] ffff8801cac0a180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.610591] ffff8801cac0a200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.617915] ================================================================== [ 23.625238] Disabling lock debugging due to kernel taint [ 23.630766] Kernel panic - not syncing: panic_on_warn set ... [ 23.630766] [ 23.638103] CPU: 0 PID: 3325 Comm: syzkaller894008 Tainted: G B 4.9.77-g033d019 #14 [ 23.646990] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.656314] ffff8801c926f908 ffffffff81d941c9 ffffffff841970ff ffff8801c926f9e0 [ 23.664378] 0000000000000000 ffff8801cac0a140 ffff8801c90da338 ffff8801c926f9d0 [ 23.672344] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 23.680301] Call Trace: [ 23.682860] [] dump_stack+0xc1/0x128 [ 23.688191] [] panic+0x1bc/0x3a8 [ 23.693175] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 23.701370] [] ? preempt_schedule+0x25/0x30 [ 23.707308] [] ? ___preempt_schedule+0x16/0x18 [ 23.713510] [] kasan_end_report+0x50/0x50 [ 23.719274] [] kasan_report+0x167/0x360 [ 23.724864] [] ? sg_remove_request+0x103/0x120 [ 23.731066] [] __asan_report_load8_noabort+0x14/0x20 [ 23.737788] [] sg_remove_request+0x103/0x120 [ 23.743814] [] sg_finish_rem_req+0x295/0x340 [ 23.749839] [] sg_read+0xa1c/0x1440 [ 23.755081] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.761712] [] ? fsnotify+0xf30/0xf30 [ 23.767131] [] ? avc_policy_seqno+0x9/0x20 [ 23.772987] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.779967] [] ? security_file_permission+0x89/0x1e0 [ 23.786696] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.793329] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.799962] [] do_readv_writev+0x520/0x750 [ 23.805823] [] ? vfs_write+0x530/0x530 [ 23.811329] [] ? __pmd_alloc+0x410/0x410 [ 23.817016] [] ? __do_page_fault+0x5ec/0xd40 [ 23.823044] [] vfs_readv+0x84/0xc0 [ 23.828209] [] do_readv+0xe6/0x250 [ 23.833368] [] ? vfs_readv+0xc0/0xc0 [ 23.838702] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 23.845339] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 23.852146] [] SyS_readv+0x27/0x30 [ 23.857303] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 23.864194] Dumping ftrace buffer: [ 23.867700] (ftrace buffer empty) [ 23.871379] Kernel Offset: disabled [ 23.874974] Rebooting in 86400 seconds..