[....] Starting enhanced syslogd: rsyslogd[ 11.101836] audit: type=1400 audit(1516121596.274:4): avc: denied { syslog } for pid=3180 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.207' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.763386] ================================================================== [ 27.764526] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.765473] Read of size 8 at addr ffff8801c9264140 by task syzkaller114540/3337 [ 27.766456] [ 27.766686] CPU: 1 PID: 3337 Comm: syzkaller114540 Not tainted 4.9.76-g8dec074 #13 [ 27.767731] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.768949] ffff8801c99679b0 ffffffff81d93169 ffffea0007249900 ffff8801c9264140 [ 27.770098] 0000000000000000 ffff8801c9264140 ffff8801c8baa338 ffff8801c99679e8 [ 27.771238] ffffffff8153cb43 ffff8801c9264140 0000000000000008 0000000000000000 [ 27.772373] Call Trace: [ 27.772727] [] dump_stack+0xc1/0x128 [ 27.773438] [] print_address_description+0x73/0x280 [ 27.774314] [] kasan_report+0x275/0x360 [ 27.775054] [] ? sg_remove_request+0x103/0x120 [ 27.775873] [] __asan_report_load8_noabort+0x14/0x20 [ 27.776757] [] sg_remove_request+0x103/0x120 [ 27.777594] [] sg_finish_rem_req+0x295/0x340 [ 27.778390] [] sg_read+0xa1c/0x1440 [ 27.779086] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.780007] [] ? fsnotify+0xf30/0xf30 [ 27.780744] [] ? avc_policy_seqno+0x9/0x20 [ 27.781518] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.782438] [] ? security_file_permission+0x89/0x1e0 [ 27.783325] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.788997] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.795628] [] do_readv_writev+0x520/0x750 [ 27.801478] [] ? vfs_write+0x530/0x530 [ 27.806981] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.812915] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.819284] [] ? fasync_helper+0x7a/0xb0 [ 27.824958] [] ? dev_seq_stop+0x50/0x50 [ 27.830543] [] ? ioctl_preallocate+0x220/0x220 [ 27.836741] [] ? selinux_file_ioctl+0x355/0x530 [ 27.843024] [] ? selinux_capable+0x40/0x40 [ 27.848873] [] vfs_readv+0x84/0xc0 [ 27.854029] [] do_readv+0xe6/0x250 [ 27.859181] [] ? vfs_readv+0xc0/0xc0 [ 27.864511] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.871142] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.877945] [] SyS_readv+0x27/0x30 [ 27.883099] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.889641] [ 27.891232] Allocated by task 0: [ 27.894562] (stack is not available) [ 27.898235] [ 27.899834] Freed by task 0: [ 27.902813] (stack is not available) [ 27.906486] [ 27.908089] The buggy address belongs to the object at ffff8801c9264100 [ 27.908089] which belongs to the cache fasync_cache of size 96 [ 27.920708] The buggy address is located 64 bytes inside of [ 27.920708] 96-byte region [ffff8801c9264100, ffff8801c9264160) [ 27.932375] The buggy address belongs to the page: [ 27.937267] page:ffffea0007249900 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.945483] flags: 0x8000000000000080(slab) [ 27.949771] page dumped because: kasan: bad access detected [ 27.955444] [ 27.957034] Memory state around the buggy address: [ 27.961925] ffff8801c9264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.969247] ffff8801c9264080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.976569] >ffff8801c9264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.983889] ^ [ 27.989307] ffff8801c9264180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.996632] ffff8801c9264200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.003962] ================================================================== [ 28.011282] Disabling lock debugging due to kernel taint [ 28.016949] Kernel panic - not syncing: panic_on_warn set ... [ 28.016949] [ 28.024285] CPU: 1 PID: 3337 Comm: syzkaller114540 Tainted: G B 4.9.76-g8dec074 #13 [ 28.033180] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.042510] ffff8801c9967908 ffffffff81d93169 ffffffff84195c2f ffff8801c99679e0 [ 28.050454] 0000000000000000 ffff8801c9264140 ffff8801c8baa338 ffff8801c99679d0 [ 28.058403] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 28.066359] Call Trace: [ 28.068913] [] dump_stack+0xc1/0x128 [ 28.074242] [] panic+0x1bc/0x3a8 [ 28.079223] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.087418] [] ? preempt_schedule+0x25/0x30 [ 28.093355] [] ? ___preempt_schedule+0x16/0x18 [ 28.099552] [] kasan_end_report+0x50/0x50 [ 28.105323] [] kasan_report+0x167/0x360 [ 28.110910] [] ? sg_remove_request+0x103/0x120 [ 28.117105] [] __asan_report_load8_noabort+0x14/0x20 [ 28.123820] [] sg_remove_request+0x103/0x120 [ 28.129849] [] sg_finish_rem_req+0x295/0x340 [ 28.135870] [] sg_read+0xa1c/0x1440 [ 28.141116] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.147745] [] ? fsnotify+0xf30/0xf30 [ 28.153160] [] ? avc_policy_seqno+0x9/0x20 [ 28.159009] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.165985] [] ? security_file_permission+0x89/0x1e0 [ 28.172710] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.179340] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.185976] [] do_readv_writev+0x520/0x750 [ 28.191823] [] ? vfs_write+0x530/0x530 [ 28.197324] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.203258] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.209627] [] ? fasync_helper+0x7a/0xb0 [ 28.215300] [] ? dev_seq_stop+0x50/0x50 [ 28.220889] [] ? ioctl_preallocate+0x220/0x220 [ 28.227092] [] ? selinux_file_ioctl+0x355/0x530 [ 28.233374] [] ? selinux_capable+0x40/0x40 [ 28.239219] [] vfs_readv+0x84/0xc0 [ 28.244371] [] do_readv+0xe6/0x250 [ 28.249523] [] ? vfs_readv+0xc0/0xc0 [ 28.254851] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 28.261485] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.268287] [] SyS_readv+0x27/0x30 [ 28.273444] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 28.280021] Dumping ftrace buffer: [ 28.283526] (ftrace buffer empty) [ 28.287203] Kernel Offset: disabled [ 28.290796] Rebooting in 86400 seconds..