[....] Starting enhanced syslogd: rsyslogd[ 11.817280] audit: type=1400 audit(1520550208.037:4): avc: denied { syslog } for pid=3537 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.21' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.729691] ================================================================== [ 27.730804] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.731798] Read of size 8 at addr ffff8801c8545140 by task syzkaller987709/3694 [ 27.732844] [ 27.733146] CPU: 0 PID: 3694 Comm: syzkaller987709 Not tainted 4.9.86-g00db063 #52 [ 27.734355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.735662] ffff8801d8b77a60 ffffffff81d956f9 ffffea0007215140 ffff8801c8545140 [ 27.736936] 0000000000000000 ffff8801c8545140 ffff8801d4798238 ffff8801d8b77a98 [ 27.738218] ffffffff8153e083 ffff8801c8545140 0000000000000008 0000000000000000 [ 27.739469] Call Trace: [ 27.739849] [] dump_stack+0xc1/0x128 [ 27.740586] [] print_address_description+0x73/0x280 [ 27.741487] [] kasan_report+0x275/0x360 [ 27.742252] [] ? sg_remove_request+0x103/0x120 [ 27.743093] [] __asan_report_load8_noabort+0x14/0x20 [ 27.744003] [] sg_remove_request+0x103/0x120 [ 27.744824] [] sg_finish_rem_req+0x295/0x340 [ 27.745661] [] sg_read+0xa16/0x1440 [ 27.746382] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.747278] [] ? new_slab+0x318/0x420 [ 27.748026] [] ? fasync_helper+0x37/0xb0 [ 27.748873] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.749790] [] __vfs_read+0x103/0x670 [ 27.755209] [] ? default_llseek+0x290/0x290 [ 27.761148] [] ? fsnotify+0x86/0xf30 [ 27.766482] [] ? fsnotify+0xf30/0xf30 [ 27.771903] [] ? avc_policy_seqno+0x9/0x20 [ 27.777758] [] ? selinux_file_permission+0x82/0x460 [ 27.784392] [] ? security_file_permission+0x89/0x1e0 [ 27.791109] [] ? rw_verify_area+0xe5/0x2b0 [ 27.796958] [] vfs_read+0x11e/0x380 [ 27.802201] [] SyS_read+0xd9/0x1b0 [ 27.807360] [] ? vfs_copy_file_range+0x740/0x740 [ 27.813734] [] ? do_syscall_64+0x48/0x490 [ 27.819499] [] ? vfs_copy_file_range+0x740/0x740 [ 27.825873] [] do_syscall_64+0x1a4/0x490 [ 27.831554] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 27.838444] [ 27.840042] Allocated by task 0: [ 27.843371] (stack is not available) [ 27.847050] [ 27.848646] Freed by task 0: [ 27.851628] (stack is not available) [ 27.855304] [ 27.856901] The buggy address belongs to the object at ffff8801c8545100 [ 27.856901] which belongs to the cache fasync_cache of size 96 [ 27.869522] The buggy address is located 64 bytes inside of [ 27.869522] 96-byte region [ffff8801c8545100, ffff8801c8545160) [ 27.881187] The buggy address belongs to the page: [ 27.886085] page:ffffea0007215140 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.894307] flags: 0x8000000000000080(slab) [ 27.898598] page dumped because: kasan: bad access detected [ 27.904272] [ 27.905866] Memory state around the buggy address: [ 27.910763] ffff8801c8545000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.918087] ffff8801c8545080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.925411] >ffff8801c8545100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.932735] ^ [ 27.938159] ffff8801c8545180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.945485] ffff8801c8545200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.952809] ================================================================== [ 27.960133] Disabling lock debugging due to kernel taint [ 27.965650] Kernel panic - not syncing: panic_on_warn set ... [ 27.965650] [ 27.973008] CPU: 0 PID: 3694 Comm: syzkaller987709 Tainted: G B 4.9.86-g00db063 #52 [ 27.981900] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.991228] ffff8801d8b779b8 ffffffff81d956f9 ffffffff84197a0f ffff8801d8b77a90 [ 27.999193] 0000000000000000 ffff8801c8545140 ffff8801d4798238 ffff8801d8b77a80 [ 28.007155] ffffffff8142f531 0000000041b58ab3 ffffffff8418b470 ffffffff8142f375 [ 28.015118] Call Trace: [ 28.017682] [] dump_stack+0xc1/0x128 [ 28.023018] [] panic+0x1bc/0x3a8 [ 28.028005] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.036213] [] ? preempt_schedule+0x25/0x30 [ 28.042156] [] ? ___preempt_schedule+0x16/0x18 [ 28.048358] [] kasan_end_report+0x50/0x50 [ 28.054124] [] kasan_report+0x167/0x360 [ 28.059720] [] ? sg_remove_request+0x103/0x120 [ 28.065920] [] __asan_report_load8_noabort+0x14/0x20 [ 28.072640] [] sg_remove_request+0x103/0x120 [ 28.078668] [] sg_finish_rem_req+0x295/0x340 [ 28.084692] [] sg_read+0xa16/0x1440 [ 28.089935] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.096570] [] ? new_slab+0x318/0x420 [ 28.101993] [] ? fasync_helper+0x37/0xb0 [ 28.107673] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.114308] [] __vfs_read+0x103/0x670 [ 28.119725] [] ? default_llseek+0x290/0x290 [ 28.125665] [] ? fsnotify+0x86/0xf30 [ 28.130995] [] ? fsnotify+0xf30/0xf30 [ 28.136414] [] ? avc_policy_seqno+0x9/0x20 [ 28.142265] [] ? selinux_file_permission+0x82/0x460 [ 28.148900] [] ? security_file_permission+0x89/0x1e0 [ 28.155621] [] ? rw_verify_area+0xe5/0x2b0 [ 28.161471] [] vfs_read+0x11e/0x380 [ 28.166715] [] SyS_read+0xd9/0x1b0 [ 28.171875] [] ? vfs_copy_file_range+0x740/0x740 [ 28.178247] [] ? do_syscall_64+0x48/0x490 [ 28.184012] [] ? vfs_copy_file_range+0x740/0x740 [ 28.190382] [] do_syscall_64+0x1a4/0x490 [ 28.196061] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 28.203347] Dumping ftrace buffer: [ 28.206855] (ftrace buffer empty) [ 28.210535] Kernel Offset: disabled [ 28.214128] Rebooting in 86400 seconds..