[....] Starting enhanced syslogd: rsyslogd[ 10.675953] audit: type=1400 audit(1516073057.170:4): avc: denied { syslog } for pid=3170 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.237' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.659283] ================================================================== [ 19.660418] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.661469] Read of size 8 at addr ffff8801c9fff140 by task syzkaller751727/3319 [ 19.662479] [ 19.662715] CPU: 1 PID: 3319 Comm: syzkaller751727 Not tainted 4.9.76-g8dec074 #13 [ 19.663740] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.664979] ffff8801c841f9b0 ffffffff81d93169 ffffea000727ffc0 ffff8801c9fff140 [ 19.666129] 0000000000000000 ffff8801c9fff140 ffff8801cfcfa338 ffff8801c841f9e8 [ 19.667274] ffffffff8153cb43 ffff8801c9fff140 0000000000000008 0000000000000000 [ 19.668422] Call Trace: [ 19.668782] [] dump_stack+0xc1/0x128 [ 19.669495] [] print_address_description+0x73/0x280 [ 19.670416] [] kasan_report+0x275/0x360 [ 19.671162] [] ? sg_remove_request+0x103/0x120 [ 19.672002] [] __asan_report_load8_noabort+0x14/0x20 [ 19.672893] [] sg_remove_request+0x103/0x120 [ 19.673728] [] sg_finish_rem_req+0x295/0x340 [ 19.674529] [] sg_read+0xa1c/0x1440 [ 19.675243] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.676149] [] ? fsnotify+0xf30/0xf30 [ 19.676874] [] ? avc_policy_seqno+0x9/0x20 [ 19.677655] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 19.678840] [] ? security_file_permission+0x89/0x1e0 [ 19.681953] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.688584] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.695227] [] do_readv_writev+0x520/0x750 [ 19.701080] [] ? vfs_write+0x530/0x530 [ 19.706586] [] ? __pmd_alloc+0x410/0x410 [ 19.712265] [] ? __do_page_fault+0x5ec/0xd40 [ 19.718290] [] vfs_readv+0x84/0xc0 [ 19.723449] [] do_readv+0xe6/0x250 [ 19.728607] [] ? vfs_readv+0xc0/0xc0 [ 19.733937] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 19.740572] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.747377] [] SyS_readv+0x27/0x30 [ 19.752534] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.759075] [ 19.760671] Allocated by task 0: [ 19.764002] (stack is not available) [ 19.767680] [ 19.769276] Freed by task 0: [ 19.772257] (stack is not available) [ 19.775934] [ 19.777528] The buggy address belongs to the object at ffff8801c9fff100 [ 19.777528] which belongs to the cache fasync_cache of size 96 [ 19.790160] The buggy address is located 64 bytes inside of [ 19.790160] 96-byte region [ffff8801c9fff100, ffff8801c9fff160) [ 19.801837] The buggy address belongs to the page: [ 19.806735] page:ffffea000727ffc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.814959] flags: 0x8000000000000080(slab) [ 19.819246] page dumped because: kasan: bad access detected [ 19.824918] [ 19.826512] Memory state around the buggy address: [ 19.831409] ffff8801c9fff000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.838734] ffff8801c9fff080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.846058] >ffff8801c9fff100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.853381] ^ [ 19.858796] ffff8801c9fff180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.866120] ffff8801c9fff200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.873445] ================================================================== [ 19.880772] Disabling lock debugging due to kernel taint [ 19.886258] Kernel panic - not syncing: panic_on_warn set ... [ 19.886258] [ 19.893604] CPU: 1 PID: 3319 Comm: syzkaller751727 Tainted: G B 4.9.76-g8dec074 #13 [ 19.902491] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.911823] ffff8801c841f908 ffffffff81d93169 ffffffff84195c2f ffff8801c841f9e0 [ 19.919806] 0000000000000000 ffff8801c9fff140 ffff8801cfcfa338 ffff8801c841f9d0 [ 19.927766] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 19.935726] Call Trace: [ 19.938285] [] dump_stack+0xc1/0x128 [ 19.943626] [] panic+0x1bc/0x3a8 [ 19.948615] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.956821] [] ? preempt_schedule+0x25/0x30 [ 19.962771] [] ? ___preempt_schedule+0x16/0x18 [ 19.968982] [] kasan_end_report+0x50/0x50 [ 19.974751] [] kasan_report+0x167/0x360 [ 19.980345] [] ? sg_remove_request+0x103/0x120 [ 19.986559] [] __asan_report_load8_noabort+0x14/0x20 [ 19.993295] [] sg_remove_request+0x103/0x120 [ 19.999338] [] sg_finish_rem_req+0x295/0x340 [ 20.005365] [] sg_read+0xa1c/0x1440 [ 20.011303] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.018380] [] ? fsnotify+0xf30/0xf30 [ 20.023801] [] ? avc_policy_seqno+0x9/0x20 [ 20.030787] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.037766] [] ? security_file_permission+0x89/0x1e0 [ 20.044484] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.051113] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.057749] [] do_readv_writev+0x520/0x750 [ 20.063603] [] ? vfs_write+0x530/0x530 [ 20.069108] [] ? __pmd_alloc+0x410/0x410 [ 20.074789] [] ? __do_page_fault+0x5ec/0xd40 [ 20.080817] [] vfs_readv+0x84/0xc0 [ 20.085974] [] do_readv+0xe6/0x250 [ 20.091144] [] ? vfs_readv+0xc0/0xc0 [ 20.096476] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 20.103112] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.109920] [] SyS_readv+0x27/0x30 [ 20.115077] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.122008] Dumping ftrace buffer: [ 20.125512] (ftrace buffer empty) [ 20.129190] Kernel Offset: disabled [ 20.132787] Rebooting in 86400 seconds..