[....] Starting enhanced syslogd: rsyslogd[ 13.180044] audit: type=1400 audit(1517511580.069:4): avc: denied { syslog } for pid=3912 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.58' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.415874] ================================================================== [ 26.423266] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.430337] Read of size 8 at addr ffff8801cb78d140 by task syzkaller221709/4069 [ 26.437841] [ 26.439443] CPU: 0 PID: 4069 Comm: syzkaller221709 Not tainted 4.9.79-g71f1469 #25 [ 26.447117] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.456445] ffff8801d301f9b0 ffffffff81d94829 ffffea00072de340 ffff8801cb78d140 [ 26.464428] 0000000000000000 ffff8801cb78d140 ffff8801d3140238 ffff8801d301f9e8 [ 26.472450] ffffffff8153e083 ffff8801cb78d140 0000000000000008 0000000000000000 [ 26.480436] Call Trace: [ 26.483002] [] dump_stack+0xc1/0x128 [ 26.488337] [] print_address_description+0x73/0x280 [ 26.494980] [] kasan_report+0x275/0x360 [ 26.500584] [] ? sg_remove_request+0x103/0x120 [ 26.506792] [] __asan_report_load8_noabort+0x14/0x20 [ 26.513514] [] sg_remove_request+0x103/0x120 [ 26.519550] [] sg_finish_rem_req+0x295/0x340 [ 26.525576] [] sg_read+0xa16/0x1440 [ 26.530821] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.537454] [] ? fsnotify+0xf30/0xf30 [ 26.542872] [] ? avc_policy_seqno+0x9/0x20 [ 26.548734] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.555725] [] ? security_file_permission+0x89/0x1e0 [ 26.562451] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.569105] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.575741] [] do_readv_writev+0x520/0x750 [ 26.581594] [] ? vfs_write+0x530/0x530 [ 26.587099] [] ? __pmd_alloc+0x410/0x410 [ 26.592784] [] ? __do_page_fault+0x5ec/0xd40 [ 26.598816] [] vfs_readv+0x84/0xc0 [ 26.603976] [] do_readv+0xe6/0x250 [ 26.609135] [] ? vfs_readv+0xc0/0xc0 [ 26.614471] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 26.621107] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.627931] [] SyS_readv+0x27/0x30 [ 26.633094] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 26.639638] [ 26.641240] Allocated by task 0: [ 26.644569] (stack is not available) [ 26.648247] [ 26.649839] Freed by task 0: [ 26.652822] (stack is not available) [ 26.656499] [ 26.658096] The buggy address belongs to the object at ffff8801cb78d100 [ 26.658096] which belongs to the cache fasync_cache of size 96 [ 26.670719] The buggy address is located 64 bytes inside of [ 26.670719] 96-byte region [ffff8801cb78d100, ffff8801cb78d160) [ 26.682386] The buggy address belongs to the page: [ 26.687287] page:ffffea00072de340 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.695510] flags: 0x8000000000000080(slab) [ 26.699797] page dumped because: kasan: bad access detected [ 26.705474] [ 26.707067] Memory state around the buggy address: [ 26.711964] ffff8801cb78d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.719299] ffff8801cb78d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.726627] >ffff8801cb78d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.733963] ^ [ 26.739379] ffff8801cb78d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.746708] ffff8801cb78d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.754036] ================================================================== [ 26.761360] Disabling lock debugging due to kernel taint [ 26.766978] Kernel panic - not syncing: panic_on_warn set ... [ 26.766978] [ 26.774318] CPU: 0 PID: 4069 Comm: syzkaller221709 Tainted: G B 4.9.79-g71f1469 #25 [ 26.783213] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.792538] ffff8801d301f908 ffffffff81d94829 ffffffff8419709f ffff8801d301f9e0 [ 26.800557] 0000000000000000 ffff8801cb78d140 ffff8801d3140238 ffff8801d301f9d0 [ 26.808540] ffffffff8142f531 0000000041b58ab3 ffffffff8418ab10 ffffffff8142f375 [ 26.816504] Call Trace: [ 26.819062] [] dump_stack+0xc1/0x128 [ 26.824393] [] panic+0x1bc/0x3a8 [ 26.829380] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 26.837583] [] ? preempt_schedule+0x25/0x30 [ 26.843525] [] ? ___preempt_schedule+0x16/0x18 [ 26.849724] [] kasan_end_report+0x50/0x50 [ 26.855492] [] kasan_report+0x167/0x360 [ 26.861087] [] ? sg_remove_request+0x103/0x120 [ 26.867289] [] __asan_report_load8_noabort+0x14/0x20 [ 26.874014] [] sg_remove_request+0x103/0x120 [ 26.880043] [] sg_finish_rem_req+0x295/0x340 [ 26.886073] [] sg_read+0xa16/0x1440 [ 26.891320] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.897957] [] ? fsnotify+0xf30/0xf30 [ 26.903379] [] ? avc_policy_seqno+0x9/0x20 [ 26.909232] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.916217] [] ? security_file_permission+0x89/0x1e0 [ 26.922940] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.929572] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.936206] [] do_readv_writev+0x520/0x750 [ 26.942064] [] ? vfs_write+0x530/0x530 [ 26.947571] [] ? __pmd_alloc+0x410/0x410 [ 26.953255] [] ? __do_page_fault+0x5ec/0xd40 [ 26.959279] [] vfs_readv+0x84/0xc0 [ 26.964438] [] do_readv+0xe6/0x250 [ 26.969597] [] ? vfs_readv+0xc0/0xc0 [ 26.974930] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 26.981564] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.988385] [] SyS_readv+0x27/0x30 [ 26.993548] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.000475] Dumping ftrace buffer: [ 27.004003] (ftrace buffer empty) [ 27.007687] Kernel Offset: disabled [ 27.011293] Rebooting in 86400 seconds..