[....] Starting enhanced syslogd: rsyslogd[ 12.639581] audit: type=1400 audit(1515994135.616:4): avc: denied { syslog } for pid=3166 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.229' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 20.451464] ================================================================== [ 20.458856] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.465925] Read of size 8 at addr ffff8801cd3db1c0 by task syzkaller266304/3321 [ 20.473436] [ 20.475038] CPU: 0 PID: 3321 Comm: syzkaller266304 Not tainted 4.9.76-gf0f6293 #22 [ 20.482713] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.492041] ffff8801c84b7a50 ffffffff81d93149 ffffea000734f6c0 ffff8801cd3db1c0 [ 20.500017] 0000000000000000 ffff8801cd3db1c0 ffff8801c8460238 ffff8801c84b7a88 [ 20.507995] ffffffff8153cb43 ffff8801cd3db1c0 0000000000000008 0000000000000000 [ 20.515970] Call Trace: [ 20.518528] [] dump_stack+0xc1/0x128 [ 20.523861] [] print_address_description+0x73/0x280 [ 20.530496] [] kasan_report+0x275/0x360 [ 20.536100] [] ? sg_remove_request+0x103/0x120 [ 20.542308] [] __asan_report_load8_noabort+0x14/0x20 [ 20.549028] [] sg_remove_request+0x103/0x120 [ 20.555059] [] sg_finish_rem_req+0x295/0x340 [ 20.561086] [] sg_read+0xa1c/0x1440 [ 20.566333] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.572969] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.579953] [] ? vma_set_page_prot+0x10f/0x180 [ 20.586153] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.592790] [] __vfs_read+0x103/0x670 [ 20.598212] [] ? default_llseek+0x290/0x290 [ 20.604151] [] ? fsnotify+0x86/0xf30 [ 20.609482] [] ? fsnotify+0xf30/0xf30 [ 20.614900] [] ? avc_policy_seqno+0x9/0x20 [ 20.620752] [] ? selinux_file_permission+0x82/0x460 [ 20.627394] [] ? security_file_permission+0x89/0x1e0 [ 20.634116] [] ? rw_verify_area+0xe5/0x2b0 [ 20.639968] [] vfs_read+0x11e/0x380 [ 20.645215] [] SyS_read+0xd9/0x1b0 [ 20.650376] [] ? vfs_copy_file_range+0x740/0x740 [ 20.656750] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.662960] [] ? vfs_copy_file_range+0x740/0x740 [ 20.669335] [] do_fast_syscall_32+0x2f7/0x890 [ 20.675447] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.682095] [] entry_SYSENTER_compat+0x74/0x83 [ 20.688293] [ 20.689888] Allocated by task 0: [ 20.693222] (stack is not available) [ 20.696900] [ 20.698495] Freed by task 0: [ 20.701478] (stack is not available) [ 20.705158] [ 20.706756] The buggy address belongs to the object at ffff8801cd3db180 [ 20.706756] which belongs to the cache fasync_cache of size 96 [ 20.719380] The buggy address is located 64 bytes inside of [ 20.719380] 96-byte region [ffff8801cd3db180, ffff8801cd3db1e0) [ 20.731045] The buggy address belongs to the page: [ 20.735945] page:ffffea000734f6c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.744168] flags: 0x8000000000000080(slab) [ 20.748454] page dumped because: kasan: bad access detected [ 20.754127] [ 20.755724] Memory state around the buggy address: [ 20.760620] ffff8801cd3db080: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.767946] ffff8801cd3db100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.775273] >ffff8801cd3db180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.782601] ^ [ 20.788019] ffff8801cd3db200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.795348] ffff8801cd3db280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.802674] ================================================================== [ 20.810000] Disabling lock debugging due to kernel taint [ 20.816160] Kernel panic - not syncing: panic_on_warn set ... [ 20.816160] [ 20.823522] CPU: 0 PID: 3321 Comm: syzkaller266304 Tainted: G B 4.9.76-gf0f6293 #22 [ 20.832412] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.841736] ffff8801c84b79a8 ffffffff81d93149 ffffffff84195c17 ffff8801c84b7a80 [ 20.849709] 0000000000000000 ffff8801cd3db1c0 ffff8801c8460238 ffff8801c84b7a70 [ 20.857683] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 20.865658] Call Trace: [ 20.868217] [] dump_stack+0xc1/0x128 [ 20.873552] [] panic+0x1bc/0x3a8 [ 20.878540] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.886739] [] ? preempt_schedule+0x25/0x30 [ 20.892679] [] ? ___preempt_schedule+0x16/0x18 [ 20.898904] [] kasan_end_report+0x50/0x50 [ 20.904670] [] kasan_report+0x167/0x360 [ 20.910263] [] ? sg_remove_request+0x103/0x120 [ 20.916470] [] __asan_report_load8_noabort+0x14/0x20 [ 20.923194] [] sg_remove_request+0x103/0x120 [ 20.929221] [] sg_finish_rem_req+0x295/0x340 [ 20.935248] [] sg_read+0xa1c/0x1440 [ 20.940494] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.947131] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.954115] [] ? vma_set_page_prot+0x10f/0x180 [ 20.960318] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.966952] [] __vfs_read+0x103/0x670 [ 20.972373] [] ? default_llseek+0x290/0x290 [ 20.978313] [] ? fsnotify+0x86/0xf30 [ 20.983645] [] ? fsnotify+0xf30/0xf30 [ 20.989065] [] ? avc_policy_seqno+0x9/0x20 [ 20.994917] [] ? selinux_file_permission+0x82/0x460 [ 21.001551] [] ? security_file_permission+0x89/0x1e0 [ 21.008271] [] ? rw_verify_area+0xe5/0x2b0 [ 21.014125] [] vfs_read+0x11e/0x380 [ 21.019370] [] SyS_read+0xd9/0x1b0 [ 21.024529] [] ? vfs_copy_file_range+0x740/0x740 [ 21.030903] [] ? do_fast_syscall_32+0xcf/0x890 [ 21.037108] [] ? vfs_copy_file_range+0x740/0x740 [ 21.043484] [] do_fast_syscall_32+0x2f7/0x890 [ 21.049600] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 21.056237] [] entry_SYSENTER_compat+0x74/0x83 [ 21.062853] Dumping ftrace buffer: [ 21.066366] (ftrace buffer empty) [ 21.070049] Kernel Offset: disabled [ 21.073644] Rebooting in 86400 seconds..