[....] Starting enhanced syslogd: rsyslogd[ 13.110986] audit: type=1400 audit(1517514115.927:4): avc: denied { syslog } for pid=3903 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.225' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.813990] ================================================================== [ 24.821385] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.828455] Read of size 8 at addr ffff8801bf55c140 by task syzkaller118459/4060 [ 24.835957] [ 24.837566] CPU: 1 PID: 4060 Comm: syzkaller118459 Not tainted 4.9.79-g71f1469 #25 [ 24.845248] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.854573] ffff8801d35379b0 ffffffff81d94829 ffffea0006fd5700 ffff8801bf55c140 [ 24.862548] 0000000000000000 ffff8801bf55c140 ffff8801d395c438 ffff8801d35379e8 [ 24.870536] ffffffff8153e083 ffff8801bf55c140 0000000000000008 0000000000000000 [ 24.878509] Call Trace: [ 24.881071] [] dump_stack+0xc1/0x128 [ 24.886415] [] print_address_description+0x73/0x280 [ 24.893067] [] kasan_report+0x275/0x360 [ 24.898674] [] ? sg_remove_request+0x103/0x120 [ 24.904877] [] __asan_report_load8_noabort+0x14/0x20 [ 24.911611] [] sg_remove_request+0x103/0x120 [ 24.917658] [] sg_finish_rem_req+0x295/0x340 [ 24.923698] [] sg_read+0xa16/0x1440 [ 24.928949] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.935594] [] ? fsnotify+0xf30/0xf30 [ 24.941016] [] ? avc_policy_seqno+0x9/0x20 [ 24.946872] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.953870] [] ? security_file_permission+0x89/0x1e0 [ 24.960605] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.967241] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 24.973882] [] do_readv_writev+0x520/0x750 [ 24.979736] [] ? vfs_write+0x530/0x530 [ 24.985246] [] ? __pmd_alloc+0x410/0x410 [ 24.990935] [] ? __do_page_fault+0x5ec/0xd40 [ 24.996976] [] vfs_readv+0x84/0xc0 [ 25.002136] [] do_readv+0xe6/0x250 [ 25.007298] [] ? vfs_readv+0xc0/0xc0 [ 25.012632] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 25.019273] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.026089] [] SyS_readv+0x27/0x30 [ 25.031250] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 25.037801] [ 25.039404] Allocated by task 0: [ 25.042917] (stack is not available) [ 25.046616] [ 25.048226] Freed by task 0: [ 25.051212] (stack is not available) [ 25.054893] [ 25.056519] The buggy address belongs to the object at ffff8801bf55c100 [ 25.056519] which belongs to the cache fasync_cache of size 96 [ 25.069155] The buggy address is located 64 bytes inside of [ 25.069155] 96-byte region [ffff8801bf55c100, ffff8801bf55c160) [ 25.080829] The buggy address belongs to the page: [ 25.085732] page:ffffea0006fd5700 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.093993] flags: 0x8000000000000080(slab) [ 25.098290] page dumped because: kasan: bad access detected [ 25.103967] [ 25.105566] Memory state around the buggy address: [ 25.110467] ffff8801bf55c000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.117799] ffff8801bf55c080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.125128] >ffff8801bf55c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.132464] ^ [ 25.137901] ffff8801bf55c180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.145244] ffff8801bf55c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.152581] ================================================================== [ 25.159930] Disabling lock debugging due to kernel taint [ 25.165630] Kernel panic - not syncing: panic_on_warn set ... [ 25.165630] [ 25.172985] CPU: 1 PID: 4060 Comm: syzkaller118459 Tainted: G B 4.9.79-g71f1469 #25 [ 25.181885] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.191221] ffff8801d3537908 ffffffff81d94829 ffffffff8419709f ffff8801d35379e0 [ 25.199230] 0000000000000000 ffff8801bf55c140 ffff8801d395c438 ffff8801d35379d0 [ 25.207220] ffffffff8142f531 0000000041b58ab3 ffffffff8418ab10 ffffffff8142f375 [ 25.215191] Call Trace: [ 25.217752] [] dump_stack+0xc1/0x128 [ 25.223089] [] panic+0x1bc/0x3a8 [ 25.228090] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.236304] [] ? preempt_schedule+0x25/0x30 [ 25.242249] [] ? ___preempt_schedule+0x16/0x18 [ 25.248456] [] kasan_end_report+0x50/0x50 [ 25.254236] [] kasan_report+0x167/0x360 [ 25.259839] [] ? sg_remove_request+0x103/0x120 [ 25.266050] [] __asan_report_load8_noabort+0x14/0x20 [ 25.272777] [] sg_remove_request+0x103/0x120 [ 25.278822] [] sg_finish_rem_req+0x295/0x340 [ 25.284854] [] sg_read+0xa16/0x1440 [ 25.290104] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 25.296750] [] ? fsnotify+0xf30/0xf30 [ 25.302184] [] ? avc_policy_seqno+0x9/0x20 [ 25.308053] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 25.315049] [] ? security_file_permission+0x89/0x1e0 [ 25.321791] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 25.328448] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 25.335099] [] do_readv_writev+0x520/0x750 [ 25.340963] [] ? vfs_write+0x530/0x530 [ 25.346485] [] ? __pmd_alloc+0x410/0x410 [ 25.352192] [] ? __do_page_fault+0x5ec/0xd40 [ 25.358241] [] vfs_readv+0x84/0xc0 [ 25.363423] [] do_readv+0xe6/0x250 [ 25.368612] [] ? vfs_readv+0xc0/0xc0 [ 25.373962] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 25.380600] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.387417] [] SyS_readv+0x27/0x30 [ 25.392580] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 25.399669] Dumping ftrace buffer: [ 25.403190] (ftrace buffer empty) [ 25.406874] Kernel Offset: disabled [ 25.410476] Rebooting in 86400 seconds..