[....] Starting enhanced syslogd: rsyslogd[ 12.487593] audit: type=1400 audit(1515962270.404:4): avc: denied { syslog } for pid=3183 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.228' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.436665] ================================================================== [ 23.444067] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.451152] Read of size 8 at addr ffff8801cd5b3140 by task syzkaller037194/3343 [ 23.458652] [ 23.460255] CPU: 0 PID: 3343 Comm: syzkaller037194 Not tainted 4.9.76-gf0f6293 #12 [ 23.467929] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.477258] ffff8801cb6679b0 ffffffff81d93149 ffffea0007356cc0 ffff8801cd5b3140 [ 23.485229] 0000000000000000 ffff8801cd5b3140 ffff8801ca688238 ffff8801cb6679e8 [ 23.493208] ffffffff8153cb43 ffff8801cd5b3140 0000000000000008 0000000000000000 [ 23.501177] Call Trace: [ 23.503738] [] dump_stack+0xc1/0x128 [ 23.509071] [] print_address_description+0x73/0x280 [ 23.515708] [] kasan_report+0x275/0x360 [ 23.521301] [] ? sg_remove_request+0x103/0x120 [ 23.527502] [] __asan_report_load8_noabort+0x14/0x20 [ 23.534226] [] sg_remove_request+0x103/0x120 [ 23.540255] [] sg_finish_rem_req+0x295/0x340 [ 23.546280] [] sg_read+0xa1c/0x1440 [ 23.551526] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.558179] [] ? fsnotify+0xf30/0xf30 [ 23.563600] [] ? avc_policy_seqno+0x9/0x20 [ 23.569462] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.576445] [] ? security_file_permission+0x89/0x1e0 [ 23.583168] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.589806] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.596448] [] do_readv_writev+0x520/0x750 [ 23.602303] [] ? vfs_write+0x530/0x530 [ 23.607816] [] ? __pmd_alloc+0x410/0x410 [ 23.613502] [] ? dev_seq_stop+0x50/0x50 [ 23.619099] [] ? __do_page_fault+0x5ec/0xd40 [ 23.625135] [] vfs_readv+0x84/0xc0 [ 23.630294] [] do_readv+0xe6/0x250 [ 23.635457] [] ? vfs_readv+0xc0/0xc0 [ 23.640790] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 23.647432] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 23.654245] [] SyS_readv+0x27/0x30 [ 23.659402] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 23.665949] [ 23.667549] Allocated by task 0: [ 23.670880] (stack is not available) [ 23.674569] [ 23.676167] Freed by task 0: [ 23.679149] (stack is not available) [ 23.682836] [ 23.684437] The buggy address belongs to the object at ffff8801cd5b3100 [ 23.684437] which belongs to the cache fasync_cache of size 96 [ 23.697061] The buggy address is located 64 bytes inside of [ 23.697061] 96-byte region [ffff8801cd5b3100, ffff8801cd5b3160) [ 23.708728] The buggy address belongs to the page: [ 23.713627] page:ffffea0007356cc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 23.721856] flags: 0x8000000000000080(slab) [ 23.726143] page dumped because: kasan: bad access detected [ 23.731840] [ 23.733436] Memory state around the buggy address: [ 23.738332] ffff8801cd5b3000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 23.745661] ffff8801cd5b3080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.752997] >ffff8801cd5b3100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.760323] ^ [ 23.765743] ffff8801cd5b3180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.773069] ffff8801cd5b3200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.780393] ================================================================== [ 23.787717] Disabling lock debugging due to kernel taint [ 23.793606] Kernel panic - not syncing: panic_on_warn set ... [ 23.793606] [ 23.800971] CPU: 0 PID: 3343 Comm: syzkaller037194 Tainted: G B 4.9.76-gf0f6293 #12 [ 23.809865] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.819197] ffff8801cb667908 ffffffff81d93149 ffffffff84195c17 ffff8801cb6679e0 [ 23.827162] 0000000000000000 ffff8801cd5b3140 ffff8801ca688238 ffff8801cb6679d0 [ 23.835132] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 23.843100] Call Trace: [ 23.845661] [] dump_stack+0xc1/0x128 [ 23.851000] [] panic+0x1bc/0x3a8 [ 23.856003] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 23.864200] [] ? preempt_schedule+0x25/0x30 [ 23.870148] [] ? ___preempt_schedule+0x16/0x18 [ 23.876349] [] kasan_end_report+0x50/0x50 [ 23.882116] [] kasan_report+0x167/0x360 [ 23.887716] [] ? sg_remove_request+0x103/0x120 [ 23.893919] [] __asan_report_load8_noabort+0x14/0x20 [ 23.900640] [] sg_remove_request+0x103/0x120 [ 23.906671] [] sg_finish_rem_req+0x295/0x340 [ 23.912698] [] sg_read+0xa1c/0x1440 [ 23.917944] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.924578] [] ? fsnotify+0xf30/0xf30 [ 23.930006] [] ? avc_policy_seqno+0x9/0x20 [ 23.935860] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 23.942847] [] ? security_file_permission+0x89/0x1e0 [ 23.949568] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.956210] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 23.962851] [] do_readv_writev+0x520/0x750 [ 23.968705] [] ? vfs_write+0x530/0x530 [ 23.974211] [] ? __pmd_alloc+0x410/0x410 [ 23.979889] [] ? dev_seq_stop+0x50/0x50 [ 23.985482] [] ? __do_page_fault+0x5ec/0xd40 [ 23.991509] [] vfs_readv+0x84/0xc0 [ 23.996668] [] do_readv+0xe6/0x250 [ 24.001825] [] ? vfs_readv+0xc0/0xc0 [ 24.007160] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 24.013813] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 24.020624] [] SyS_readv+0x27/0x30 [ 24.025788] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 24.032757] Dumping ftrace buffer: [ 24.036271] (ftrace buffer empty) [ 24.039952] Kernel Offset: disabled [ 24.043547] Rebooting in 86400 seconds..