[....] Starting enhanced syslogd: rsyslogd[ 12.614866] audit: type=1400 audit(1515665974.537:4): avc: denied { syslog } for pid=3170 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.235' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.823439] ================================================================== [ 26.830834] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.837898] Read of size 8 at addr ffff8801c97ed140 by task syzkaller824018/3333 [ 26.845395] [ 26.846991] CPU: 1 PID: 3333 Comm: syzkaller824018 Not tainted 4.9.76-g9154940 #20 [ 26.854657] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.863976] ffff8801c7c97940 ffffffff81d93149 ffffea000725fb40 ffff8801c97ed140 [ 26.871923] 0000000000000000 ffff8801c97ed140 ffff8801c9ac4438 ffff8801c7c97978 [ 26.879864] ffffffff8153cb43 ffff8801c97ed140 0000000000000008 0000000000000000 [ 26.887805] Call Trace: [ 26.890362] [] dump_stack+0xc1/0x128 [ 26.895695] [] print_address_description+0x73/0x280 [ 26.902326] [] kasan_report+0x275/0x360 [ 26.907913] [] ? sg_remove_request+0x103/0x120 [ 26.914107] [] __asan_report_load8_noabort+0x14/0x20 [ 26.920830] [] sg_remove_request+0x103/0x120 [ 26.926851] [] sg_finish_rem_req+0x295/0x340 [ 26.932876] [] sg_read+0xa1c/0x1440 [ 26.938123] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.944752] [] ? fsnotify+0xf30/0xf30 [ 26.950168] [] ? avc_policy_seqno+0x9/0x20 [ 26.956020] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 26.962996] [] ? security_file_permission+0x89/0x1e0 [ 26.969711] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.976338] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.982973] [] compat_do_readv_writev+0x522/0x760 [ 26.989428] [] ? do_pwritev+0x1a0/0x1a0 [ 26.995016] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.000952] [] ? __pmd_alloc+0x410/0x410 [ 27.006627] [] compat_readv+0xe3/0x150 [ 27.012128] [] do_compat_readv+0xf4/0x1d0 [ 27.017888] [] ? compat_readv+0x150/0x150 [ 27.023648] [] compat_SyS_readv+0x26/0x30 [ 27.029408] [] ? SyS_pwritev2+0x80/0x80 [ 27.034996] [] do_fast_syscall_32+0x2f7/0x890 [ 27.041105] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.047736] [] entry_SYSENTER_compat+0x74/0x83 [ 27.053928] [ 27.055519] Allocated by task 0: [ 27.058846] (stack is not available) [ 27.062519] [ 27.064109] Freed by task 0: [ 27.067089] (stack is not available) [ 27.070762] [ 27.072356] The buggy address belongs to the object at ffff8801c97ed100 [ 27.072356] which belongs to the cache fasync_cache of size 96 [ 27.084984] The buggy address is located 64 bytes inside of [ 27.084984] 96-byte region [ffff8801c97ed100, ffff8801c97ed160) [ 27.096735] The buggy address belongs to the page: [ 27.101629] page:ffffea000725fb40 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.109842] flags: 0x8000000000000080(slab) [ 27.114126] page dumped because: kasan: bad access detected [ 27.119796] [ 27.121389] Memory state around the buggy address: [ 27.126283] ffff8801c97ed000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.133625] ffff8801c97ed080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.140946] >ffff8801c97ed100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.148267] ^ [ 27.153680] ffff8801c97ed180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.161004] ffff8801c97ed200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.168326] ================================================================== [ 27.175645] Disabling lock debugging due to kernel taint [ 27.181122] Kernel panic - not syncing: panic_on_warn set ... [ 27.181122] [ 27.188475] CPU: 1 PID: 3333 Comm: syzkaller824018 Tainted: G B 4.9.76-g9154940 #20 [ 27.197362] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.206683] ffff8801c7c97898 ffffffff81d93149 ffffffff84195c17 ffff8801c7c97970 [ 27.214632] 0000000000000000 ffff8801c97ed140 ffff8801c9ac4438 ffff8801c7c97960 [ 27.222575] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.230520] Call Trace: [ 27.233075] [] dump_stack+0xc1/0x128 [ 27.238411] [] panic+0x1bc/0x3a8 [ 27.243405] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.251603] [] ? preempt_schedule+0x25/0x30 [ 27.257546] [] ? ___preempt_schedule+0x16/0x18 [ 27.263745] [] kasan_end_report+0x50/0x50 [ 27.269508] [] kasan_report+0x167/0x360 [ 27.275097] [] ? sg_remove_request+0x103/0x120 [ 27.281296] [] __asan_report_load8_noabort+0x14/0x20 [ 27.288011] [] sg_remove_request+0x103/0x120 [ 27.294031] [] sg_finish_rem_req+0x295/0x340 [ 27.300050] [] sg_read+0xa1c/0x1440 [ 27.305291] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.311920] [] ? fsnotify+0xf30/0xf30 [ 27.317336] [] ? avc_policy_seqno+0x9/0x20 [ 27.323185] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.330160] [] ? security_file_permission+0x89/0x1e0 [ 27.336879] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.343509] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.350139] [] compat_do_readv_writev+0x522/0x760 [ 27.356596] [] ? do_pwritev+0x1a0/0x1a0 [ 27.362190] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.368124] [] ? __pmd_alloc+0x410/0x410 [ 27.373800] [] compat_readv+0xe3/0x150 [ 27.379299] [] do_compat_readv+0xf4/0x1d0 [ 27.385059] [] ? compat_readv+0x150/0x150 [ 27.390822] [] compat_SyS_readv+0x26/0x30 [ 27.396582] [] ? SyS_pwritev2+0x80/0x80 [ 27.402168] [] do_fast_syscall_32+0x2f7/0x890 [ 27.408278] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.414908] [] entry_SYSENTER_compat+0x74/0x83 [ 27.421151] Dumping ftrace buffer: [ 27.424658] (ftrace buffer empty) [ 27.428332] Kernel Offset: disabled [ 27.431920] Rebooting in 86400 seconds..