[....] Starting enhanced syslogd: rsyslogd[ 11.353694] audit: type=1400 audit(1516325047.685:4): avc: denied { syslog } for pid=3174 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.227' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 37.069929] ================================================================== [ 37.077342] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 37.084432] Read of size 8 at addr ffff8801c1084140 by task syzkaller428550/3340 [ 37.091938] [ 37.093542] CPU: 0 PID: 3340 Comm: syzkaller428550 Not tainted 4.9.77-g8788313 #16 [ 37.101219] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.110546] ffff8801c85a79b0 ffffffff81d941c9 ffffea0007042100 ffff8801c1084140 [ 37.118524] 0000000000000000 ffff8801c1084140 ffff8801cb30c438 ffff8801c85a79e8 [ 37.126518] ffffffff8153db93 ffff8801c1084140 0000000000000008 0000000000000000 [ 37.134516] Call Trace: [ 37.137080] [] dump_stack+0xc1/0x128 [ 37.142419] [] print_address_description+0x73/0x280 [ 37.149056] [] kasan_report+0x275/0x360 [ 37.154654] [] ? sg_remove_request+0x103/0x120 [ 37.160861] [] __asan_report_load8_noabort+0x14/0x20 [ 37.167589] [] sg_remove_request+0x103/0x120 [ 37.173618] [] sg_finish_rem_req+0x295/0x340 [ 37.179650] [] sg_read+0xa1c/0x1440 [ 37.184911] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 37.191547] [] ? fsnotify+0xf30/0xf30 [ 37.196970] [] ? avc_policy_seqno+0x9/0x20 [ 37.202840] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 37.209846] [] ? security_file_permission+0x89/0x1e0 [ 37.216575] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 37.223216] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 37.229853] [] do_readv_writev+0x520/0x750 [ 37.235722] [] ? vfs_write+0x530/0x530 [ 37.241230] [] ? __pmd_alloc+0x410/0x410 [ 37.246928] [] ? dev_seq_stop+0x50/0x50 [ 37.252531] [] ? __do_page_fault+0x5ec/0xd40 [ 37.258561] [] vfs_readv+0x84/0xc0 [ 37.263721] [] do_readv+0xe6/0x250 [ 37.268884] [] ? vfs_readv+0xc0/0xc0 [ 37.274224] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 37.280862] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 37.287687] [] SyS_readv+0x27/0x30 [ 37.292845] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 37.299392] [ 37.300990] Allocated by task 0: [ 37.304323] (stack is not available) [ 37.308016] [ 37.309614] Freed by task 0: [ 37.312600] (stack is not available) [ 37.316279] [ 37.317876] The buggy address belongs to the object at ffff8801c1084100 [ 37.317876] which belongs to the cache fasync_cache of size 96 [ 37.330510] The buggy address is located 64 bytes inside of [ 37.330510] 96-byte region [ffff8801c1084100, ffff8801c1084160) [ 37.342180] The buggy address belongs to the page: [ 37.347086] page:ffffea0007042100 count:1 mapcount:0 mapping: (null) index:0x0 [ 37.355325] flags: 0x8000000000000080(slab) [ 37.359615] page dumped because: kasan: bad access detected [ 37.365294] [ 37.366891] Memory state around the buggy address: [ 37.371789] ffff8801c1084000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 37.379118] ffff8801c1084080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.386451] >ffff8801c1084100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.393791] ^ [ 37.399215] ffff8801c1084180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.406544] ffff8801c1084200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.413872] ================================================================== [ 37.421211] Disabling lock debugging due to kernel taint [ 37.426962] Kernel panic - not syncing: panic_on_warn set ... [ 37.426962] [ 37.434306] CPU: 0 PID: 3340 Comm: syzkaller428550 Tainted: G B 4.9.77-g8788313 #16 [ 37.443198] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.452525] ffff8801c85a7908 ffffffff81d941c9 ffffffff841970ff ffff8801c85a79e0 [ 37.460499] 0000000000000000 ffff8801c1084140 ffff8801cb30c438 ffff8801c85a79d0 [ 37.468476] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 37.476449] Call Trace: [ 37.479013] [] dump_stack+0xc1/0x128 [ 37.484353] [] panic+0x1bc/0x3a8 [ 37.489344] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 37.497545] [] ? preempt_schedule+0x25/0x30 [ 37.503487] [] ? ___preempt_schedule+0x16/0x18 [ 37.509703] [] kasan_end_report+0x50/0x50 [ 37.515473] [] kasan_report+0x167/0x360 [ 37.521071] [] ? sg_remove_request+0x103/0x120 [ 37.527274] [] __asan_report_load8_noabort+0x14/0x20 [ 37.533999] [] sg_remove_request+0x103/0x120 [ 37.540037] [] sg_finish_rem_req+0x295/0x340 [ 37.546071] [] sg_read+0xa1c/0x1440 [ 37.551323] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 37.557962] [] ? fsnotify+0xf30/0xf30 [ 37.563565] [] ? avc_policy_seqno+0x9/0x20 [ 37.569429] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 37.576416] [] ? security_file_permission+0x89/0x1e0 [ 37.583141] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 37.589792] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 37.596436] [] do_readv_writev+0x520/0x750 [ 37.602385] [] ? vfs_write+0x530/0x530 [ 37.607908] [] ? __pmd_alloc+0x410/0x410 [ 37.613598] [] ? dev_seq_stop+0x50/0x50 [ 37.619226] [] ? __do_page_fault+0x5ec/0xd40 [ 37.625287] [] vfs_readv+0x84/0xc0 [ 37.630482] [] do_readv+0xe6/0x250 [ 37.635675] [] ? vfs_readv+0xc0/0xc0 [ 37.641038] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 37.647708] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 37.654554] [] SyS_readv+0x27/0x30 [ 37.659753] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 37.666725] Dumping ftrace buffer: [ 37.670256] (ftrace buffer empty) [ 37.673961] Kernel Offset: disabled [ 37.677584] Rebooting in 86400 seconds..