[....] Starting enhanced syslogd: rsyslogd[ 10.886106] audit: type=1400 audit(1516554410.011:4): avc: denied { syslog } for pid=3171 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.202' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.769185] ================================================================== [ 27.770509] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.771499] Read of size 8 at addr ffff8801c925e140 by task syzkaller803764/3329 [ 27.772544] [ 27.772799] CPU: 1 PID: 3329 Comm: syzkaller803764 Not tainted 4.9.77-ge12a9c4 #18 [ 27.773842] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.775112] ffff8801c2dc7ab0 ffffffff81d941c9 ffffea0007249780 ffff8801c925e140 [ 27.776335] 0000000000000000 ffff8801c925e140 ffff8801c9664438 ffff8801c2dc7ae8 [ 27.777654] ffffffff8153db93 ffff8801c925e140 0000000000000008 0000000000000000 [ 27.778911] Call Trace: [ 27.779293] [] dump_stack+0xc1/0x128 [ 27.780054] [] print_address_description+0x73/0x280 [ 27.780976] [] kasan_report+0x275/0x360 [ 27.781760] [] ? sg_remove_request+0x103/0x120 [ 27.782667] [] __asan_report_load8_noabort+0x14/0x20 [ 27.783578] [] sg_remove_request+0x103/0x120 [ 27.784398] [] sg_finish_rem_req+0x295/0x340 [ 27.785246] [] sg_read+0xa1c/0x1440 [ 27.785967] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.787531] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.788516] [] ? fasync_helper+0x37/0xb0 [ 27.789361] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.796001] [] __vfs_read+0x103/0x670 [ 27.801520] [] ? default_llseek+0x290/0x290 [ 27.807465] [] ? fsnotify+0x86/0xf30 [ 27.812804] [] ? fsnotify+0xf30/0xf30 [ 27.818230] [] ? avc_policy_seqno+0x9/0x20 [ 27.824098] [] ? selinux_file_permission+0x82/0x460 [ 27.830746] [] ? security_file_permission+0x89/0x1e0 [ 27.837482] [] ? rw_verify_area+0xe5/0x2b0 [ 27.843337] [] vfs_read+0x11e/0x380 [ 27.848582] [] SyS_read+0xd9/0x1b0 [ 27.853744] [] ? vfs_copy_file_range+0x740/0x740 [ 27.860123] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.866946] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.873496] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.880055] [ 27.881653] Allocated by task 0: [ 27.884985] (stack is not available) [ 27.888665] [ 27.890265] Freed by task 0: [ 27.893261] (stack is not available) [ 27.896942] [ 27.898541] The buggy address belongs to the object at ffff8801c925e100 [ 27.898541] which belongs to the cache fasync_cache of size 96 [ 27.911255] The buggy address is located 64 bytes inside of [ 27.911255] 96-byte region [ffff8801c925e100, ffff8801c925e160) [ 27.922926] The buggy address belongs to the page: [ 27.927830] page:ffffea0007249780 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.936074] flags: 0x8000000000000080(slab) [ 27.940362] page dumped because: kasan: bad access detected [ 27.946040] [ 27.947649] Memory state around the buggy address: [ 27.952551] ffff8801c925e000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.959897] ffff8801c925e080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.967231] >ffff8801c925e100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.974564] ^ [ 27.979985] ffff8801c925e180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.987315] ffff8801c925e200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.994645] ================================================================== [ 28.002597] Disabling lock debugging due to kernel taint [ 28.008123] Kernel panic - not syncing: panic_on_warn set ... [ 28.008123] [ 28.015470] CPU: 1 PID: 3329 Comm: syzkaller803764 Tainted: G B 4.9.77-ge12a9c4 #18 [ 28.024357] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.033685] ffff8801c2dc7a08 ffffffff81d941c9 ffffffff841970ff ffff8801c2dc7ae0 [ 28.041660] 0000000000000000 ffff8801c925e140 ffff8801c9664438 ffff8801c2dc7ad0 [ 28.049626] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 28.057601] Call Trace: [ 28.060161] [] dump_stack+0xc1/0x128 [ 28.065496] [] panic+0x1bc/0x3a8 [ 28.070510] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.078723] [] ? preempt_schedule+0x25/0x30 [ 28.084667] [] ? ___preempt_schedule+0x16/0x18 [ 28.090883] [] kasan_end_report+0x50/0x50 [ 28.096652] [] kasan_report+0x167/0x360 [ 28.102258] [] ? sg_remove_request+0x103/0x120 [ 28.108460] [] __asan_report_load8_noabort+0x14/0x20 [ 28.115184] [] sg_remove_request+0x103/0x120 [ 28.121211] [] sg_finish_rem_req+0x295/0x340 [ 28.127249] [] sg_read+0xa1c/0x1440 [ 28.132494] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.139144] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 28.146128] [] ? fasync_helper+0x37/0xb0 [ 28.152518] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.159159] [] __vfs_read+0x103/0x670 [ 28.164584] [] ? default_llseek+0x290/0x290 [ 28.170537] [] ? fsnotify+0x86/0xf30 [ 28.175870] [] ? fsnotify+0xf30/0xf30 [ 28.181306] [] ? avc_policy_seqno+0x9/0x20 [ 28.187162] [] ? selinux_file_permission+0x82/0x460 [ 28.193799] [] ? security_file_permission+0x89/0x1e0 [ 28.200539] [] ? rw_verify_area+0xe5/0x2b0 [ 28.206398] [] vfs_read+0x11e/0x380 [ 28.211659] [] SyS_read+0xd9/0x1b0 [ 28.216831] [] ? vfs_copy_file_range+0x740/0x740 [ 28.223298] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.230106] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.236653] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 28.243601] Dumping ftrace buffer: [ 28.247121] (ftrace buffer empty) [ 28.250800] Kernel Offset: disabled [ 28.254396] Rebooting in 86400 seconds..