[....] Starting enhanced syslogd: rsyslogd[ 10.700699] audit: type=1400 audit(1516097294.331:4): avc: denied { syslog } for pid=3180 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.5' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 35.478917] ================================================================== [ 35.480296] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 35.481267] Read of size 8 at addr ffff8801c7f17240 by task syzkaller513001/3347 [ 35.482251] [ 35.482486] CPU: 1 PID: 3347 Comm: syzkaller513001 Not tainted 4.9.76-g8dec074 #13 [ 35.483512] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.484785] ffff8801c77e7ab0 ffffffff81d93169 ffffea00071fc5c0 ffff8801c7f17240 [ 35.485952] 0000000000000000 ffff8801c7f17240 ffff8801c77ca338 ffff8801c77e7ae8 [ 35.487084] ffffffff8153cb43 ffff8801c7f17240 0000000000000008 0000000000000000 [ 35.488250] Call Trace: [ 35.488631] [] dump_stack+0xc1/0x128 [ 35.489389] [] print_address_description+0x73/0x280 [ 35.490308] [] kasan_report+0x275/0x360 [ 35.491112] [] ? sg_remove_request+0x103/0x120 [ 35.491935] [] __asan_report_load8_noabort+0x14/0x20 [ 35.492824] [] sg_remove_request+0x103/0x120 [ 35.493623] [] sg_finish_rem_req+0x295/0x340 [ 35.494421] [] sg_read+0xa1c/0x1440 [ 35.495132] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.496024] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 35.496944] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.497822] [] __vfs_read+0x103/0x670 [ 35.498672] [] ? default_llseek+0x290/0x290 [ 35.502675] [] ? fsnotify+0x86/0xf30 [ 35.508006] [] ? fsnotify+0xf30/0xf30 [ 35.513427] [] ? avc_policy_seqno+0x9/0x20 [ 35.519284] [] ? selinux_file_permission+0x82/0x460 [ 35.525924] [] ? security_file_permission+0x89/0x1e0 [ 35.532647] [] ? rw_verify_area+0xe5/0x2b0 [ 35.538504] [] vfs_read+0x11e/0x380 [ 35.543748] [] SyS_read+0xd9/0x1b0 [ 35.548918] [] ? vfs_copy_file_range+0x740/0x740 [ 35.555294] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 35.562104] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 35.568657] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 35.575202] [ 35.576798] Allocated by task 0: [ 35.580127] (stack is not available) [ 35.583804] [ 35.585397] Freed by task 0: [ 35.588379] (stack is not available) [ 35.592057] [ 35.593650] The buggy address belongs to the object at ffff8801c7f17200 [ 35.593650] which belongs to the cache fasync_cache of size 96 [ 35.606275] The buggy address is located 64 bytes inside of [ 35.606275] 96-byte region [ffff8801c7f17200, ffff8801c7f17260) [ 35.617942] The buggy address belongs to the page: [ 35.622842] page:ffffea00071fc5c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 35.631065] flags: 0x8000000000000080(slab) [ 35.635350] page dumped because: kasan: bad access detected [ 35.641025] [ 35.642618] Memory state around the buggy address: [ 35.647515] ffff8801c7f17100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 35.654851] ffff8801c7f17180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.662191] >ffff8801c7f17200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.669525] ^ executing program [ 35.674940] ffff8801c7f17280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.682265] ffff8801c7f17300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.689590] ================================================================== [ 35.696915] Disabling lock debugging due to kernel taint [ 35.704054] Kernel panic - not syncing: panic_on_warn set ... [ 35.704054] [ 35.711414] CPU: 1 PID: 3347 Comm: syzkaller513001 Tainted: G B 4.9.76-g8dec074 #13 [ 35.720303] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.729714] ffff8801c77e7a08 ffffffff81d93169 ffffffff84195c2f ffff8801c77e7ae0 [ 35.737667] 0000000000000000 ffff8801c7f17240 ffff8801c77ca338 ffff8801c77e7ad0 [ 35.745620] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 35.753575] Call Trace: [ 35.756135] [] dump_stack+0xc1/0x128 [ 35.761472] [] panic+0x1bc/0x3a8 [ 35.766455] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 35.774655] [] ? preempt_schedule+0x25/0x30 [ 35.780597] [] ? ___preempt_schedule+0x16/0x18 [ 35.786798] [] kasan_end_report+0x50/0x50 [ 35.792564] [] kasan_report+0x167/0x360 [ 35.798161] [] ? sg_remove_request+0x103/0x120 [ 35.804372] [] __asan_report_load8_noabort+0x14/0x20 [ 35.811093] [] sg_remove_request+0x103/0x120 [ 35.817118] [] sg_finish_rem_req+0x295/0x340 [ 35.823143] [] sg_read+0xa1c/0x1440 [ 35.828387] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.835023] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 35.842007] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.848731] [] __vfs_read+0x103/0x670 [ 35.854151] [] ? default_llseek+0x290/0x290 [ 35.860090] [] ? fsnotify+0x86/0xf30 [ 35.865418] [] ? fsnotify+0xf30/0xf30 [ 35.870838] [] ? avc_policy_seqno+0x9/0x20 [ 35.876700] [] ? selinux_file_permission+0x82/0x460 [ 35.883335] [] ? security_file_permission+0x89/0x1e0 [ 35.890057] [] ? rw_verify_area+0xe5/0x2b0 [ 35.895918] [] vfs_read+0x11e/0x380 [ 35.901173] [] SyS_read+0xd9/0x1b0 [ 35.906330] [] ? vfs_copy_file_range+0x740/0x740 [ 35.912706] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 35.919533] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 35.926088] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 35.933046] Dumping ftrace buffer: [ 35.936573] (ftrace buffer empty) [ 35.940252] Kernel Offset: disabled [ 35.943855] Rebooting in 86400 seconds..