[....] Starting enhanced syslogd: rsyslogd[ 12.095628] audit: type=1400 audit(1516204186.412: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.0.20' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.710392] ================================================================== [ 24.717836] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.725003] Read of size 8 at addr ffff8801c9d79140 by task syzkaller841408/3322 [ 24.732511] [ 24.734227] CPU: 0 PID: 3322 Comm: syzkaller841408 Not tainted 4.9.77-g033d019 #24 [ 24.741905] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.751264] ffff8801c8c67940 ffffffff81d941c9 ffffea0007275e40 ffff8801c9d79140 [ 24.759266] 0000000000000000 ffff8801c9d79140 ffff8801c9c34438 ffff8801c8c67978 [ 24.767255] ffffffff8153db93 ffff8801c9d79140 0000000000000008 0000000000000000 [ 24.775482] Call Trace: [ 24.778046] [] dump_stack+0xc1/0x128 [ 24.783395] [] print_address_description+0x73/0x280 [ 24.790029] [] kasan_report+0x275/0x360 [ 24.795623] [] ? sg_remove_request+0x103/0x120 [ 24.801828] [] __asan_report_load8_noabort+0x14/0x20 [ 24.808551] [] sg_remove_request+0x103/0x120 [ 24.814581] [] sg_finish_rem_req+0x295/0x340 [ 24.820634] [] sg_read+0xa1c/0x1440 [ 24.825890] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.832536] [] ? fsnotify+0xf30/0xf30 [ 24.837978] [] ? avc_policy_seqno+0x9/0x20 [ 24.843836] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.850818] [] ? security_file_permission+0x89/0x1e0 [ 24.857543] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.864179] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.870816] [] compat_do_readv_writev+0x522/0x760 [ 24.877279] [] ? do_pwritev+0x1a0/0x1a0 [ 24.882887] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.888830] [] ? handle_mm_fault+0x6ee/0x2530 [ 24.894946] [] ? fasync_helper+0x7a/0xb0 [ 24.900627] [] ? __pmd_alloc+0x410/0x410 [ 24.906313] [] compat_readv+0xe3/0x150 [ 24.911821] [] do_compat_readv+0xf4/0x1d0 [ 24.917609] [] ? compat_readv+0x150/0x150 [ 24.923590] [] compat_SyS_readv+0x26/0x30 [ 24.929373] [] ? SyS_pwritev2+0x80/0x80 [ 24.934995] [] do_fast_syscall_32+0x2f7/0x890 [ 24.941218] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.947886] [] entry_SYSENTER_compat+0x74/0x83 [ 24.954118] [ 24.955740] Allocated by task 0: [ 24.959087] (stack is not available) [ 24.962782] [ 24.964394] Freed by task 0: [ 24.967383] (stack is not available) [ 24.971151] [ 24.972762] The buggy address belongs to the object at ffff8801c9d79100 [ 24.972762] which belongs to the cache fasync_cache of size 96 [ 24.985498] The buggy address is located 64 bytes inside of [ 24.985498] 96-byte region [ffff8801c9d79100, ffff8801c9d79160) [ 24.997182] The buggy address belongs to the page: [ 25.002087] page:ffffea0007275e40 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.010328] flags: 0x8000000000000080(slab) [ 25.014619] page dumped because: kasan: bad access detected [ 25.020314] [ 25.021912] Memory state around the buggy address: [ 25.026824] ffff8801c9d79000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.034331] ffff8801c9d79080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.041661] >ffff8801c9d79100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.048990] ^ [ 25.054410] ffff8801c9d79180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.061739] ffff8801c9d79200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.069067] ================================================================== [ 25.076403] Disabling lock debugging due to kernel taint [ 25.082111] Kernel panic - not syncing: panic_on_warn set ... [ 25.082111] [ 25.089469] CPU: 0 PID: 3322 Comm: syzkaller841408 Tainted: G B 4.9.77-g033d019 #24 [ 25.098364] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.108133] ffff8801c8c67898 ffffffff81d941c9 ffffffff841970ff ffff8801c8c67970 [ 25.116105] 0000000000000000 ffff8801c9d79140 ffff8801c9c34438 ffff8801c8c67960 [ 25.124082] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 25.132077] Call Trace: [ 25.134647] [] dump_stack+0xc1/0x128 [ 25.139987] [] panic+0x1bc/0x3a8 [ 25.144980] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.153290] [] ? preempt_schedule+0x25/0x30 [ 25.159236] [] ? ___preempt_schedule+0x16/0x18 [ 25.165457] [] kasan_end_report+0x50/0x50 [ 25.171237] [] kasan_report+0x167/0x360 [ 25.176845] [] ? sg_remove_request+0x103/0x120 [ 25.183055] [] __asan_report_load8_noabort+0x14/0x20 [ 25.189791] [] sg_remove_request+0x103/0x120 [ 25.195852] [] sg_finish_rem_req+0x295/0x340 [ 25.201917] [] sg_read+0xa1c/0x1440 [ 25.207169] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.213890] [] ? fsnotify+0xf30/0xf30 [ 25.219309] [] ? avc_policy_seqno+0x9/0x20 [ 25.225163] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 25.232146] [] ? security_file_permission+0x89/0x1e0 [ 25.238867] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.245505] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.252151] [] compat_do_readv_writev+0x522/0x760 [ 25.258626] [] ? do_pwritev+0x1a0/0x1a0 [ 25.264223] [] ? _raw_spin_unlock+0x2c/0x50 [ 25.270164] [] ? handle_mm_fault+0x6ee/0x2530 [ 25.276284] [] ? fasync_helper+0x7a/0xb0 [ 25.281969] [] ? __pmd_alloc+0x410/0x410 [ 25.287649] [] compat_readv+0xe3/0x150 [ 25.293155] [] do_compat_readv+0xf4/0x1d0 [ 25.298919] [] ? compat_readv+0x150/0x150 [ 25.304686] [] compat_SyS_readv+0x26/0x30 [ 25.310450] [] ? SyS_pwritev2+0x80/0x80 [ 25.316050] [] do_fast_syscall_32+0x2f7/0x890 [ 25.322176] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.328813] [] entry_SYSENTER_compat+0x74/0x83 [ 25.335437] Dumping ftrace buffer: [ 25.339386] (ftrace buffer empty) [ 25.343074] Kernel Offset: disabled [ 25.346671] Rebooting in 86400 seconds..