[....] Starting enhanced syslogd: rsyslogd[ 11.010040] audit: type=1400 audit(1516085015.539:4): avc: denied { syslog } for pid=3182 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.15.219' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.476457] ================================================================== [ 18.477595] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.478543] Read of size 8 at addr ffff8801c907f140 by task syzkaller065740/3330 [ 18.479685] [ 18.479960] CPU: 0 PID: 3330 Comm: syzkaller065740 Not tainted 4.9.76-g8dec074 #23 [ 18.481013] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.482251] ffff8801c8d5fa50 ffffffff81d93169 ffffea0007241fc0 ffff8801c907f140 [ 18.483513] 0000000000000000 ffff8801c907f140 ffff8801c84f8238 ffff8801c8d5fa88 [ 18.484711] ffffffff8153cb43 ffff8801c907f140 0000000000000008 0000000000000000 [ 18.485872] Call Trace: [ 18.486233] [] dump_stack+0xc1/0x128 [ 18.486990] [] print_address_description+0x73/0x280 [ 18.487891] [] kasan_report+0x275/0x360 [ 18.488635] [] ? sg_remove_request+0x103/0x120 [ 18.489470] [] __asan_report_load8_noabort+0x14/0x20 [ 18.490398] [] sg_remove_request+0x103/0x120 [ 18.491197] [] sg_finish_rem_req+0x295/0x340 [ 18.491998] [] sg_read+0xa1c/0x1440 [ 18.492697] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.493588] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.494435] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 18.495402] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.496308] [] __vfs_read+0x103/0x670 [ 18.500087] [] ? default_llseek+0x290/0x290 [ 18.506050] [] ? fsnotify+0x86/0xf30 [ 18.511381] [] ? fsnotify+0xf30/0xf30 [ 18.516802] [] ? avc_policy_seqno+0x9/0x20 [ 18.522668] [] ? selinux_file_permission+0x82/0x460 [ 18.529307] [] ? security_file_permission+0x89/0x1e0 [ 18.536037] [] ? rw_verify_area+0xe5/0x2b0 [ 18.541892] [] vfs_read+0x11e/0x380 [ 18.547139] [] SyS_read+0xd9/0x1b0 [ 18.552298] [] ? vfs_copy_file_range+0x740/0x740 [ 18.558673] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.564876] [] ? vfs_copy_file_range+0x740/0x740 [ 18.571262] [] do_fast_syscall_32+0x2f7/0x890 [ 18.577378] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 18.584014] [] entry_SYSENTER_compat+0x74/0x83 [ 18.590212] [ 18.591813] Allocated by task 0: [ 18.595144] (stack is not available) [ 18.598827] [ 18.600424] Freed by task 0: [ 18.603411] (stack is not available) [ 18.607091] [ 18.608691] The buggy address belongs to the object at ffff8801c907f100 [ 18.608691] which belongs to the cache fasync_cache of size 96 [ 18.621322] The buggy address is located 64 bytes inside of [ 18.621322] 96-byte region [ffff8801c907f100, ffff8801c907f160) [ 18.632990] The buggy address belongs to the page: [ 18.637896] page:ffffea0007241fc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 18.646136] flags: 0x8000000000000080(slab) [ 18.650429] page dumped because: kasan: bad access detected [ 18.656107] [ 18.657702] Memory state around the buggy address: [ 18.662607] ffff8801c907f000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 18.669939] ffff8801c907f080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.677275] >ffff8801c907f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.684608] ^ [ 18.690033] ffff8801c907f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.697360] ffff8801c907f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.704696] ================================================================== [ 18.712023] Disabling lock debugging due to kernel taint [ 18.717937] Kernel panic - not syncing: panic_on_warn set ... [ 18.717937] [ 18.725299] CPU: 0 PID: 3330 Comm: syzkaller065740 Tainted: G B 4.9.76-g8dec074 #23 [ 18.734190] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.743525] ffff8801c8d5f9a8 ffffffff81d93169 ffffffff84195c2f ffff8801c8d5fa80 [ 18.751498] 0000000000000000 ffff8801c907f140 ffff8801c84f8238 ffff8801c8d5fa70 [ 18.759479] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 18.767450] Call Trace: [ 18.770011] [] dump_stack+0xc1/0x128 [ 18.775350] [] panic+0x1bc/0x3a8 [ 18.780337] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 18.788543] [] ? preempt_schedule+0x25/0x30 [ 18.794485] [] ? ___preempt_schedule+0x16/0x18 [ 18.800692] [] kasan_end_report+0x50/0x50 [ 18.806463] [] kasan_report+0x167/0x360 [ 18.812059] [] ? sg_remove_request+0x103/0x120 [ 18.818267] [] __asan_report_load8_noabort+0x14/0x20 [ 18.824990] [] sg_remove_request+0x103/0x120 [ 18.831016] [] sg_finish_rem_req+0x295/0x340 [ 18.837042] [] sg_read+0xa1c/0x1440 [ 18.842292] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.848940] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.855320] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 18.862130] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.868781] [] __vfs_read+0x103/0x670 [ 18.874200] [] ? default_llseek+0x290/0x290 [ 18.880139] [] ? fsnotify+0x86/0xf30 [ 18.885471] [] ? fsnotify+0xf30/0xf30 [ 18.890895] [] ? avc_policy_seqno+0x9/0x20 [ 18.896772] [] ? selinux_file_permission+0x82/0x460 [ 18.903409] [] ? security_file_permission+0x89/0x1e0 [ 18.910131] [] ? rw_verify_area+0xe5/0x2b0 [ 18.915983] [] vfs_read+0x11e/0x380 [ 18.921228] [] SyS_read+0xd9/0x1b0 [ 18.926387] [] ? vfs_copy_file_range+0x740/0x740 [ 18.932765] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.938967] [] ? vfs_copy_file_range+0x740/0x740 [ 18.945345] [] do_fast_syscall_32+0x2f7/0x890 [ 18.951464] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 18.958103] [] entry_SYSENTER_compat+0x74/0x83 [ 18.964728] Dumping ftrace buffer: [ 18.968245] (ftrace buffer empty) [ 18.971928] Kernel Offset: disabled [ 18.975531] Rebooting in 86400 seconds..