[....] Starting enhanced syslogd: rsyslogd[ 10.921746] audit: type=1400 audit(1515898065.509:4): avc: denied { syslog } for pid=3180 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.15.196' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.903389] ================================================================== [ 28.904579] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.905566] Read of size 8 at addr ffff8801cc819140 by task syzkaller247618/3337 [ 28.906620] [ 28.906873] CPU: 0 PID: 3337 Comm: syzkaller247618 Not tainted 4.9.76-g8e170a5 #21 [ 28.907923] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.909148] ffff8801c785fa50 ffffffff81d93149 ffffea0007320640 ffff8801cc819140 [ 28.910305] 0000000000000000 ffff8801cc819140 ffff8801c85e0238 ffff8801c785fa88 [ 28.911471] ffffffff8153cb43 ffff8801cc819140 0000000000000008 0000000000000000 [ 28.912620] Call Trace: [ 28.912978] [] dump_stack+0xc1/0x128 [ 28.913810] [] print_address_description+0x73/0x280 [ 28.914768] [] kasan_report+0x275/0x360 [ 28.915555] [] ? sg_remove_request+0x103/0x120 [ 28.916401] [] __asan_report_load8_noabort+0x14/0x20 [ 28.917289] [] sg_remove_request+0x103/0x120 [ 28.918173] [] sg_finish_rem_req+0x295/0x340 [ 28.919062] [] sg_read+0xa1c/0x1440 [ 28.919782] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.920647] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.921989] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.922782] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.924427] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.931065] [] __vfs_read+0x103/0x670 [ 28.936488] [] ? default_llseek+0x290/0x290 [ 28.942434] [] ? fsnotify+0x86/0xf30 [ 28.947770] [] ? fsnotify+0xf30/0xf30 [ 28.953200] [] ? avc_policy_seqno+0x9/0x20 [ 28.959056] [] ? selinux_file_permission+0x82/0x460 [ 28.965694] [] ? security_file_permission+0x89/0x1e0 [ 28.972420] [] ? rw_verify_area+0xe5/0x2b0 [ 28.978288] [] vfs_read+0x11e/0x380 [ 28.983537] [] SyS_read+0xd9/0x1b0 [ 28.988709] [] ? vfs_copy_file_range+0x740/0x740 [ 28.995088] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 29.001209] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.007423] [] ? vfs_copy_file_range+0x740/0x740 [ 29.013802] [] do_fast_syscall_32+0x2f7/0x890 [ 29.019919] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.026577] [] entry_SYSENTER_compat+0x74/0x83 [ 29.032776] [ 29.034379] Allocated by task 0: [ 29.037720] (stack is not available) [ 29.041409] [ 29.043007] Freed by task 0: [ 29.045993] (stack is not available) [ 29.049672] [ 29.051271] The buggy address belongs to the object at ffff8801cc819100 [ 29.051271] which belongs to the cache fasync_cache of size 96 [ 29.063910] The buggy address is located 64 bytes inside of [ 29.063910] 96-byte region [ffff8801cc819100, ffff8801cc819160) [ 29.075580] The buggy address belongs to the page: [ 29.080485] page:ffffea0007320640 count:1 mapcount:0 mapping: (null) index:0x0 [ 29.088725] flags: 0x8000000000000080(slab) [ 29.093014] page dumped because: kasan: bad access detected [ 29.098702] [ 29.100301] Memory state around the buggy address: [ 29.105202] ffff8801cc819000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 29.112540] ffff8801cc819080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.119881] >ffff8801cc819100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.127209] ^ [ 29.132642] ffff8801cc819180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.139988] ffff8801cc819200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.147327] ================================================================== [ 29.154665] Disabling lock debugging due to kernel taint [ 29.160490] Kernel panic - not syncing: panic_on_warn set ... [ 29.160490] [ 29.167835] CPU: 0 PID: 3337 Comm: syzkaller247618 Tainted: G B 4.9.76-g8e170a5 #21 [ 29.176732] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.186062] ffff8801c785f9a8 ffffffff81d93149 ffffffff84195c17 ffff8801c785fa80 [ 29.194070] 0000000000000000 ffff8801cc819140 ffff8801c85e0238 ffff8801c785fa70 [ 29.202056] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 29.210021] Call Trace: [ 29.212593] [] dump_stack+0xc1/0x128 [ 29.217931] [] panic+0x1bc/0x3a8 [ 29.222934] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 29.231141] [] ? preempt_schedule+0x25/0x30 [ 29.237089] [] ? ___preempt_schedule+0x16/0x18 [ 29.243310] [] kasan_end_report+0x50/0x50 [ 29.249093] [] kasan_report+0x167/0x360 [ 29.254688] [] ? sg_remove_request+0x103/0x120 [ 29.260904] [] __asan_report_load8_noabort+0x14/0x20 [ 29.267636] [] sg_remove_request+0x103/0x120 [ 29.273670] [] sg_finish_rem_req+0x295/0x340 [ 29.279710] [] sg_read+0xa1c/0x1440 [ 29.284972] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.291366] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.298008] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.303955] [] ? fasync_insert_entry+0x147/0x2e0 [ 29.310333] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.316971] [] __vfs_read+0x103/0x670 [ 29.322396] [] ? default_llseek+0x290/0x290 [ 29.328339] [] ? fsnotify+0x86/0xf30 [ 29.333684] [] ? fsnotify+0xf30/0xf30 [ 29.339121] [] ? avc_policy_seqno+0x9/0x20 [ 29.344983] [] ? selinux_file_permission+0x82/0x460 [ 29.351626] [] ? security_file_permission+0x89/0x1e0 [ 29.358357] [] ? rw_verify_area+0xe5/0x2b0 [ 29.364216] [] vfs_read+0x11e/0x380 [ 29.369468] [] SyS_read+0xd9/0x1b0 [ 29.374634] [] ? vfs_copy_file_range+0x740/0x740 [ 29.381014] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 29.387131] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.393344] [] ? vfs_copy_file_range+0x740/0x740 [ 29.399738] [] do_fast_syscall_32+0x2f7/0x890 [ 29.405858] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.412504] [] entry_SYSENTER_compat+0x74/0x83 [ 29.419266] Dumping ftrace buffer: [ 29.422797] (ftrace buffer empty) [ 29.426482] Kernel Offset: disabled [ 29.430173] Rebooting in 86400 seconds..