[....] Starting enhanced syslogd: rsyslogd[ 12.305672] audit: type=1400 audit(1515267080.135:4): avc: denied { syslog } for pid=3163 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.210' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 20.847672] ================================================================== [ 20.855053] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.862116] Read of size 8 at addr ffff8801c9161140 by task syzkaller412774/3318 [ 20.869620] [ 20.871216] CPU: 0 PID: 3318 Comm: syzkaller412774 Not tainted 4.9.75-g06fe41f #6 [ 20.878797] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.888115] ffff8801c1387ab0 ffffffff81d93049 ffffea0007245840 ffff8801c9161140 [ 20.896068] 0000000000000000 ffff8801c9161140 ffff8801c8c44438 ffff8801c1387ae8 [ 20.904015] ffffffff8153ca53 ffff8801c9161140 0000000000000008 0000000000000000 [ 20.911959] Call Trace: [ 20.914511] [] dump_stack+0xc1/0x128 [ 20.919847] [] print_address_description+0x73/0x280 [ 20.926564] [] kasan_report+0x275/0x360 [ 20.932150] [] ? sg_remove_request+0x103/0x120 [ 20.938346] [] __asan_report_load8_noabort+0x14/0x20 [ 20.945062] [] sg_remove_request+0x103/0x120 [ 20.951084] [] sg_finish_rem_req+0x295/0x340 [ 20.957105] [] sg_read+0xa1c/0x1440 [ 20.962344] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.968981] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.975959] [] ? fasync_helper+0x37/0xb0 [ 20.981634] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.988266] [] __vfs_read+0x103/0x670 [ 20.993681] [] ? default_llseek+0x290/0x290 [ 20.999617] [] ? fsnotify+0x86/0xf30 [ 21.004944] [] ? fsnotify+0xf30/0xf30 [ 21.010359] [] ? avc_policy_seqno+0x9/0x20 [ 21.016208] [] ? selinux_file_permission+0x82/0x460 [ 21.022837] [] ? security_file_permission+0x89/0x1e0 [ 21.029555] [] ? rw_verify_area+0xe5/0x2b0 [ 21.035405] [] vfs_read+0x11e/0x380 [ 21.040643] [] SyS_read+0xd9/0x1b0 [ 21.045795] [] ? vfs_copy_file_range+0x740/0x740 [ 21.052164] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.058982] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 21.065526] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.072069] [ 21.073662] Allocated by task 0: [ 21.076990] (stack is not available) [ 21.080666] [ 21.082256] Freed by task 0: [ 21.085237] (stack is not available) [ 21.088913] [ 21.090506] The buggy address belongs to the object at ffff8801c9161100 [ 21.090506] which belongs to the cache fasync_cache of size 96 [ 21.103123] The buggy address is located 64 bytes inside of [ 21.103123] 96-byte region [ffff8801c9161100, ffff8801c9161160) [ 21.114791] The buggy address belongs to the page: [ 21.119684] page:ffffea0007245840 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.127899] flags: 0x8000000000000080(slab) [ 21.132181] page dumped because: kasan: bad access detected [ 21.137850] [ 21.139439] Memory state around the buggy address: [ 21.144336] ffff8801c9161000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.151657] ffff8801c9161080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.158978] >ffff8801c9161100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.166299] ^ [ 21.171711] ffff8801c9161180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.179040] ffff8801c9161200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.186360] ================================================================== [ 21.193683] Disabling lock debugging due to kernel taint [ 21.199665] Kernel panic - not syncing: panic_on_warn set ... [ 21.199665] [ 21.207032] CPU: 0 PID: 3318 Comm: syzkaller412774 Tainted: G B 4.9.75-g06fe41f #6 [ 21.215833] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.225154] ffff8801c1387a08 ffffffff81d93049 ffffffff84195be7 ffff8801c1387ae0 [ 21.233096] 0000000000000000 ffff8801c9161140 ffff8801c8c44438 ffff8801c1387ad0 [ 21.241033] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 21.248979] Call Trace: [ 21.251532] [] dump_stack+0xc1/0x128 [ 21.256859] [] panic+0x1bc/0x3a8 [ 21.261844] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.270042] [] ? preempt_schedule+0x25/0x30 [ 21.275979] [] ? ___preempt_schedule+0x16/0x18 [ 21.282174] [] kasan_end_report+0x50/0x50 [ 21.287934] [] kasan_report+0x167/0x360 [ 21.293527] [] ? sg_remove_request+0x103/0x120 [ 21.299722] [] __asan_report_load8_noabort+0x14/0x20 [ 21.306437] [] sg_remove_request+0x103/0x120 [ 21.312457] [] sg_finish_rem_req+0x295/0x340 [ 21.318490] [] sg_read+0xa1c/0x1440 [ 21.323737] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.330368] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 21.337344] [] ? fasync_helper+0x37/0xb0 [ 21.343020] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.349657] [] __vfs_read+0x103/0x670 [ 21.355072] [] ? default_llseek+0x290/0x290 [ 21.361008] [] ? fsnotify+0x86/0xf30 [ 21.366343] [] ? fsnotify+0xf30/0xf30 [ 21.371759] [] ? avc_policy_seqno+0x9/0x20 [ 21.377611] [] ? selinux_file_permission+0x82/0x460 [ 21.384237] [] ? security_file_permission+0x89/0x1e0 [ 21.390954] [] ? rw_verify_area+0xe5/0x2b0 [ 21.396805] [] vfs_read+0x11e/0x380 [ 21.402042] [] SyS_read+0xd9/0x1b0 [ 21.407196] [] ? vfs_copy_file_range+0x740/0x740 [ 21.413568] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.420376] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 21.426925] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.433897] Dumping ftrace buffer: [ 21.437405] (ftrace buffer empty) [ 21.441079] Kernel Offset: disabled [ 21.444670] Rebooting in 86400 seconds..