[....] Starting enhanced syslogd: rsyslogd[ 13.372521] audit: type=1400 audit(1515887999.276:4): avc: denied { syslog } for pid=3175 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.15.202' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.262913] ================================================================== [ 24.270304] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.277373] Read of size 8 at addr ffff8801c1a23140 by task syzkaller528084/3330 [ 24.284867] [ 24.286464] CPU: 0 PID: 3330 Comm: syzkaller528084 Not tainted 4.9.76-g8e170a5 #21 [ 24.294132] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.303453] ffff8801c74c7940 ffffffff81d93149 ffffea00070688c0 ffff8801c1a23140 [ 24.311394] 0000000000000000 ffff8801c1a23140 ffff8801c8330238 ffff8801c74c7978 [ 24.319335] ffffffff8153cb43 ffff8801c1a23140 0000000000000008 0000000000000000 [ 24.327276] Call Trace: [ 24.329832] [] dump_stack+0xc1/0x128 [ 24.335163] [] print_address_description+0x73/0x280 [ 24.341790] [] kasan_report+0x275/0x360 [ 24.347379] [] ? sg_remove_request+0x103/0x120 [ 24.353574] [] __asan_report_load8_noabort+0x14/0x20 [ 24.360288] [] sg_remove_request+0x103/0x120 [ 24.366317] [] sg_finish_rem_req+0x295/0x340 [ 24.372337] [] sg_read+0xa1c/0x1440 [ 24.377577] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.384207] [] ? fsnotify+0xf30/0xf30 [ 24.389621] [] ? avc_policy_seqno+0x9/0x20 [ 24.395472] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.402447] [] ? security_file_permission+0x89/0x1e0 [ 24.409167] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.415796] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.422426] [] compat_do_readv_writev+0x522/0x760 [ 24.428881] [] ? do_pwritev+0x1a0/0x1a0 [ 24.434468] [] ? __lru_cache_add+0x187/0x250 [ 24.440491] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.446424] [] ? handle_mm_fault+0x6ee/0x2530 [ 24.452533] [] ? __pmd_alloc+0x410/0x410 [ 24.458210] [] compat_readv+0xe3/0x150 [ 24.463709] [] do_compat_readv+0xf4/0x1d0 [ 24.469471] [] ? compat_readv+0x150/0x150 [ 24.475230] [] compat_SyS_readv+0x26/0x30 [ 24.480990] [] ? SyS_pwritev2+0x80/0x80 [ 24.486583] [] do_fast_syscall_32+0x2f7/0x890 [ 24.492706] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.499339] [] entry_SYSENTER_compat+0x74/0x83 [ 24.505532] [ 24.507123] Allocated by task 0: [ 24.510448] (stack is not available) [ 24.514119] [ 24.515710] Freed by task 0: [ 24.518688] (stack is not available) [ 24.522362] [ 24.523953] The buggy address belongs to the object at ffff8801c1a23100 [ 24.523953] which belongs to the cache fasync_cache of size 96 [ 24.536577] The buggy address is located 64 bytes inside of [ 24.536577] 96-byte region [ffff8801c1a23100, ffff8801c1a23160) [ 24.548240] The buggy address belongs to the page: [ 24.553142] page:ffffea00070688c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 24.561361] flags: 0x8000000000000080(slab) [ 24.565645] page dumped because: kasan: bad access detected [ 24.571318] [ 24.572910] Memory state around the buggy address: [ 24.577810] ffff8801c1a23000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 24.585131] ffff8801c1a23080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.592459] >ffff8801c1a23100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.599780] ^ [ 24.605196] ffff8801c1a23180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.612531] ffff8801c1a23200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.619851] ================================================================== [ 24.627170] Disabling lock debugging due to kernel taint [ 24.632861] Kernel panic - not syncing: panic_on_warn set ... [ 24.632861] [ 24.640200] CPU: 0 PID: 3330 Comm: syzkaller528084 Tainted: G B 4.9.76-g8e170a5 #21 [ 24.649086] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.658406] ffff8801c74c7898 ffffffff81d93149 ffffffff84195c17 ffff8801c74c7970 [ 24.666350] 0000000000000000 ffff8801c1a23140 ffff8801c8330238 ffff8801c74c7960 [ 24.674290] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 24.682232] Call Trace: [ 24.684785] [] dump_stack+0xc1/0x128 [ 24.690116] [] panic+0x1bc/0x3a8 [ 24.695100] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 24.703303] [] ? preempt_schedule+0x25/0x30 [ 24.709241] [] ? ___preempt_schedule+0x16/0x18 [ 24.715438] [] kasan_end_report+0x50/0x50 [ 24.721198] [] kasan_report+0x167/0x360 [ 24.726786] [] ? sg_remove_request+0x103/0x120 [ 24.732980] [] __asan_report_load8_noabort+0x14/0x20 [ 24.739695] [] sg_remove_request+0x103/0x120 [ 24.745982] [] sg_finish_rem_req+0x295/0x340 [ 24.752004] [] sg_read+0xa1c/0x1440 [ 24.757244] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.763871] [] ? fsnotify+0xf30/0xf30 [ 24.769287] [] ? avc_policy_seqno+0x9/0x20 [ 24.775136] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.782113] [] ? security_file_permission+0x89/0x1e0 [ 24.788833] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.795460] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.802093] [] compat_do_readv_writev+0x522/0x760 [ 24.808909] [] ? do_pwritev+0x1a0/0x1a0 [ 24.814501] [] ? __lru_cache_add+0x187/0x250 [ 24.820527] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.826460] [] ? handle_mm_fault+0x6ee/0x2530 [ 24.832566] [] ? __pmd_alloc+0x410/0x410 [ 24.838242] [] compat_readv+0xe3/0x150 [ 24.843741] [] do_compat_readv+0xf4/0x1d0 [ 24.849501] [] ? compat_readv+0x150/0x150 [ 24.855261] [] compat_SyS_readv+0x26/0x30 [ 24.861026] [] ? SyS_pwritev2+0x80/0x80 [ 24.866614] [] do_fast_syscall_32+0x2f7/0x890 [ 24.872721] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.879350] [] entry_SYSENTER_compat+0x74/0x83 [ 24.885990] Dumping ftrace buffer: [ 24.889496] (ftrace buffer empty) [ 24.893169] Kernel Offset: disabled [ 24.896758] Rebooting in 86400 seconds..