[....] Starting enhanced syslogd: rsyslogd[ 9.876073] audit: type=1400 audit(1515937915.603:4): avc: denied { syslog } for pid=3169 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: [ 27.398251] ================================================================== [ 27.399304] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.400238] Read of size 8 at addr ffff8801c7c7f140 by task syzkaller222485/3328 [ 27.401225] [ 27.401459] CPU: 0 PID: 3328 Comm: syzkaller222485 Not tainted 4.9.76-gf0f6293 #12 [ 27.402470] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.403727] ffff8801c1e479b0 ffffffff81d93149 ffffea00071f1fc0 ffff8801c7c7f140 [ 27.404875] 0000000000000000 ffff8801c7c7f140 ffff8801c8698238 ffff8801c1e479e8 [ 27.406034] ffffffff8153cb43 ffff8801c7c7f140 0000000000000008 0000000000000000 [ 27.407216] Call Trace: [ 27.407576] [] dump_stack+0xc1/0x128 [ 27.408326] [] print_address_description+0x73/0x280 [ 27.409237] [] kasan_report+0x275/0x360 [ 27.410001] [] ? sg_remove_request+0x103/0x120 [ 27.410857] [] __asan_report_load8_noabort+0x14/0x20 [ 27.411808] [] sg_remove_request+0x103/0x120 [ 27.412697] [] sg_finish_rem_req+0x295/0x340 [ 27.413497] [] sg_read+0xa1c/0x1440 [ 27.414304] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.415273] [] ? fsnotify+0xf30/0xf30 [ 27.416001] [] ? avc_policy_seqno+0x9/0x20 [ 27.416802] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.417731] [] ? security_file_permission+0x89/0x1e0 [ 27.418634] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.425271] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.431912] [] do_readv_writev+0x520/0x750 [ 27.437765] [] ? vfs_write+0x530/0x530 [ 27.443274] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.449650] [] vfs_readv+0x84/0xc0 [ 27.454807] [] do_readv+0xe6/0x250 [ 27.459970] [] ? vfs_readv+0xc0/0xc0 [ 27.465302] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.471940] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.478751] [] SyS_readv+0x27/0x30 [ 27.483910] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.490637] [ 27.492237] Allocated by task 0: [ 27.495566] (stack is not available) [ 27.499251] [ 27.500846] Freed by task 0: [ 27.503830] (stack is not available) [ 27.507509] [ 27.509109] The buggy address belongs to the object at ffff8801c7c7f100 [ 27.509109] which belongs to the cache fasync_cache of size 96 [ 27.521732] The buggy address is located 64 bytes inside of [ 27.521732] 96-byte region [ffff8801c7c7f100, ffff8801c7c7f160) [ 27.533398] The buggy address belongs to the page: [ 27.538303] page:ffffea00071f1fc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.546532] flags: 0x8000000000000080(slab) [ 27.550820] page dumped because: kasan: bad access detected [ 27.556495] [ 27.558093] Memory state around the buggy address: [ 27.562999] ffff8801c7c7f000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.570326] ffff8801c7c7f080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.577651] >ffff8801c7c7f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.584977] ^ [ 27.590394] ffff8801c7c7f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.597720] ffff8801c7c7f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.605044] ================================================================== [ 27.612368] Disabling lock debugging due to kernel taint [ 27.617997] Kernel panic - not syncing: panic_on_warn set ... [ 27.617997] [ 27.625333] CPU: 0 PID: 3328 Comm: syzkaller222485 Tainted: G B 4.9.76-gf0f6293 #12 [ 27.634229] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.643663] ffff8801c1e47908 ffffffff81d93149 ffffffff84195c17 ffff8801c1e479e0 [ 27.651647] 0000000000000000 ffff8801c7c7f140 ffff8801c8698238 ffff8801c1e479d0 [ 27.659618] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.667592] Call Trace: [ 27.670153] [] dump_stack+0xc1/0x128 [ 27.675488] [] panic+0x1bc/0x3a8 [ 27.680477] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.688676] [] ? preempt_schedule+0x25/0x30 [ 27.694620] [] ? ___preempt_schedule+0x16/0x18 [ 27.700820] [] kasan_end_report+0x50/0x50 [ 27.706587] [] kasan_report+0x167/0x360 [ 27.712184] [] ? sg_remove_request+0x103/0x120 [ 27.718386] [] __asan_report_load8_noabort+0x14/0x20 [ 27.725110] [] sg_remove_request+0x103/0x120 [ 27.731140] [] sg_finish_rem_req+0x295/0x340 [ 27.737168] [] sg_read+0xa1c/0x1440 [ 27.742416] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.749048] [] ? fsnotify+0xf30/0xf30 [ 27.754468] [] ? avc_policy_seqno+0x9/0x20 [ 27.760321] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.767310] [] ? security_file_permission+0x89/0x1e0 [ 27.774046] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.780682] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.787316] [] do_readv_writev+0x520/0x750 [ 27.793265] [] ? vfs_write+0x530/0x530 [ 27.798771] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.805152] [] vfs_readv+0x84/0xc0 [ 27.810312] [] do_readv+0xe6/0x250 [ 27.815471] [] ? vfs_readv+0xc0/0xc0 [ 27.820806] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.827451] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.834261] [] SyS_readv+0x27/0x30 [ 27.839421] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.846341] Dumping ftrace buffer: [ 27.849873] (ftrace buffer empty) [ 27.853552] Kernel Offset: disabled [ 27.857159] Rebooting in 86400 seconds..