[....] Starting enhanced syslogd: rsyslogd[ 12.925867] audit: type=1400 audit(1516253479.335:4): avc: denied { syslog } for pid=3167 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.28' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.157640] ================================================================== [ 31.165043] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 31.172111] Read of size 8 at addr ffff8801c8840140 by task syzkaller009904/3325 [ 31.179613] [ 31.181212] CPU: 0 PID: 3325 Comm: syzkaller009904 Not tainted 4.9.77-g033d019 #14 [ 31.188884] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.198207] ffff8801cbb9f9b0 ffffffff81d941c9 ffffea0007221000 ffff8801c8840140 [ 31.206175] 0000000000000000 ffff8801c8840140 ffff8801c996c438 ffff8801cbb9f9e8 [ 31.214141] ffffffff8153db93 ffff8801c8840140 0000000000000008 0000000000000000 [ 31.222107] Call Trace: [ 31.224663] [] dump_stack+0xc1/0x128 [ 31.229998] [] print_address_description+0x73/0x280 [ 31.236632] [] kasan_report+0x275/0x360 [ 31.242223] [] ? sg_remove_request+0x103/0x120 [ 31.248423] [] __asan_report_load8_noabort+0x14/0x20 [ 31.255142] [] sg_remove_request+0x103/0x120 [ 31.261171] [] sg_finish_rem_req+0x295/0x340 [ 31.267196] [] sg_read+0xa1c/0x1440 [ 31.272444] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.279079] [] ? fsnotify+0xf30/0xf30 [ 31.284499] [] ? avc_policy_seqno+0x9/0x20 [ 31.290354] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.297334] [] ? security_file_permission+0x89/0x1e0 [ 31.304053] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.310687] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.317320] [] do_readv_writev+0x520/0x750 [ 31.323173] [] ? vfs_write+0x530/0x530 [ 31.328680] [] ? __pmd_alloc+0x410/0x410 [ 31.334363] [] ? __do_page_fault+0x5ec/0xd40 [ 31.340392] [] vfs_readv+0x84/0xc0 [ 31.345551] [] do_readv+0xe6/0x250 [ 31.350710] [] ? vfs_readv+0xc0/0xc0 [ 31.356040] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 31.362676] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.369484] [] SyS_readv+0x27/0x30 [ 31.374643] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 31.381199] [ 31.382805] Allocated by task 0: [ 31.386138] (stack is not available) [ 31.389817] [ 31.391413] Freed by task 0: [ 31.394398] (stack is not available) [ 31.398074] [ 31.399670] The buggy address belongs to the object at ffff8801c8840100 [ 31.399670] which belongs to the cache fasync_cache of size 96 [ 31.412294] The buggy address is located 64 bytes inside of [ 31.412294] 96-byte region [ffff8801c8840100, ffff8801c8840160) [ 31.423961] The buggy address belongs to the page: [ 31.428858] page:ffffea0007221000 count:1 mapcount:0 mapping: (null) index:0x0 [ 31.437086] flags: 0x8000000000000080(slab) [ 31.441383] page dumped because: kasan: bad access detected [ 31.447056] [ 31.448650] Memory state around the buggy address: [ 31.453550] ffff8801c8840000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 31.460878] ffff8801c8840080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.468204] >ffff8801c8840100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.475530] ^ [ 31.480951] ffff8801c8840180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.488277] ffff8801c8840200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.495603] ================================================================== [ 31.502931] Disabling lock debugging due to kernel taint [ 31.508669] Kernel panic - not syncing: panic_on_warn set ... [ 31.508669] [ 31.516019] CPU: 0 PID: 3325 Comm: syzkaller009904 Tainted: G B 4.9.77-g033d019 #14 [ 31.524910] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.534233] ffff8801cbb9f908 ffffffff81d941c9 ffffffff841970ff ffff8801cbb9f9e0 [ 31.542216] 0000000000000000 ffff8801c8840140 ffff8801c996c438 ffff8801cbb9f9d0 [ 31.550190] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 31.558162] Call Trace: [ 31.560726] [] dump_stack+0xc1/0x128 [ 31.566059] [] panic+0x1bc/0x3a8 [ 31.571047] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 31.579243] [] ? preempt_schedule+0x25/0x30 [ 31.585182] [] ? ___preempt_schedule+0x16/0x18 [ 31.591384] [] kasan_end_report+0x50/0x50 [ 31.597150] [] kasan_report+0x167/0x360 [ 31.602742] [] ? sg_remove_request+0x103/0x120 [ 31.608943] [] __asan_report_load8_noabort+0x14/0x20 [ 31.615662] [] sg_remove_request+0x103/0x120 [ 31.621689] [] sg_finish_rem_req+0x295/0x340 [ 31.627713] [] sg_read+0xa1c/0x1440 [ 31.632959] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.639601] [] ? fsnotify+0xf30/0xf30 [ 31.645022] [] ? avc_policy_seqno+0x9/0x20 [ 31.650877] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.657859] [] ? security_file_permission+0x89/0x1e0 [ 31.664581] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.671213] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.677845] [] do_readv_writev+0x520/0x750 [ 31.683695] [] ? vfs_write+0x530/0x530 [ 31.689201] [] ? __pmd_alloc+0x410/0x410 [ 31.695404] [] ? __do_page_fault+0x5ec/0xd40 [ 31.701429] [] vfs_readv+0x84/0xc0 [ 31.706588] [] do_readv+0xe6/0x250 [ 31.711748] [] ? vfs_readv+0xc0/0xc0 [ 31.717080] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 31.723717] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.730526] [] SyS_readv+0x27/0x30 [ 31.735682] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 31.742689] Dumping ftrace buffer: [ 31.746198] (ftrace buffer empty) [ 31.749877] Kernel Offset: disabled [ 31.753474] Rebooting in 86400 seconds..