[....] Starting enhanced syslogd: rsyslogd[ 11.018899] audit: type=1400 audit(1517004010.787: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.51' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.298976] ================================================================== [ 23.300038] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.301186] Read of size 8 at addr ffff8801cb888140 by task syzkaller176098/3331 [ 23.302397] [ 23.302665] CPU: 0 PID: 3331 Comm: syzkaller176098 Not tainted 4.9.78-gf518fe4 #22 [ 23.303859] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.305266] ffff8801c8b679b0 ffffffff81d943a9 ffffea00072e2200 ffff8801cb888140 [ 23.306596] 0000000000000000 ffff8801cb888140 ffff8801c8baa338 ffff8801c8b679e8 [ 23.307746] ffffffff8153dc23 ffff8801cb888140 0000000000000008 0000000000000000 [ 23.308930] Call Trace: [ 23.309440] [] dump_stack+0xc1/0x128 [ 23.310206] [] print_address_description+0x73/0x280 [ 23.311136] [] kasan_report+0x275/0x360 [ 23.311900] [] ? sg_remove_request+0x103/0x120 [ 23.312749] [] __asan_report_load8_noabort+0x14/0x20 [ 23.313668] [] sg_remove_request+0x103/0x120 [ 23.314469] [] sg_finish_rem_req+0x295/0x340 [ 23.315285] [] sg_read+0xa16/0x1440 [ 23.315996] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.316876] [] ? fsnotify+0xf30/0xf30 [ 23.317609] [] ? avc_policy_seqno+0x9/0x20 [ 23.318406] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.321109] [] ? security_file_permission+0x89/0x1e0 [ 23.327830] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.334465] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.341103] [] do_readv_writev+0x520/0x750 [ 23.346958] [] ? vfs_write+0x530/0x530 [ 23.352465] [] ? _raw_spin_unlock+0x2c/0x50 [ 23.358405] [] ? fasync_insert_entry+0x147/0x2e0 [ 23.364780] [] ? fasync_helper+0x7a/0xb0 [ 23.370477] [] ? dev_seq_stop+0x50/0x50 [ 23.376093] [] ? do_vfs_ioctl+0x458/0x1140 [ 23.381951] [] ? ioctl_preallocate+0x220/0x220 [ 23.388163] [] ? selinux_file_ioctl+0x355/0x530 [ 23.394448] [] ? selinux_capable+0x40/0x40 [ 23.400300] [] vfs_readv+0x84/0xc0 [ 23.405467] [] do_readv+0xe6/0x250 [ 23.410625] [] ? vfs_readv+0xc0/0xc0 [ 23.415959] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 23.422603] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 23.429412] [] SyS_readv+0x27/0x30 [ 23.434579] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 23.441124] [ 23.442719] Allocated by task 0: [ 23.446052] (stack is not available) [ 23.449740] [ 23.451344] Freed by task 0: [ 23.454331] (stack is not available) [ 23.458012] [ 23.459612] The buggy address belongs to the object at ffff8801cb888100 [ 23.459612] which belongs to the cache fasync_cache of size 96 [ 23.472278] The buggy address is located 64 bytes inside of [ 23.472278] 96-byte region [ffff8801cb888100, ffff8801cb888160) [ 23.483944] The buggy address belongs to the page: [ 23.488843] page:ffffea00072e2200 count:1 mapcount:0 mapping: (null) index:0x0 [ 23.497072] flags: 0x8000000000000080(slab) [ 23.501358] page dumped because: kasan: bad access detected [ 23.507058] [ 23.508651] Memory state around the buggy address: [ 23.513551] ffff8801cb888000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 23.520890] ffff8801cb888080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.528235] >ffff8801cb888100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.535567] ^ [ 23.540987] ffff8801cb888180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.548315] ffff8801cb888200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.555640] ================================================================== [ 23.562985] Disabling lock debugging due to kernel taint [ 23.569282] Kernel panic - not syncing: panic_on_warn set ... [ 23.569282] [ 23.576628] CPU: 0 PID: 3331 Comm: syzkaller176098 Tainted: G B 4.9.78-gf518fe4 #22 [ 23.585534] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.594861] ffff8801c8b67908 ffffffff81d943a9 ffffffff841971bf ffff8801c8b679e0 [ 23.602864] 0000000000000000 ffff8801cb888140 ffff8801c8baa338 ffff8801c8b679d0 [ 23.610827] ffffffff8142f451 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f295 [ 23.618804] Call Trace: [ 23.621364] [] dump_stack+0xc1/0x128 [ 23.626697] [] panic+0x1bc/0x3a8 [ 23.631685] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 23.639883] [] ? preempt_schedule+0x25/0x30 [ 23.645824] [] ? ___preempt_schedule+0x16/0x18 [ 23.652025] [] kasan_end_report+0x50/0x50 [ 23.657794] [] kasan_report+0x167/0x360 [ 23.663389] [] ? sg_remove_request+0x103/0x120 [ 23.669597] [] __asan_report_load8_noabort+0x14/0x20 [ 23.676319] [] sg_remove_request+0x103/0x120 [ 23.682347] [] sg_finish_rem_req+0x295/0x340 [ 23.688374] [] sg_read+0xa16/0x1440 [ 23.693619] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.700262] [] ? fsnotify+0xf30/0xf30 [ 23.705685] [] ? avc_policy_seqno+0x9/0x20 [ 23.711549] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.718532] [] ? security_file_permission+0x89/0x1e0 [ 23.725254] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.731905] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.738557] [] do_readv_writev+0x520/0x750 [ 23.744420] [] ? vfs_write+0x530/0x530 [ 23.749928] [] ? _raw_spin_unlock+0x2c/0x50 [ 23.755878] [] ? fasync_insert_entry+0x147/0x2e0 [ 23.762252] [] ? fasync_helper+0x7a/0xb0 [ 23.767933] [] ? dev_seq_stop+0x50/0x50 [ 23.773535] [] ? do_vfs_ioctl+0x458/0x1140 [ 23.779388] [] ? ioctl_preallocate+0x220/0x220 [ 23.785590] [] ? selinux_file_ioctl+0x355/0x530 [ 23.791879] [] ? selinux_capable+0x40/0x40 [ 23.797741] [] vfs_readv+0x84/0xc0 [ 23.802900] [] do_readv+0xe6/0x250 [ 23.808059] [] ? vfs_readv+0xc0/0xc0 [ 23.813391] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 23.820027] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 23.826836] [] SyS_readv+0x27/0x30 [ 23.831997] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 23.838927] Dumping ftrace buffer: [ 23.842436] (ftrace buffer empty) [ 23.846116] Kernel Offset: disabled [ 23.849713] Rebooting in 86400 seconds..