[....] Starting enhanced syslogd: rsyslogd[ 12.311800] audit: type=1400 audit(1515703148.521:4): avc: denied { syslog } for pid=3173 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.0.50' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.458949] ================================================================== [ 28.466320] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.473393] Read of size 8 at addr ffff8801cac52140 by task syzkaller785978/3336 [ 28.480890] [ 28.482489] CPU: 1 PID: 3336 Comm: syzkaller785978 Not tainted 4.9.76-g9154940 #10 [ 28.490164] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.499489] ffff8801c955f9b0 ffffffff81d93149 ffffea00072b1480 ffff8801cac52140 [ 28.507459] 0000000000000000 ffff8801cac52140 ffff8801c928a338 ffff8801c955f9e8 [ 28.515419] ffffffff8153cb43 ffff8801cac52140 0000000000000008 0000000000000000 [ 28.523379] Call Trace: [ 28.525939] [] dump_stack+0xc1/0x128 [ 28.531275] [] print_address_description+0x73/0x280 [ 28.537913] [] kasan_report+0x275/0x360 [ 28.543504] [] ? sg_remove_request+0x103/0x120 [ 28.549709] [] __asan_report_load8_noabort+0x14/0x20 [ 28.556431] [] sg_remove_request+0x103/0x120 [ 28.562459] [] sg_finish_rem_req+0x295/0x340 [ 28.568486] [] sg_read+0xa1c/0x1440 [ 28.573732] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.580373] [] ? fsnotify+0xf30/0xf30 [ 28.585801] [] ? avc_policy_seqno+0x9/0x20 [ 28.591656] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.598634] [] ? security_file_permission+0x89/0x1e0 [ 28.605352] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.611984] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.618617] [] do_readv_writev+0x520/0x750 [ 28.624466] [] ? vfs_write+0x530/0x530 [ 28.629977] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.635930] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.642300] [] ? fasync_helper+0x7a/0xb0 [ 28.647975] [] ? dev_seq_stop+0x50/0x50 [ 28.653563] [] ? do_vfs_ioctl+0x458/0x1140 [ 28.659411] [] ? ioctl_preallocate+0x220/0x220 [ 28.665617] [] ? selinux_file_ioctl+0x355/0x530 [ 28.671904] [] ? selinux_capable+0x40/0x40 [ 28.677754] [] vfs_readv+0x84/0xc0 [ 28.682907] [] do_readv+0xe6/0x250 [ 28.688059] [] ? vfs_readv+0xc0/0xc0 [ 28.693392] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 28.700033] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.706838] [] SyS_readv+0x27/0x30 [ 28.711993] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 28.718539] [ 28.720131] Allocated by task 0: [ 28.723456] (stack is not available) [ 28.727132] [ 28.728723] Freed by task 0: [ 28.731700] (stack is not available) [ 28.735372] [ 28.736963] The buggy address belongs to the object at ffff8801cac52100 [ 28.736963] which belongs to the cache fasync_cache of size 96 [ 28.749585] The buggy address is located 64 bytes inside of [ 28.749585] 96-byte region [ffff8801cac52100, ffff8801cac52160) [ 28.761246] The buggy address belongs to the page: [ 28.766147] page:ffffea00072b1480 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.774367] flags: 0x8000000000000080(slab) [ 28.778648] page dumped because: kasan: bad access detected [ 28.784319] [ 28.785910] Memory state around the buggy address: [ 28.790803] ffff8801cac52000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.798129] ffff8801cac52080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.805452] >ffff8801cac52100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.812774] ^ [ 28.818185] ffff8801cac52180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.825505] ffff8801cac52200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.832826] ================================================================== [ 28.840144] Disabling lock debugging due to kernel taint [ 28.845722] Kernel panic - not syncing: panic_on_warn set ... [ 28.845722] [ 28.853056] CPU: 1 PID: 3336 Comm: syzkaller785978 Tainted: G B 4.9.76-g9154940 #10 [ 28.861945] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.871268] ffff8801c955f908 ffffffff81d93149 ffffffff84195c17 ffff8801c955f9e0 [ 28.879211] 0000000000000000 ffff8801cac52140 ffff8801c928a338 ffff8801c955f9d0 [ 28.887156] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.895202] Call Trace: [ 28.897754] [] dump_stack+0xc1/0x128 [ 28.903083] [] panic+0x1bc/0x3a8 [ 28.908064] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.916265] [] ? preempt_schedule+0x25/0x30 [ 28.922202] [] ? ___preempt_schedule+0x16/0x18 [ 28.928411] [] kasan_end_report+0x50/0x50 [ 28.934171] [] kasan_report+0x167/0x360 [ 28.939761] [] ? sg_remove_request+0x103/0x120 [ 28.945957] [] __asan_report_load8_noabort+0x14/0x20 [ 28.952671] [] sg_remove_request+0x103/0x120 [ 28.958693] [] sg_finish_rem_req+0x295/0x340 [ 28.964713] [] sg_read+0xa1c/0x1440 [ 28.969960] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.976591] [] ? fsnotify+0xf30/0xf30 [ 28.982017] [] ? avc_policy_seqno+0x9/0x20 [ 28.987868] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 28.994843] [] ? security_file_permission+0x89/0x1e0 [ 29.001565] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.008211] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.014841] [] do_readv_writev+0x520/0x750 [ 29.020689] [] ? vfs_write+0x530/0x530 [ 29.026193] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.032130] [] ? fasync_insert_entry+0x147/0x2e0 [ 29.038498] [] ? fasync_helper+0x7a/0xb0 [ 29.044173] [] ? dev_seq_stop+0x50/0x50 [ 29.049760] [] ? do_vfs_ioctl+0x458/0x1140 [ 29.055608] [] ? ioctl_preallocate+0x220/0x220 [ 29.061809] [] ? selinux_file_ioctl+0x355/0x530 [ 29.068092] [] ? selinux_capable+0x40/0x40 [ 29.073940] [] vfs_readv+0x84/0xc0 [ 29.079099] [] do_readv+0xe6/0x250 [ 29.084267] [] ? vfs_readv+0xc0/0xc0 [ 29.089595] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 29.096228] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.103037] [] SyS_readv+0x27/0x30 [ 29.108196] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 29.115160] Dumping ftrace buffer: [ 29.118667] (ftrace buffer empty) [ 29.122357] Kernel Offset: disabled [ 29.125949] Rebooting in 86400 seconds..