[....] Starting enhanced syslogd: rsyslogd[ 12.731055] audit: type=1400 audit(1515445362.977:4): avc: denied { syslog } for pid=3160 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.222' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program syzkaller login: [ 19.698003] ================================================================== [ 19.705393] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.712457] Read of size 8 at addr ffff8801c9c2d2c0 by task syzkaller169640/3313 [ 19.719951] [ 19.721545] CPU: 0 PID: 3313 Comm: syzkaller169640 Not tainted 4.9.75-gb54d99a #8 [ 19.729126] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.738442] ffff8801c87379b0 ffffffff81d93049 ffffea0007270b40 ffff8801c9c2d2c0 [ 19.746388] 0000000000000000 ffff8801c9c2d2c0 ffff8801c86a2338 ffff8801c87379e8 [ 19.754324] ffffffff8153ca53 ffff8801c9c2d2c0 0000000000000008 0000000000000000 [ 19.762264] Call Trace: [ 19.764818] [] dump_stack+0xc1/0x128 [ 19.770147] [] print_address_description+0x73/0x280 [ 19.776778] [] kasan_report+0x275/0x360 [ 19.782366] [] ? sg_remove_request+0x103/0x120 [ 19.788569] [] __asan_report_load8_noabort+0x14/0x20 [ 19.795285] [] sg_remove_request+0x103/0x120 [ 19.801308] [] sg_finish_rem_req+0x295/0x340 [ 19.807328] [] sg_read+0xa1c/0x1440 [ 19.812567] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.819197] [] ? fsnotify+0xf30/0xf30 [ 19.824611] [] ? avc_policy_seqno+0x9/0x20 [ 19.830458] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 19.837433] [] ? security_file_permission+0x89/0x1e0 [ 19.844153] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.850780] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.857410] [] do_readv_writev+0x520/0x750 [ 19.863261] [] ? vfs_write+0x530/0x530 [ 19.868768] [] ? __fget+0x201/0x3a0 [ 19.874007] [] ? __fget+0x228/0x3a0 [ 19.879246] [] ? __fget+0x47/0x3a0 [ 19.884400] [] vfs_readv+0x84/0xc0 [ 19.889551] [] do_readv+0xe6/0x250 [ 19.895113] [] ? vfs_readv+0xc0/0xc0 [ 19.900443] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 19.907074] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.913880] [] SyS_readv+0x27/0x30 [ 19.919032] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.925572] [ 19.927163] Allocated by task 0: [ 19.930487] (stack is not available) [ 19.934161] [ 19.935753] Freed by task 0: [ 19.938731] (stack is not available) [ 19.942402] [ 19.943993] The buggy address belongs to the object at ffff8801c9c2d280 [ 19.943993] which belongs to the cache fasync_cache of size 96 [ 19.956610] The buggy address is located 64 bytes inside of [ 19.956610] 96-byte region [ffff8801c9c2d280, ffff8801c9c2d2e0) [ 19.968271] The buggy address belongs to the page: [ 19.973170] page:ffffea0007270b40 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.981390] flags: 0x8000000000000080(slab) [ 19.985672] page dumped because: kasan: bad access detected [ 19.991343] [ 19.992932] Memory state around the buggy address: [ 19.997828] ffff8801c9c2d180: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.005152] ffff8801c9c2d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.012475] >ffff8801c9c2d280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.019795] ^ [ 20.025208] ffff8801c9c2d300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.032530] ffff8801c9c2d380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.039849] ================================================================== executing program [ 20.047171] Disabling lock debugging due to kernel taint [ 20.053185] Kernel panic - not syncing: panic_on_warn set ... [ 20.053185] [ 20.060536] CPU: 0 PID: 3313 Comm: syzkaller169640 Tainted: G B 4.9.75-gb54d99a #8 [ 20.069337] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.078659] ffff8801c8737908 ffffffff81d93049 ffffffff84195be7 ffff8801c87379e0 [ 20.086612] 0000000000000000 ffff8801c9c2d2c0 ffff8801c86a2338 ffff8801c87379d0 [ 20.094564] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 20.102511] Call Trace: [ 20.105068] [] dump_stack+0xc1/0x128 [ 20.110398] [] panic+0x1bc/0x3a8 [ 20.115380] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.123576] [] ? preempt_schedule+0x25/0x30 [ 20.129512] [] ? ___preempt_schedule+0x16/0x18 [ 20.135711] [] kasan_end_report+0x50/0x50 [ 20.141472] [] kasan_report+0x167/0x360 [ 20.147063] [] ? sg_remove_request+0x103/0x120 [ 20.153259] [] __asan_report_load8_noabort+0x14/0x20 [ 20.159974] [] sg_remove_request+0x103/0x120 [ 20.165997] [] sg_finish_rem_req+0x295/0x340 [ 20.172020] [] sg_read+0xa1c/0x1440 [ 20.177261] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.183892] [] ? fsnotify+0xf30/0xf30 [ 20.189310] [] ? avc_policy_seqno+0x9/0x20 [ 20.195167] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.202142] [] ? security_file_permission+0x89/0x1e0 [ 20.208858] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.215488] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.222123] [] do_readv_writev+0x520/0x750 [ 20.227973] [] ? vfs_write+0x530/0x530 [ 20.233475] [] ? __fget+0x201/0x3a0 [ 20.238716] [] ? __fget+0x228/0x3a0 [ 20.243956] [] ? __fget+0x47/0x3a0 [ 20.249109] [] vfs_readv+0x84/0xc0 [ 20.254267] [] do_readv+0xe6/0x250 [ 20.259423] [] ? vfs_readv+0xc0/0xc0 [ 20.264753] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 20.271386] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.278196] [] SyS_readv+0x27/0x30 [ 20.283350] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.290297] Dumping ftrace buffer: [ 20.293801] (ftrace buffer empty) [ 20.297473] Kernel Offset: disabled [ 20.301063] Rebooting in 86400 seconds..