[....] Starting enhanced syslogd: rsyslogd[ 10.907840] audit: type=1400 audit(1515688773.723:4): avc: denied { syslog } for pid=3176 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.202' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.729130] ================================================================== [ 27.730218] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.731149] Read of size 8 at addr ffff8801c8d8d140 by task syzkaller209516/3333 [ 27.732147] [ 27.732395] CPU: 1 PID: 3333 Comm: syzkaller209516 Not tainted 4.9.76-g9154940 #10 [ 27.733416] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.734634] ffff8801c7eaf9b0 ffffffff81d93149 ffffea0007236340 ffff8801c8d8d140 [ 27.735779] 0000000000000000 ffff8801c8d8d140 ffff8801ca094438 ffff8801c7eaf9e8 [ 27.736905] ffffffff8153cb43 ffff8801c8d8d140 0000000000000008 0000000000000000 [ 27.738076] Call Trace: [ 27.738433] [] dump_stack+0xc1/0x128 [ 27.739148] [] print_address_description+0x73/0x280 [ 27.740024] [] kasan_report+0x275/0x360 [ 27.740763] [] ? sg_remove_request+0x103/0x120 [ 27.741582] [] __asan_report_load8_noabort+0x14/0x20 [ 27.742504] [] sg_remove_request+0x103/0x120 [ 27.743303] [] sg_finish_rem_req+0x295/0x340 [ 27.744101] [] sg_read+0xa1c/0x1440 [ 27.744797] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.745687] [] ? fsnotify+0xf30/0xf30 [ 27.746411] [] ? avc_policy_seqno+0x9/0x20 [ 27.747186] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.748105] [] ? security_file_permission+0x89/0x1e0 [ 27.748991] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.754129] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.760765] [] do_readv_writev+0x520/0x750 [ 27.766614] [] ? vfs_write+0x530/0x530 [ 27.772119] [] ? __pmd_alloc+0x410/0x410 [ 27.777823] [] ? __do_page_fault+0x5ec/0xd40 [ 27.783849] [] vfs_readv+0x84/0xc0 [ 27.789015] [] do_readv+0xe6/0x250 [ 27.794173] [] ? vfs_readv+0xc0/0xc0 [ 27.799507] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 27.806138] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.812956] [] SyS_readv+0x27/0x30 [ 27.818113] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.824663] [ 27.826257] Allocated by task 0: [ 27.829593] (stack is not available) [ 27.833265] [ 27.834859] Freed by task 0: [ 27.837849] (stack is not available) [ 27.841535] [ 27.843126] The buggy address belongs to the object at ffff8801c8d8d100 [ 27.843126] which belongs to the cache fasync_cache of size 96 [ 27.855745] The buggy address is located 64 bytes inside of [ 27.855745] 96-byte region [ffff8801c8d8d100, ffff8801c8d8d160) [ 27.867406] The buggy address belongs to the page: [ 27.872302] page:ffffea0007236340 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.880539] flags: 0x8000000000000080(slab) [ 27.884821] page dumped because: kasan: bad access detected [ 27.890493] [ 27.892086] Memory state around the buggy address: [ 27.896978] ffff8801c8d8d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.904303] ffff8801c8d8d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.911628] >ffff8801c8d8d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.918952] ^ [ 27.924373] ffff8801c8d8d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.931698] ffff8801c8d8d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.939026] ================================================================== [ 27.946357] Disabling lock debugging due to kernel taint [ 27.951955] Kernel panic - not syncing: panic_on_warn set ... [ 27.951955] [ 27.959289] CPU: 1 PID: 3333 Comm: syzkaller209516 Tainted: G B 4.9.76-g9154940 #10 [ 27.968186] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.977511] ffff8801c7eaf908 ffffffff81d93149 ffffffff84195c17 ffff8801c7eaf9e0 [ 27.985465] 0000000000000000 ffff8801c8d8d140 ffff8801ca094438 ffff8801c7eaf9d0 [ 27.993402] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.001346] Call Trace: [ 28.003904] [] dump_stack+0xc1/0x128 [ 28.009234] [] panic+0x1bc/0x3a8 [ 28.014216] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.022410] [] ? preempt_schedule+0x25/0x30 [ 28.028345] [] ? ___preempt_schedule+0x16/0x18 [ 28.034554] [] kasan_end_report+0x50/0x50 [ 28.040317] [] kasan_report+0x167/0x360 [ 28.045908] [] ? sg_remove_request+0x103/0x120 [ 28.052107] [] __asan_report_load8_noabort+0x14/0x20 [ 28.058833] [] sg_remove_request+0x103/0x120 [ 28.064865] [] sg_finish_rem_req+0x295/0x340 [ 28.070890] [] sg_read+0xa1c/0x1440 [ 28.076131] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.082762] [] ? fsnotify+0xf30/0xf30 [ 28.088177] [] ? avc_policy_seqno+0x9/0x20 [ 28.094034] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.101017] [] ? security_file_permission+0x89/0x1e0 [ 28.107734] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.114365] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.121002] [] do_readv_writev+0x520/0x750 [ 28.126850] [] ? vfs_write+0x530/0x530 [ 28.132353] [] ? __pmd_alloc+0x410/0x410 [ 28.138045] [] ? __do_page_fault+0x5ec/0xd40 [ 28.144084] [] vfs_readv+0x84/0xc0 [ 28.149243] [] do_readv+0xe6/0x250 [ 28.154407] [] ? vfs_readv+0xc0/0xc0 [ 28.159746] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 28.166376] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.173189] [] SyS_readv+0x27/0x30 [ 28.178344] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 28.185266] Dumping ftrace buffer: [ 28.188772] (ftrace buffer empty) [ 28.192451] Kernel Offset: disabled [ 28.196044] Rebooting in 86400 seconds..