[....] Starting enhanced syslogd: rsyslogd[ 12.780798] audit: type=1400 audit(1516095681.223:4): avc: denied { syslog } for pid=3181 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.62' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.504249] ================================================================== [ 27.513593] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.523274] Read of size 8 at addr ffff8801cc6db140 by task syzkaller731754/3344 [ 27.531120] [ 27.532719] CPU: 0 PID: 3344 Comm: syzkaller731754 Not tainted 4.9.76-g8dec074 #13 [ 27.540390] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.549723] ffff8801c95c79b0 ffffffff81d93169 ffffea000731b6c0 ffff8801cc6db140 [ 27.557669] 0000000000000000 ffff8801cc6db140 ffff8801cbdb4438 ffff8801c95c79e8 [ 27.565635] ffffffff8153cb43 ffff8801cc6db140 0000000000000008 0000000000000000 [ 27.573578] Call Trace: [ 27.576133] [] dump_stack+0xc1/0x128 [ 27.581463] [] print_address_description+0x73/0x280 [ 27.588097] [] kasan_report+0x275/0x360 [ 27.594559] [] ? sg_remove_request+0x103/0x120 [ 27.600758] [] __asan_report_load8_noabort+0x14/0x20 [ 27.607475] [] sg_remove_request+0x103/0x120 [ 27.613536] [] sg_finish_rem_req+0x295/0x340 [ 27.619560] [] sg_read+0xa1c/0x1440 [ 27.624810] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.631441] [] ? fsnotify+0xf30/0xf30 [ 27.636857] [] ? avc_policy_seqno+0x9/0x20 [ 27.644463] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.651790] [] ? security_file_permission+0x89/0x1e0 [ 27.658518] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.665154] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.671786] [] do_readv_writev+0x520/0x750 [ 27.677637] [] ? vfs_write+0x530/0x530 [ 27.683142] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.689530] [] ? __pmd_alloc+0x410/0x410 [ 27.697463] [] ? dev_seq_stop+0x50/0x50 [ 27.703067] [] ? __do_page_fault+0x5ec/0xd40 [ 27.709090] [] vfs_readv+0x84/0xc0 [ 27.714248] [] do_readv+0xe6/0x250 [ 27.719578] [] ? vfs_readv+0xc0/0xc0 [ 27.724919] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.731575] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.738380] [] SyS_readv+0x27/0x30 [ 27.743545] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.750104] [ 27.751710] Allocated by task 0: [ 27.755054] (stack is not available) [ 27.758730] [ 27.760323] Freed by task 0: [ 27.763304] (stack is not available) [ 27.766996] [ 27.768591] The buggy address belongs to the object at ffff8801cc6db100 [ 27.768591] which belongs to the cache fasync_cache of size 96 [ 27.782959] The buggy address is located 64 bytes inside of [ 27.782959] 96-byte region [ffff8801cc6db100, ffff8801cc6db160) [ 27.794635] The buggy address belongs to the page: [ 27.799569] page:ffffea000731b6c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.807784] flags: 0x8000000000000080(slab) [ 27.812069] page dumped because: kasan: bad access detected [ 27.817752] [ 27.819343] Memory state around the buggy address: [ 27.824236] ffff8801cc6db000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.831560] ffff8801cc6db080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.838884] >ffff8801cc6db100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.846209] ^ [ 27.851624] ffff8801cc6db180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.858948] ffff8801cc6db200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.866271] ================================================================== [ 27.873595] Disabling lock debugging due to kernel taint [ 27.879199] Kernel panic - not syncing: panic_on_warn set ... [ 27.879199] [ 27.886542] CPU: 0 PID: 3344 Comm: syzkaller731754 Tainted: G B 4.9.76-g8dec074 #13 [ 27.895446] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.904782] ffff8801c95c7908 ffffffff81d93169 ffffffff84195c2f ffff8801c95c79e0 [ 27.912739] 0000000000000000 ffff8801cc6db140 ffff8801cbdb4438 ffff8801c95c79d0 [ 27.920696] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 27.928649] Call Trace: [ 27.931205] [] dump_stack+0xc1/0x128 [ 27.936534] [] panic+0x1bc/0x3a8 [ 27.941527] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.949726] [] ? preempt_schedule+0x25/0x30 [ 27.955666] [] ? ___preempt_schedule+0x16/0x18 [ 27.961865] [] kasan_end_report+0x50/0x50 [ 27.967630] [] kasan_report+0x167/0x360 [ 27.973222] [] ? sg_remove_request+0x103/0x120 [ 27.979421] [] __asan_report_load8_noabort+0x14/0x20 [ 27.986152] [] sg_remove_request+0x103/0x120 [ 27.992177] [] sg_finish_rem_req+0x295/0x340 [ 27.998204] [] sg_read+0xa1c/0x1440 [ 28.003446] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.010078] [] ? fsnotify+0xf30/0xf30 [ 28.015494] [] ? avc_policy_seqno+0x9/0x20 [ 28.021349] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.028328] [] ? security_file_permission+0x89/0x1e0 [ 28.035060] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.041691] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.048321] [] do_readv_writev+0x520/0x750 [ 28.054171] [] ? vfs_write+0x530/0x530 [ 28.059678] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.065617] [] ? __pmd_alloc+0x410/0x410 [ 28.071307] [] ? dev_seq_stop+0x50/0x50 [ 28.076902] [] ? __do_page_fault+0x5ec/0xd40 [ 28.082926] [] vfs_readv+0x84/0xc0 [ 28.088082] [] do_readv+0xe6/0x250 [ 28.093237] [] ? vfs_readv+0xc0/0xc0 [ 28.098569] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 28.105203] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.112019] [] SyS_readv+0x27/0x30 [ 28.117184] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 28.123771] Dumping ftrace buffer: [ 28.127376] (ftrace buffer empty) [ 28.131057] Kernel Offset: disabled [ 28.134650] Rebooting in 86400 seconds..