[....] Starting enhanced syslogd: rsyslogd[ 12.667013] audit: type=1400 audit(1519976091.819:4): avc: denied { syslog } for pid=3646 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.8' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.162607] ================================================================== [ 24.169988] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.177057] Read of size 8 at addr ffff8801c5d68140 by task syzkaller525444/3802 [ 24.184559] [ 24.186158] CPU: 1 PID: 3802 Comm: syzkaller525444 Not tainted 4.9.85-g4c4262a #47 [ 24.193830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.203163] ffff8801d7447a60 ffffffff81d95739 ffffea0007175a00 ffff8801c5d68140 [ 24.211139] 0000000000000000 ffff8801c5d68140 ffff8801d7daa338 ffff8801d7447a98 [ 24.219104] ffffffff8153e0d3 ffff8801c5d68140 0000000000000008 0000000000000000 [ 24.227079] Call Trace: [ 24.229635] [] dump_stack+0xc1/0x128 [ 24.234971] [] print_address_description+0x73/0x280 [ 24.241612] [] kasan_report+0x275/0x360 [ 24.247210] [] ? sg_remove_request+0x103/0x120 [ 24.253421] [] __asan_report_load8_noabort+0x14/0x20 [ 24.260149] [] sg_remove_request+0x103/0x120 [ 24.266179] [] sg_finish_rem_req+0x295/0x340 [ 24.272206] [] sg_read+0xa16/0x1440 [ 24.277453] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.284091] [] ? fasync_insert_entry+0x147/0x2e0 [ 24.290466] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.297103] [] __vfs_read+0x103/0x670 [ 24.302524] [] ? default_llseek+0x290/0x290 [ 24.308463] [] ? fsnotify+0x86/0xf30 [ 24.313795] [] ? fsnotify+0xf30/0xf30 [ 24.319217] [] ? avc_policy_seqno+0x9/0x20 [ 24.325569] [] ? selinux_file_permission+0x82/0x460 [ 24.332208] [] ? security_file_permission+0x89/0x1e0 [ 24.338936] [] ? rw_verify_area+0xe5/0x2b0 [ 24.344792] [] vfs_read+0x11e/0x380 [ 24.350039] [] SyS_read+0xd9/0x1b0 [ 24.355200] [] ? vfs_copy_file_range+0x740/0x740 [ 24.361578] [] ? do_syscall_64+0x48/0x490 [ 24.367348] [] ? vfs_copy_file_range+0x740/0x740 [ 24.373730] [] do_syscall_64+0x1a4/0x490 [ 24.379416] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 24.386311] [ 24.387912] Allocated by task 0: [ 24.391246] (stack is not available) [ 24.394926] [ 24.396521] Freed by task 0: [ 24.399508] (stack is not available) [ 24.403185] [ 24.404781] The buggy address belongs to the object at ffff8801c5d68100 [ 24.404781] which belongs to the cache fasync_cache of size 96 [ 24.417403] The buggy address is located 64 bytes inside of [ 24.417403] 96-byte region [ffff8801c5d68100, ffff8801c5d68160) [ 24.429069] The buggy address belongs to the page: [ 24.433973] page:ffffea0007175a00 count:1 mapcount:0 mapping: (null) index:0x0 [ 24.442215] flags: 0x8000000000000080(slab) [ 24.446504] page dumped because: kasan: bad access detected [ 24.452179] [ 24.453776] Memory state around the buggy address: [ 24.458674] ffff8801c5d68000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 24.466000] ffff8801c5d68080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.473330] >ffff8801c5d68100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.480660] ^ [ 24.486078] ffff8801c5d68180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.493411] ffff8801c5d68200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.500741] ================================================================== [ 24.508067] Disabling lock debugging due to kernel taint [ 24.513789] Kernel panic - not syncing: panic_on_warn set ... [ 24.513789] [ 24.521133] CPU: 1 PID: 3802 Comm: syzkaller525444 Tainted: G B 4.9.85-g4c4262a #47 [ 24.530031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.539369] ffff8801d74479b8 ffffffff81d95739 ffffffff8419777f ffff8801d7447a90 [ 24.547346] 0000000000000000 ffff8801c5d68140 ffff8801d7daa338 ffff8801d7447a80 [ 24.555316] ffffffff8142f581 0000000041b58ab3 ffffffff8418b1f0 ffffffff8142f3c5 [ 24.563290] Call Trace: [ 24.565854] [] dump_stack+0xc1/0x128 [ 24.571192] [] panic+0x1bc/0x3a8 [ 24.576183] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 24.584385] [] ? preempt_schedule+0x25/0x30 [ 24.590328] [] ? ___preempt_schedule+0x16/0x18 [ 24.596531] [] kasan_end_report+0x50/0x50 [ 24.602303] [] kasan_report+0x167/0x360 [ 24.607898] [] ? sg_remove_request+0x103/0x120 [ 24.614102] [] __asan_report_load8_noabort+0x14/0x20 [ 24.620827] [] sg_remove_request+0x103/0x120 [ 24.626855] [] sg_finish_rem_req+0x295/0x340 [ 24.632881] [] sg_read+0xa16/0x1440 [ 24.638130] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.644768] [] ? fasync_insert_entry+0x147/0x2e0 [ 24.651147] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.657789] [] __vfs_read+0x103/0x670 [ 24.663210] [] ? default_llseek+0x290/0x290 [ 24.669149] [] ? fsnotify+0x86/0xf30 [ 24.674481] [] ? fsnotify+0xf30/0xf30 [ 24.679902] [] ? avc_policy_seqno+0x9/0x20 [ 24.685753] [] ? selinux_file_permission+0x82/0x460 [ 24.692393] [] ? security_file_permission+0x89/0x1e0 [ 24.699121] [] ? rw_verify_area+0xe5/0x2b0 [ 24.704999] [] vfs_read+0x11e/0x380 [ 24.710260] [] SyS_read+0xd9/0x1b0 [ 24.715423] [] ? vfs_copy_file_range+0x740/0x740 [ 24.721802] [] ? do_syscall_64+0x48/0x490 [ 24.727579] [] ? vfs_copy_file_range+0x740/0x740 [ 24.733965] [] do_syscall_64+0x1a4/0x490 [ 24.739648] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 24.747099] Dumping ftrace buffer: [ 24.750622] (ftrace buffer empty) [ 24.754302] Kernel Offset: disabled [ 24.757898] Rebooting in 86400 seconds..