[....] Starting enhanced syslogd: rsyslogd[ 10.948370] audit: type=1400 audit(1515320142.955:4): avc: denied { syslog } for pid=3198 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.27' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.906803] ================================================================== [ 18.907925] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.908883] Read of size 8 at addr ffff8801c8077140 by task syzkaller503242/3346 [ 18.909882] [ 18.910113] CPU: 0 PID: 3346 Comm: syzkaller503242 Not tainted 4.9.75-g5f5e5d4 #17 [ 18.911149] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.912399] ffff8801c7e77a50 ffffffff81d93049 ffffea0007201dc0 ffff8801c8077140 [ 18.913526] 0000000000000000 ffff8801c8077140 ffff8801c954c438 ffff8801c7e77a88 [ 18.914660] ffffffff8153ca53 ffff8801c8077140 0000000000000008 0000000000000000 [ 18.915788] Call Trace: [ 18.916146] [] dump_stack+0xc1/0x128 [ 18.916856] [] print_address_description+0x73/0x280 [ 18.917732] [] kasan_report+0x275/0x360 [ 18.918473] [] ? sg_remove_request+0x103/0x120 [ 18.919304] [] __asan_report_load8_noabort+0x14/0x20 [ 18.920223] [] sg_remove_request+0x103/0x120 [ 18.921019] [] sg_finish_rem_req+0x295/0x340 [ 18.921816] [] sg_read+0xa1c/0x1440 [ 18.922514] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.923414] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.924278] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 18.925174] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.926062] [] __vfs_read+0x103/0x670 [ 18.926782] [] ? default_llseek+0x290/0x290 [ 18.931999] [] ? fsnotify+0x86/0xf30 [ 18.937336] [] ? fsnotify+0xf30/0xf30 [ 18.942754] [] ? avc_policy_seqno+0x9/0x20 [ 18.949545] [] ? selinux_file_permission+0x82/0x460 [ 18.956178] [] ? security_file_permission+0x89/0x1e0 [ 18.962897] [] ? rw_verify_area+0xe5/0x2b0 [ 18.968745] [] vfs_read+0x11e/0x380 [ 18.973986] [] SyS_read+0xd9/0x1b0 [ 18.979139] [] ? vfs_copy_file_range+0x740/0x740 [ 18.985509] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.991710] [] ? vfs_copy_file_range+0x740/0x740 [ 18.998085] [] do_fast_syscall_32+0x2f7/0x890 [ 19.004194] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.010825] [] entry_SYSENTER_compat+0x74/0x83 [ 19.017018] [ 19.018616] Allocated by task 0: [ 19.021942] (stack is not available) [ 19.025617] [ 19.027212] Freed by task 0: [ 19.030197] (stack is not available) [ 19.033876] [ 19.035471] The buggy address belongs to the object at ffff8801c8077100 [ 19.035471] which belongs to the cache fasync_cache of size 96 [ 19.048096] The buggy address is located 64 bytes inside of [ 19.048096] 96-byte region [ffff8801c8077100, ffff8801c8077160) [ 19.059757] The buggy address belongs to the page: [ 19.064657] page:ffffea0007201dc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.072876] flags: 0x8000000000000080(slab) [ 19.077169] page dumped because: kasan: bad access detected [ 19.082848] [ 19.084438] Memory state around the buggy address: [ 19.089330] ffff8801c8077000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.096658] ffff8801c8077080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.103981] >ffff8801c8077100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.111304] ^ [ 19.116722] ffff8801c8077180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.124047] ffff8801c8077200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.131367] ================================================================== [ 19.138698] Disabling lock debugging due to kernel taint [ 19.144354] Kernel panic - not syncing: panic_on_warn set ... [ 19.144354] [ 19.151700] CPU: 0 PID: 3346 Comm: syzkaller503242 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 19.160590] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.169917] ffff8801c7e779a8 ffffffff81d93049 ffffffff84195be7 ffff8801c7e77a80 [ 19.177880] 0000000000000000 ffff8801c8077140 ffff8801c954c438 ffff8801c7e77a70 [ 19.185837] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 19.193777] Call Trace: [ 19.196330] [] dump_stack+0xc1/0x128 [ 19.201658] [] panic+0x1bc/0x3a8 [ 19.206643] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.214836] [] ? preempt_schedule+0x25/0x30 [ 19.220779] [] ? ___preempt_schedule+0x16/0x18 [ 19.226983] [] kasan_end_report+0x50/0x50 [ 19.232745] [] kasan_report+0x167/0x360 [ 19.238334] [] ? sg_remove_request+0x103/0x120 [ 19.244532] [] __asan_report_load8_noabort+0x14/0x20 [ 19.251256] [] sg_remove_request+0x103/0x120 [ 19.257279] [] sg_finish_rem_req+0x295/0x340 [ 19.263301] [] sg_read+0xa1c/0x1440 [ 19.268543] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.275182] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.281561] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.288367] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.294998] [] __vfs_read+0x103/0x670 [ 19.300416] [] ? default_llseek+0x290/0x290 [ 19.306353] [] ? fsnotify+0x86/0xf30 [ 19.311680] [] ? fsnotify+0xf30/0xf30 [ 19.317108] [] ? avc_policy_seqno+0x9/0x20 [ 19.322957] [] ? selinux_file_permission+0x82/0x460 [ 19.329595] [] ? security_file_permission+0x89/0x1e0 [ 19.336314] [] ? rw_verify_area+0xe5/0x2b0 [ 19.342165] [] vfs_read+0x11e/0x380 [ 19.347404] [] SyS_read+0xd9/0x1b0 [ 19.352559] [] ? vfs_copy_file_range+0x740/0x740 [ 19.358927] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.365130] [] ? vfs_copy_file_range+0x740/0x740 [ 19.371503] [] do_fast_syscall_32+0x2f7/0x890 [ 19.377617] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.384255] [] entry_SYSENTER_compat+0x74/0x83 [ 19.390872] Dumping ftrace buffer: [ 19.394375] (ftrace buffer empty) [ 19.398049] Kernel Offset: disabled [ 19.401640] Rebooting in 86400 seconds..