[....] Starting enhanced syslogd: rsyslogd[ 10.656716] audit: type=1400 audit(1516072327.990:4): avc: denied { syslog } for pid=3172 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.201' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 21.225774] ================================================================== [ 21.226936] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 21.227868] Read of size 8 at addr ffff8801caaf43c0 by task syzkaller159696/3323 [ 21.228859] [ 21.229092] CPU: 1 PID: 3323 Comm: syzkaller159696 Not tainted 4.9.76-g8dec074 #13 [ 21.230130] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.231351] ffff8801c84b79b0 ffffffff81d93169 ffffea00072abd00 ffff8801caaf43c0 [ 21.232531] 0000000000000000 ffff8801caaf43c0 ffff8801c9364438 ffff8801c84b79e8 [ 21.233688] ffffffff8153cb43 ffff8801caaf43c0 0000000000000008 0000000000000000 [ 21.234816] Call Trace: [ 21.235174] [] dump_stack+0xc1/0x128 [ 21.235902] [] print_address_description+0x73/0x280 [ 21.236777] [] kasan_report+0x275/0x360 [ 21.237529] [] ? sg_remove_request+0x103/0x120 [ 21.238349] [] __asan_report_load8_noabort+0x14/0x20 [ 21.239234] [] sg_remove_request+0x103/0x120 [ 21.240050] [] sg_finish_rem_req+0x295/0x340 [ 21.240847] [] sg_read+0xa1c/0x1440 [ 21.241560] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.242436] [] ? fsnotify+0xf30/0xf30 [ 21.243158] [] ? avc_policy_seqno+0x9/0x20 [ 21.243935] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 21.244880] [] ? security_file_permission+0x89/0x1e0 [ 21.245823] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.251443] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.258090] [] do_readv_writev+0x520/0x750 [ 21.258095] [] ? vfs_write+0x530/0x530 [ 21.258100] [] ? __fget+0x201/0x3a0 [ 21.258104] [] ? __fget+0x228/0x3a0 [ 21.258107] [] ? __fget+0x47/0x3a0 [ 21.258110] [] vfs_readv+0x84/0xc0 [ 21.258114] [] do_readv+0xe6/0x250 [ 21.258118] [] ? vfs_readv+0xc0/0xc0 [ 21.258125] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 21.258132] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.258136] [] SyS_readv+0x27/0x30 [ 21.258140] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.258142] [ 21.258145] Allocated by task 0: [ 21.258146] (stack is not available) [ 21.258146] [ 21.258148] Freed by task 0: [ 21.258149] (stack is not available) [ 21.258149] [ 21.258153] The buggy address belongs to the object at ffff8801caaf4380 [ 21.258153] which belongs to the cache fasync_cache of size 96 [ 21.258156] The buggy address is located 64 bytes inside of [ 21.258156] 96-byte region [ffff8801caaf4380, ffff8801caaf43e0) [ 21.258157] The buggy address belongs to the page: [ 21.258162] page:ffffea00072abd00 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.258165] flags: 0x8000000000000080(slab) [ 21.258167] page dumped because: kasan: bad access detected [ 21.258167] [ 21.258169] Memory state around the buggy address: [ 21.258173] ffff8801caaf4280: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.258176] ffff8801caaf4300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.258178] >ffff8801caaf4380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.258181] ^ [ 21.258183] ffff8801caaf4400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.258186] ffff8801caaf4480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.258187] ================================================================== [ 21.258189] Disabling lock debugging due to kernel taint [ 21.261013] Kernel panic - not syncing: panic_on_warn set ... [ 21.261013] [ 21.261020] CPU: 1 PID: 3323 Comm: syzkaller159696 Tainted: G B 4.9.76-g8dec074 #13 [ 21.261023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.261031] ffff8801c84b7908 ffffffff81d93169 ffffffff84195c2f ffff8801c84b79e0 [ 21.261036] 0000000000000000 ffff8801caaf43c0 ffff8801c9364438 ffff8801c84b79d0 [ 21.261041] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 21.261042] Call Trace: [ 21.261053] [] dump_stack+0xc1/0x128 [ 21.261060] [] panic+0x1bc/0x3a8 [ 21.261065] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.261073] [] ? preempt_schedule+0x25/0x30 [ 21.261079] [] ? ___preempt_schedule+0x16/0x18 [ 21.261085] [] kasan_end_report+0x50/0x50 [ 21.261089] [] kasan_report+0x167/0x360 [ 21.261095] [] ? sg_remove_request+0x103/0x120 [ 21.261099] [] __asan_report_load8_noabort+0x14/0x20 [ 21.261103] [] sg_remove_request+0x103/0x120 [ 21.261107] [] sg_finish_rem_req+0x295/0x340 [ 21.261110] [] sg_read+0xa1c/0x1440 [ 21.261114] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.261118] [] ? fsnotify+0xf30/0xf30 [ 21.261125] [] ? avc_policy_seqno+0x9/0x20 [ 21.261131] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 21.261135] [] ? security_file_permission+0x89/0x1e0 [ 21.261139] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.261142] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.261146] [] do_readv_writev+0x520/0x750 [ 21.261150] [] ? vfs_write+0x530/0x530 [ 21.261155] [] ? __fget+0x201/0x3a0 [ 21.261158] [] ? __fget+0x228/0x3a0 [ 21.261161] [] ? __fget+0x47/0x3a0 [ 21.261165] [] vfs_readv+0x84/0xc0 [ 21.261169] [] do_readv+0xe6/0x250 [ 21.261172] [] ? vfs_readv+0xc0/0xc0 [ 21.261177] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 21.261185] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.261189] [] SyS_readv+0x27/0x30 [ 21.261193] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.265036] Dumping ftrace buffer: [ 21.265040] (ftrace buffer empty) [ 21.265043] Kernel Offset: disabled [ 21.700612] Rebooting in 86400 seconds..