[....] Starting enhanced syslogd: rsyslogd[ 12.185006] audit: type=1400 audit(1516306406.865:4): avc: denied { syslog } for pid=3177 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.43' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.076343] ================================================================== [ 28.083756] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.090842] Read of size 8 at addr ffff8801ca226140 by task syzkaller201073/3336 [ 28.098354] [ 28.099971] CPU: 0 PID: 3336 Comm: syzkaller201073 Not tainted 4.9.77-g8788313 #16 [ 28.107659] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.117008] ffff8801ca3efab0 ffffffff81d941c9 ffffea0007288980 ffff8801ca226140 [ 28.125016] 0000000000000000 ffff8801ca226140 ffff8801c8fe8238 ffff8801ca3efae8 [ 28.133020] ffffffff8153db93 ffff8801ca226140 0000000000000008 0000000000000000 [ 28.141135] Call Trace: [ 28.143720] [] dump_stack+0xc1/0x128 [ 28.149077] [] print_address_description+0x73/0x280 [ 28.155729] [] kasan_report+0x275/0x360 [ 28.161333] [] ? sg_remove_request+0x103/0x120 [ 28.167553] [] __asan_report_load8_noabort+0x14/0x20 [ 28.174293] [] sg_remove_request+0x103/0x120 [ 28.180335] [] sg_finish_rem_req+0x295/0x340 [ 28.186387] [] sg_read+0xa1c/0x1440 [ 28.191649] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.198333] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 28.205360] [] ? fasync_helper+0x37/0xb0 [ 28.211077] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.217741] [] __vfs_read+0x103/0x670 [ 28.223181] [] ? default_llseek+0x290/0x290 [ 28.229146] [] ? fsnotify+0x86/0xf30 [ 28.234499] [] ? fsnotify+0xf30/0xf30 [ 28.239934] [] ? avc_policy_seqno+0x9/0x20 [ 28.245808] [] ? selinux_file_permission+0x82/0x460 [ 28.252541] [] ? security_file_permission+0x89/0x1e0 [ 28.259384] [] ? rw_verify_area+0xe5/0x2b0 [ 28.265275] [] vfs_read+0x11e/0x380 [ 28.270559] [] SyS_read+0xd9/0x1b0 [ 28.275743] [] ? vfs_copy_file_range+0x740/0x740 [ 28.282151] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.288985] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.295642] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 28.302216] [ 28.303832] Allocated by task 0: [ 28.307189] (stack is not available) [ 28.310879] [ 28.312496] Freed by task 0: [ 28.315497] (stack is not available) [ 28.319187] [ 28.320975] The buggy address belongs to the object at ffff8801ca226100 [ 28.320975] which belongs to the cache fasync_cache of size 96 [ 28.333641] The buggy address is located 64 bytes inside of [ 28.333641] 96-byte region [ffff8801ca226100, ffff8801ca226160) [ 28.345332] The buggy address belongs to the page: [ 28.350388] page:ffffea0007288980 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.358887] flags: 0x8000000000000080(slab) [ 28.363202] page dumped because: kasan: bad access detected [ 28.368898] [ 28.370506] Memory state around the buggy address: [ 28.375438] ffff8801ca226000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.382805] ffff8801ca226080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.390494] >ffff8801ca226100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.398029] ^ [ 28.403476] ffff8801ca226180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.410920] ffff8801ca226200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.418276] ================================================================== [ 28.425631] Disabling lock debugging due to kernel taint [ 28.431406] Kernel panic - not syncing: panic_on_warn set ... [ 28.431406] [ 28.438781] CPU: 0 PID: 3336 Comm: syzkaller201073 Tainted: G B 4.9.77-g8788313 #16 [ 28.447714] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.457155] ffff8801ca3efa08 ffffffff81d941c9 ffffffff841970ff ffff8801ca3efae0 [ 28.465190] 0000000000000000 ffff8801ca226140 ffff8801c8fe8238 ffff8801ca3efad0 [ 28.473249] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 28.481269] Call Trace: [ 28.483844] [] dump_stack+0xc1/0x128 [ 28.489212] [] panic+0x1bc/0x3a8 [ 28.494228] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.502458] [] ? preempt_schedule+0x25/0x30 [ 28.508416] [] ? ___preempt_schedule+0x16/0x18 [ 28.514642] [] kasan_end_report+0x50/0x50 [ 28.520432] [] kasan_report+0x167/0x360 [ 28.526068] [] ? sg_remove_request+0x103/0x120 [ 28.532307] [] __asan_report_load8_noabort+0x14/0x20 [ 28.539061] [] sg_remove_request+0x103/0x120 [ 28.545110] [] sg_finish_rem_req+0x295/0x340 [ 28.551327] [] sg_read+0xa1c/0x1440 [ 28.556590] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.563263] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 28.570260] [] ? fasync_helper+0x37/0xb0 [ 28.575954] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.582616] [] __vfs_read+0x103/0x670 [ 28.588054] [] ? default_llseek+0x290/0x290 [ 28.594008] [] ? fsnotify+0x86/0xf30 [ 28.599354] [] ? fsnotify+0xf30/0xf30 [ 28.604793] [] ? avc_policy_seqno+0x9/0x20 [ 28.610662] [] ? selinux_file_permission+0x82/0x460 [ 28.617315] [] ? security_file_permission+0x89/0x1e0 [ 28.624056] [] ? rw_verify_area+0xe5/0x2b0 [ 28.629949] [] vfs_read+0x11e/0x380 [ 28.635217] [] SyS_read+0xd9/0x1b0 [ 28.640396] [] ? vfs_copy_file_range+0x740/0x740 [ 28.646790] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.653614] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.660183] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 28.667239] Dumping ftrace buffer: [ 28.670770] (ftrace buffer empty) [ 28.674471] Kernel Offset: disabled [ 28.678082] Rebooting in 86400 seconds..