[....] Starting enhanced syslogd: rsyslogd[ 11.740898] audit: type=1400 audit(1516994263.658: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.236' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.126503] ================================================================== [ 27.133926] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.140998] Read of size 8 at addr ffff8801c0549140 by task syzkaller072842/3332 [ 27.148508] [ 27.150111] CPU: 1 PID: 3332 Comm: syzkaller072842 Not tainted 4.9.78-gf518fe4 #22 [ 27.157787] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.167113] ffff8801c8adf9b0 ffffffff81d943a9 ffffea0007015240 ffff8801c0549140 [ 27.175092] 0000000000000000 ffff8801c0549140 ffff8801c885a338 ffff8801c8adf9e8 [ 27.183073] ffffffff8153dc23 ffff8801c0549140 0000000000000008 0000000000000000 [ 27.191060] Call Trace: [ 27.193622] [] dump_stack+0xc1/0x128 [ 27.198959] [] print_address_description+0x73/0x280 [ 27.205600] [] kasan_report+0x275/0x360 [ 27.211200] [] ? sg_remove_request+0x103/0x120 [ 27.217408] [] __asan_report_load8_noabort+0x14/0x20 [ 27.224135] [] sg_remove_request+0x103/0x120 [ 27.230168] [] sg_finish_rem_req+0x295/0x340 [ 27.236199] [] sg_read+0xa16/0x1440 [ 27.241450] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.248092] [] ? fsnotify+0xf30/0xf30 [ 27.253534] [] ? avc_policy_seqno+0x9/0x20 [ 27.259398] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.266405] [] ? security_file_permission+0x89/0x1e0 [ 27.273135] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.279779] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.286422] [] do_readv_writev+0x520/0x750 [ 27.292281] [] ? vfs_write+0x530/0x530 [ 27.297795] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.303741] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.310119] [] ? fasync_helper+0x7a/0xb0 [ 27.315805] [] ? dev_seq_stop+0x50/0x50 [ 27.321404] [] ? do_vfs_ioctl+0x458/0x1140 [ 27.327260] [] ? ioctl_preallocate+0x220/0x220 [ 27.333466] [] ? selinux_file_ioctl+0x355/0x530 [ 27.339756] [] ? selinux_capable+0x40/0x40 [ 27.345640] [] vfs_readv+0x84/0xc0 [ 27.350804] [] do_readv+0xe6/0x250 [ 27.355966] [] ? vfs_readv+0xc0/0xc0 [ 27.361305] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 27.367952] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.374774] [] SyS_readv+0x27/0x30 [ 27.379941] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.386493] [ 27.388098] Allocated by task 0: [ 27.391451] (stack is not available) [ 27.395136] [ 27.396733] Freed by task 0: [ 27.399721] (stack is not available) [ 27.403403] [ 27.405005] The buggy address belongs to the object at ffff8801c0549100 [ 27.405005] which belongs to the cache fasync_cache of size 96 [ 27.417636] The buggy address is located 64 bytes inside of [ 27.417636] 96-byte region [ffff8801c0549100, ffff8801c0549160) [ 27.429309] The buggy address belongs to the page: [ 27.435233] page:ffffea0007015240 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.443462] flags: 0x8000000000000080(slab) [ 27.447751] page dumped because: kasan: bad access detected [ 27.453431] [ 27.455042] Memory state around the buggy address: [ 27.459945] ffff8801c0549000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.467276] ffff8801c0549080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.474616] >ffff8801c0549100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.481963] ^ [ 27.487395] ffff8801c0549180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.494730] ffff8801c0549200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.502059] ================================================================== [ 27.509384] Disabling lock debugging due to kernel taint [ 27.515023] Kernel panic - not syncing: panic_on_warn set ... [ 27.515023] [ 27.522381] CPU: 1 PID: 3332 Comm: syzkaller072842 Tainted: G B 4.9.78-gf518fe4 #22 [ 27.531278] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.540606] ffff8801c8adf908 ffffffff81d943a9 ffffffff841971bf ffff8801c8adf9e0 [ 27.548582] 0000000000000000 ffff8801c0549140 ffff8801c885a338 ffff8801c8adf9d0 [ 27.556560] ffffffff8142f451 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f295 [ 27.564535] Call Trace: [ 27.567102] [] dump_stack+0xc1/0x128 [ 27.572438] [] panic+0x1bc/0x3a8 [ 27.577431] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.585636] [] ? preempt_schedule+0x25/0x30 [ 27.591597] [] ? ___preempt_schedule+0x16/0x18 [ 27.597803] [] kasan_end_report+0x50/0x50 [ 27.603581] [] kasan_report+0x167/0x360 [ 27.609182] [] ? sg_remove_request+0x103/0x120 [ 27.615389] [] __asan_report_load8_noabort+0x14/0x20 [ 27.622120] [] sg_remove_request+0x103/0x120 [ 27.628160] [] sg_finish_rem_req+0x295/0x340 [ 27.634191] [] sg_read+0xa16/0x1440 [ 27.639440] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.646080] [] ? fsnotify+0xf30/0xf30 [ 27.651508] [] ? avc_policy_seqno+0x9/0x20 [ 27.657366] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.664356] [] ? security_file_permission+0x89/0x1e0 [ 27.671086] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.677725] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.684371] [] do_readv_writev+0x520/0x750 [ 27.690230] [] ? vfs_write+0x530/0x530 [ 27.695745] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.701692] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.708072] [] ? fasync_helper+0x7a/0xb0 [ 27.713758] [] ? dev_seq_stop+0x50/0x50 [ 27.719355] [] ? do_vfs_ioctl+0x458/0x1140 [ 27.725231] [] ? ioctl_preallocate+0x220/0x220 [ 27.731437] [] ? selinux_file_ioctl+0x355/0x530 [ 27.737730] [] ? selinux_capable+0x40/0x40 [ 27.743587] [] vfs_readv+0x84/0xc0 [ 27.748750] [] do_readv+0xe6/0x250 [ 27.753912] [] ? vfs_readv+0xc0/0xc0 [ 27.759248] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 27.765901] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.772720] [] SyS_readv+0x27/0x30 [ 27.777885] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.784855] Dumping ftrace buffer: [ 27.788376] (ftrace buffer empty) [ 27.792059] Kernel Offset: disabled [ 27.795660] Rebooting in 86400 seconds..