[....] Starting enhanced syslogd: rsyslogd[ 13.861005] audit: type=1400 audit(1515541537.314:4): avc: denied { syslog } for pid=3173 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.4' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.373521] ================================================================== [ 31.380895] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 31.387969] Read of size 8 at addr ffff8801c88d4140 by task syzkaller773680/3330 [ 31.395466] [ 31.397064] CPU: 0 PID: 3330 Comm: syzkaller773680 Not tainted 4.9.75-g8910fa5 #19 [ 31.404738] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.414059] ffff8801c850f940 ffffffff81d93049 ffffea0007223500 ffff8801c88d4140 [ 31.422010] 0000000000000000 ffff8801c88d4140 ffff8801c91e4438 ffff8801c850f978 [ 31.429961] ffffffff8153ca53 ffff8801c88d4140 0000000000000008 0000000000000000 [ 31.437907] Call Trace: [ 31.440466] [] dump_stack+0xc1/0x128 [ 31.445795] [] print_address_description+0x73/0x280 [ 31.452436] [] kasan_report+0x275/0x360 [ 31.458026] [] ? sg_remove_request+0x103/0x120 [ 31.464224] [] __asan_report_load8_noabort+0x14/0x20 [ 31.470954] [] sg_remove_request+0x103/0x120 [ 31.476984] [] sg_finish_rem_req+0x295/0x340 [ 31.483008] [] sg_read+0xa1c/0x1440 [ 31.488250] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.494889] [] ? fsnotify+0xf30/0xf30 [ 31.500306] [] ? avc_policy_seqno+0x9/0x20 [ 31.506170] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.513148] [] ? security_file_permission+0x89/0x1e0 [ 31.519878] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.526509] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.533140] [] compat_do_readv_writev+0x522/0x760 [ 31.539596] [] ? do_pwritev+0x1a0/0x1a0 [ 31.545195] [] ? __lru_cache_add+0x187/0x250 [ 31.551231] [] ? _raw_spin_unlock+0x2c/0x50 [ 31.557166] [] ? handle_mm_fault+0x6ee/0x2530 [ 31.563276] [] ? __pmd_alloc+0x410/0x410 [ 31.568961] [] compat_readv+0xe3/0x150 [ 31.574466] [] do_compat_readv+0xf4/0x1d0 [ 31.580230] [] ? compat_readv+0x150/0x150 [ 31.585991] [] compat_SyS_readv+0x26/0x30 [ 31.591757] [] ? SyS_pwritev2+0x80/0x80 [ 31.597357] [] do_fast_syscall_32+0x2f7/0x890 [ 31.603468] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.610100] [] entry_SYSENTER_compat+0x74/0x83 [ 31.616303] [ 31.617897] Allocated by task 0: [ 31.621226] (stack is not available) [ 31.624900] [ 31.626490] Freed by task 0: [ 31.629486] (stack is not available) [ 31.633161] [ 31.634764] The buggy address belongs to the object at ffff8801c88d4100 [ 31.634764] which belongs to the cache fasync_cache of size 96 [ 31.647386] The buggy address is located 64 bytes inside of [ 31.647386] 96-byte region [ffff8801c88d4100, ffff8801c88d4160) [ 31.659050] The buggy address belongs to the page: [ 31.663945] page:ffffea0007223500 count:1 mapcount:0 mapping: (null) index:0x0 [ 31.672165] flags: 0x8000000000000080(slab) [ 31.676448] page dumped because: kasan: bad access detected [ 31.682120] [ 31.683713] Memory state around the buggy address: [ 31.688608] ffff8801c88d4000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 31.695931] ffff8801c88d4080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.703268] >ffff8801c88d4100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.710601] ^ [ 31.716024] ffff8801c88d4180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.723349] ffff8801c88d4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.730934] ================================================================== [ 31.738255] Disabling lock debugging due to kernel taint [ 31.744015] Kernel panic - not syncing: panic_on_warn set ... [ 31.744015] [ 31.751364] CPU: 0 PID: 3330 Comm: syzkaller773680 Tainted: G B 4.9.75-g8910fa5 #19 [ 31.760250] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.769573] ffff8801c850f898 ffffffff81d93049 ffffffff84195be7 ffff8801c850f970 [ 31.777537] 0000000000000000 ffff8801c88d4140 ffff8801c91e4438 ffff8801c850f960 [ 31.785488] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 31.793442] Call Trace: [ 31.795997] [] dump_stack+0xc1/0x128 [ 31.801336] [] panic+0x1bc/0x3a8 [ 31.806320] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 31.814523] [] ? preempt_schedule+0x25/0x30 [ 31.820465] [] ? ___preempt_schedule+0x16/0x18 [ 31.826662] [] kasan_end_report+0x50/0x50 [ 31.832427] [] kasan_report+0x167/0x360 [ 31.838018] [] ? sg_remove_request+0x103/0x120 [ 31.844230] [] __asan_report_load8_noabort+0x14/0x20 [ 31.850962] [] sg_remove_request+0x103/0x120 [ 31.856990] [] sg_finish_rem_req+0x295/0x340 [ 31.863015] [] sg_read+0xa1c/0x1440 [ 31.868259] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.874904] [] ? fsnotify+0xf30/0xf30 [ 31.880326] [] ? avc_policy_seqno+0x9/0x20 [ 31.886178] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.893168] [] ? security_file_permission+0x89/0x1e0 [ 31.899886] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.906527] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.913171] [] compat_do_readv_writev+0x522/0x760 [ 31.919630] [] ? do_pwritev+0x1a0/0x1a0 [ 31.925229] [] ? __lru_cache_add+0x187/0x250 [ 31.931256] [] ? _raw_spin_unlock+0x2c/0x50 [ 31.937193] [] ? handle_mm_fault+0x6ee/0x2530 [ 31.943313] [] ? __pmd_alloc+0x410/0x410 [ 31.948991] [] compat_readv+0xe3/0x150 [ 31.954496] [] do_compat_readv+0xf4/0x1d0 [ 31.960270] [] ? compat_readv+0x150/0x150 [ 31.966032] [] compat_SyS_readv+0x26/0x30 [ 31.971796] [] ? SyS_pwritev2+0x80/0x80 [ 31.977386] [] do_fast_syscall_32+0x2f7/0x890 [ 31.983496] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.990131] [] entry_SYSENTER_compat+0x74/0x83 [ 31.996694] Dumping ftrace buffer: [ 32.000205] (ftrace buffer empty) [ 32.003884] Kernel Offset: disabled [ 32.007479] Rebooting in 86400 seconds..