[....] Starting enhanced syslogd: rsyslogd[ 10.979763] audit: type=1400 audit(1515676039.555:4): avc: denied { syslog } for pid=3171 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.203' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 32.990608] ================================================================== [ 32.991706] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 32.992659] Read of size 8 at addr ffff8801c9b3f140 by task syzkaller779768/3336 [ 32.993641] [ 32.993907] CPU: 0 PID: 3336 Comm: syzkaller779768 Not tainted 4.9.76-g9154940 #10 [ 32.994921] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.996157] ffff8801c99979b0 ffffffff81d93149 ffffea000726cfc0 ffff8801c9b3f140 [ 32.997339] 0000000000000000 ffff8801c9b3f140 ffff8801c9d6a338 ffff8801c99979e8 [ 32.998476] ffffffff8153cb43 ffff8801c9b3f140 0000000000000008 0000000000000000 [ 32.999602] Call Trace: [ 32.999960] [] dump_stack+0xc1/0x128 [ 33.000671] [] print_address_description+0x73/0x280 [ 33.001550] [] kasan_report+0x275/0x360 [ 33.002302] [] ? sg_remove_request+0x103/0x120 [ 33.003121] [] __asan_report_load8_noabort+0x14/0x20 [ 33.004040] [] sg_remove_request+0x103/0x120 [ 33.004852] [] sg_finish_rem_req+0x295/0x340 [ 33.005742] [] sg_read+0xa1c/0x1440 [ 33.006449] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.007324] [] ? fsnotify+0xf30/0xf30 [ 33.008044] [] ? avc_policy_seqno+0x9/0x20 [ 33.008820] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 33.009742] [] ? security_file_permission+0x89/0x1e0 [ 33.010655] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.016937] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.023569] [] do_readv_writev+0x520/0x750 [ 33.029419] [] ? vfs_write+0x530/0x530 [ 33.034924] [] ? __pmd_alloc+0x410/0x410 [ 33.040601] [] ? dev_seq_stop+0x50/0x50 [ 33.046194] [] ? __do_page_fault+0x5ec/0xd40 [ 33.052218] [] vfs_readv+0x84/0xc0 [ 33.057470] [] do_readv+0xe6/0x250 [ 33.062629] [] ? vfs_readv+0xc0/0xc0 [ 33.067959] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 33.074592] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 33.081506] [] SyS_readv+0x27/0x30 [ 33.086670] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 33.093212] [ 33.094803] Allocated by task 0: [ 33.098131] (stack is not available) [ 33.101807] [ 33.103397] Freed by task 0: [ 33.106379] (stack is not available) [ 33.110054] [ 33.111647] The buggy address belongs to the object at ffff8801c9b3f100 [ 33.111647] which belongs to the cache fasync_cache of size 96 [ 33.124278] The buggy address is located 64 bytes inside of [ 33.124278] 96-byte region [ffff8801c9b3f100, ffff8801c9b3f160) [ 33.135949] The buggy address belongs to the page: [ 33.140850] page:ffffea000726cfc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 33.149068] flags: 0x8000000000000080(slab) [ 33.153351] page dumped because: kasan: bad access detected [ 33.159034] [ 33.160625] Memory state around the buggy address: [ 33.165524] ffff8801c9b3f000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 33.172847] ffff8801c9b3f080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.180171] >ffff8801c9b3f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.187503] ^ [ 33.192915] ffff8801c9b3f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.200239] ffff8801c9b3f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.207560] ================================================================== [ 33.214881] Disabling lock debugging due to kernel taint [ 33.220586] Kernel panic - not syncing: panic_on_warn set ... [ 33.220586] [ 33.227922] CPU: 0 PID: 3336 Comm: syzkaller779768 Tainted: G B 4.9.76-g9154940 #10 [ 33.236809] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.246129] ffff8801c9997908 ffffffff81d93149 ffffffff84195c17 ffff8801c99979e0 [ 33.254071] 0000000000000000 ffff8801c9b3f140 ffff8801c9d6a338 ffff8801c99979d0 [ 33.262022] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 33.269990] Call Trace: [ 33.272546] [] dump_stack+0xc1/0x128 [ 33.277879] [] panic+0x1bc/0x3a8 [ 33.282865] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 33.291060] [] ? preempt_schedule+0x25/0x30 [ 33.296998] [] ? ___preempt_schedule+0x16/0x18 [ 33.303219] [] kasan_end_report+0x50/0x50 [ 33.308984] [] kasan_report+0x167/0x360 [ 33.314574] [] ? sg_remove_request+0x103/0x120 [ 33.320771] [] __asan_report_load8_noabort+0x14/0x20 [ 33.327490] [] sg_remove_request+0x103/0x120 [ 33.333511] [] sg_finish_rem_req+0x295/0x340 [ 33.339543] [] sg_read+0xa1c/0x1440 [ 33.344787] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.351424] [] ? fsnotify+0xf30/0xf30 [ 33.356840] [] ? avc_policy_seqno+0x9/0x20 [ 33.362691] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 33.369668] [] ? security_file_permission+0x89/0x1e0 [ 33.376386] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.383016] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.389651] [] do_readv_writev+0x520/0x750 [ 33.395497] [] ? vfs_write+0x530/0x530 [ 33.401000] [] ? __pmd_alloc+0x410/0x410 [ 33.406675] [] ? dev_seq_stop+0x50/0x50 [ 33.412279] [] ? __do_page_fault+0x5ec/0xd40 [ 33.418310] [] vfs_readv+0x84/0xc0 [ 33.423464] [] do_readv+0xe6/0x250 [ 33.428628] [] ? vfs_readv+0xc0/0xc0 [ 33.433963] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 33.440604] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 33.447408] [] SyS_readv+0x27/0x30 [ 33.452569] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 33.459162] Dumping ftrace buffer: [ 33.462672] (ftrace buffer empty) [ 33.466355] Kernel Offset: disabled [ 33.469945] Rebooting in 86400 seconds..