[....] Starting enhanced syslogd: rsyslogd[ 10.467280] audit: type=1400 audit(1516578570.293:4): avc: denied { syslog } for pid=3173 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.25' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.741834] ================================================================== [ 27.742937] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.743916] Read of size 8 at addr ffff8801c9f12140 by task syzkaller186440/3330 [ 27.744905] [ 27.745140] CPU: 0 PID: 3330 Comm: syzkaller186440 Not tainted 4.9.77-ge12a9c4 #18 [ 27.746160] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.747395] ffff8801c7e4f9b0 ffffffff81d941c9 ffffea000727c480 ffff8801c9f12140 [ 27.748547] 0000000000000000 ffff8801c9f12140 ffff8801c882a338 ffff8801c7e4f9e8 [ 27.749701] ffffffff8153db93 ffff8801c9f12140 0000000000000008 0000000000000000 [ 27.750863] Call Trace: [ 27.751243] [] dump_stack+0xc1/0x128 [ 27.751971] [] print_address_description+0x73/0x280 [ 27.752899] [] kasan_report+0x275/0x360 [ 27.753645] [] ? sg_remove_request+0x103/0x120 [ 27.754505] [] __asan_report_load8_noabort+0x14/0x20 [ 27.755416] [] sg_remove_request+0x103/0x120 [ 27.756218] [] sg_finish_rem_req+0x295/0x340 [ 27.757018] [] sg_read+0xa1c/0x1440 [ 27.757720] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.758599] [] ? fsnotify+0xf30/0xf30 [ 27.759354] [] ? avc_policy_seqno+0x9/0x20 [ 27.760154] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.761121] [] ? security_file_permission+0x89/0x1e0 [ 27.762414] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.769048] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.775684] [] do_readv_writev+0x520/0x750 [ 27.781539] [] ? vfs_write+0x530/0x530 [ 27.787049] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.793426] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.799801] [] vfs_readv+0x84/0xc0 [ 27.804959] [] do_readv+0xe6/0x250 [ 27.810118] [] ? vfs_readv+0xc0/0xc0 [ 27.815451] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 27.822086] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.828895] [] SyS_readv+0x27/0x30 [ 27.834053] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.840608] [ 27.842205] Allocated by task 0: [ 27.845536] (stack is not available) [ 27.849229] [ 27.850826] Freed by task 0: [ 27.853809] (stack is not available) [ 27.857496] [ 27.859096] The buggy address belongs to the object at ffff8801c9f12100 [ 27.859096] which belongs to the cache fasync_cache of size 96 [ 27.871725] The buggy address is located 64 bytes inside of [ 27.871725] 96-byte region [ffff8801c9f12100, ffff8801c9f12160) [ 27.883406] The buggy address belongs to the page: [ 27.888304] page:ffffea000727c480 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.896541] flags: 0x8000000000000080(slab) [ 27.900830] page dumped because: kasan: bad access detected [ 27.906505] [ 27.908099] Memory state around the buggy address: [ 27.912996] ffff8801c9f12000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.920324] ffff8801c9f12080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.927650] >ffff8801c9f12100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.934978] ^ [ 27.940406] ffff8801c9f12180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.947733] ffff8801c9f12200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.955059] ================================================================== [ 27.962395] Disabling lock debugging due to kernel taint [ 27.968024] Kernel panic - not syncing: panic_on_warn set ... [ 27.968024] [ 27.975372] CPU: 0 PID: 3330 Comm: syzkaller186440 Tainted: G B 4.9.77-ge12a9c4 #18 [ 27.984264] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.993588] ffff8801c7e4f908 ffffffff81d941c9 ffffffff841970ff ffff8801c7e4f9e0 [ 28.001563] 0000000000000000 ffff8801c9f12140 ffff8801c882a338 ffff8801c7e4f9d0 [ 28.009543] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 28.017536] Call Trace: [ 28.020098] [] dump_stack+0xc1/0x128 [ 28.025432] [] panic+0x1bc/0x3a8 [ 28.030421] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.038625] [] ? preempt_schedule+0x25/0x30 [ 28.044565] [] ? ___preempt_schedule+0x16/0x18 [ 28.050769] [] kasan_end_report+0x50/0x50 [ 28.056542] [] kasan_report+0x167/0x360 [ 28.062139] [] ? sg_remove_request+0x103/0x120 [ 28.068344] [] __asan_report_load8_noabort+0x14/0x20 [ 28.075077] [] sg_remove_request+0x103/0x120 [ 28.081105] [] sg_finish_rem_req+0x295/0x340 [ 28.087133] [] sg_read+0xa1c/0x1440 [ 28.092383] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.099020] [] ? fsnotify+0xf30/0xf30 [ 28.104441] [] ? avc_policy_seqno+0x9/0x20 [ 28.110306] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.117289] [] ? security_file_permission+0x89/0x1e0 [ 28.124017] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.130654] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.137289] [] do_readv_writev+0x520/0x750 [ 28.143154] [] ? vfs_write+0x530/0x530 [ 28.148663] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.155039] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.161422] [] vfs_readv+0x84/0xc0 [ 28.166578] [] do_readv+0xe6/0x250 [ 28.171738] [] ? vfs_readv+0xc0/0xc0 [ 28.177071] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 28.183710] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.190519] [] SyS_readv+0x27/0x30 [ 28.195676] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 28.202584] Dumping ftrace buffer: [ 28.206105] (ftrace buffer empty) [ 28.209785] Kernel Offset: disabled [ 28.213379] Rebooting in 86400 seconds..