[....] Starting enhanced syslogd: rsyslogd[ 11.651563] audit: type=1400 audit(1515948862.950: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.0.11' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.583200] ================================================================== [ 28.590606] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.597692] Read of size 8 at addr ffff8801c9bbe140 by task syzkaller451575/3332 [ 28.605200] [ 28.606803] CPU: 1 PID: 3332 Comm: syzkaller451575 Not tainted 4.9.76-gf0f6293 #12 [ 28.614509] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.623851] ffff8801c8daf9b0 ffffffff81d93149 ffffea000726ef80 ffff8801c9bbe140 [ 28.631871] 0000000000000000 ffff8801c9bbe140 ffff8801c998c438 ffff8801c8daf9e8 [ 28.639843] ffffffff8153cb43 ffff8801c9bbe140 0000000000000008 0000000000000000 [ 28.647821] Call Trace: [ 28.650385] [] dump_stack+0xc1/0x128 [ 28.655722] [] print_address_description+0x73/0x280 [ 28.662358] [] kasan_report+0x275/0x360 [ 28.667954] [] ? sg_remove_request+0x103/0x120 [ 28.674158] [] __asan_report_load8_noabort+0x14/0x20 [ 28.680883] [] sg_remove_request+0x103/0x120 [ 28.686913] [] sg_finish_rem_req+0x295/0x340 [ 28.692946] [] sg_read+0xa1c/0x1440 [ 28.698197] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.704836] [] ? fsnotify+0xf30/0xf30 [ 28.710272] [] ? avc_policy_seqno+0x9/0x20 [ 28.716130] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.723114] [] ? security_file_permission+0x89/0x1e0 [ 28.729850] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.736489] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.743145] [] do_readv_writev+0x520/0x750 [ 28.749019] [] ? vfs_write+0x530/0x530 [ 28.754540] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.760483] [] ? __pmd_alloc+0x410/0x410 [ 28.766166] [] ? __do_page_fault+0x5ec/0xd40 [ 28.772203] [] vfs_readv+0x84/0xc0 [ 28.777368] [] do_readv+0xe6/0x250 [ 28.782529] [] ? vfs_readv+0xc0/0xc0 [ 28.787862] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 28.794501] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.801316] [] SyS_readv+0x27/0x30 [ 28.806482] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 28.813035] [ 28.814637] Allocated by task 0: [ 28.817969] (stack is not available) [ 28.821655] [ 28.823254] Freed by task 0: [ 28.826242] (stack is not available) [ 28.829934] [ 28.831536] The buggy address belongs to the object at ffff8801c9bbe100 [ 28.831536] which belongs to the cache fasync_cache of size 96 [ 28.844172] The buggy address is located 64 bytes inside of [ 28.844172] 96-byte region [ffff8801c9bbe100, ffff8801c9bbe160) [ 28.855852] The buggy address belongs to the page: [ 28.860755] page:ffffea000726ef80 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.868982] flags: 0x8000000000000080(slab) [ 28.873275] page dumped because: kasan: bad access detected [ 28.878955] [ 28.880554] Memory state around the buggy address: [ 28.885467] ffff8801c9bbe000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.892827] ffff8801c9bbe080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.900162] >ffff8801c9bbe100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.907519] ^ [ 28.912944] ffff8801c9bbe180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.920279] ffff8801c9bbe200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.927620] ================================================================== [ 28.934950] Disabling lock debugging due to kernel taint [ 28.940580] Kernel panic - not syncing: panic_on_warn set ... [ 28.940580] [ 28.947921] CPU: 1 PID: 3332 Comm: syzkaller451575 Tainted: G B 4.9.76-gf0f6293 #12 [ 28.956813] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.966141] ffff8801c8daf908 ffffffff81d93149 ffffffff84195c17 ffff8801c8daf9e0 [ 28.974134] 0000000000000000 ffff8801c9bbe140 ffff8801c998c438 ffff8801c8daf9d0 [ 28.982112] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.990100] Call Trace: [ 28.992664] [] dump_stack+0xc1/0x128 [ 28.997999] [] panic+0x1bc/0x3a8 [ 29.002991] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 29.011206] [] ? preempt_schedule+0x25/0x30 [ 29.017148] [] ? ___preempt_schedule+0x16/0x18 [ 29.023533] [] kasan_end_report+0x50/0x50 [ 29.029303] [] kasan_report+0x167/0x360 [ 29.034903] [] ? sg_remove_request+0x103/0x120 [ 29.041121] [] __asan_report_load8_noabort+0x14/0x20 [ 29.047854] [] sg_remove_request+0x103/0x120 [ 29.053895] [] sg_finish_rem_req+0x295/0x340 [ 29.059927] [] sg_read+0xa1c/0x1440 [ 29.065191] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.071840] [] ? fsnotify+0xf30/0xf30 [ 29.077264] [] ? avc_policy_seqno+0x9/0x20 [ 29.083138] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 29.090127] [] ? security_file_permission+0x89/0x1e0 [ 29.096851] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.103491] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.110131] [] do_readv_writev+0x520/0x750 [ 29.115990] [] ? vfs_write+0x530/0x530 [ 29.121503] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.127449] [] ? __pmd_alloc+0x410/0x410 [ 29.133131] [] ? __do_page_fault+0x5ec/0xd40 [ 29.139162] [] vfs_readv+0x84/0xc0 [ 29.144326] [] do_readv+0xe6/0x250 [ 29.149488] [] ? vfs_readv+0xc0/0xc0 [ 29.154824] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 29.161463] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.168285] [] SyS_readv+0x27/0x30 [ 29.173449] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 29.180394] Dumping ftrace buffer: [ 29.183907] (ftrace buffer empty) [ 29.187591] Kernel Offset: disabled [ 29.191195] Rebooting in 86400 seconds..