[....] Starting enhanced syslogd: rsyslogd[ 10.934644] audit: type=1400 audit(1515382596.875:4): avc: denied { syslog } for pid=3175 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.225' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.849246] ================================================================== [ 27.850394] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.851403] Read of size 8 at addr ffff8801ca5a7140 by task syzkaller894156/3332 [ 27.852422] [ 27.852667] CPU: 0 PID: 3332 Comm: syzkaller894156 Not tainted 4.9.75-g5f5e5d4 #17 [ 27.853708] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.855010] ffff8801c9937a50 ffffffff81d93049 ffffea00072969c0 ffff8801ca5a7140 [ 27.856170] 0000000000000000 ffff8801ca5a7140 ffff8801c9e0c438 ffff8801c9937a88 [ 27.857298] ffffffff8153ca53 ffff8801ca5a7140 0000000000000008 0000000000000000 [ 27.858437] Call Trace: [ 27.858824] [] dump_stack+0xc1/0x128 [ 27.859550] [] print_address_description+0x73/0x280 [ 27.860445] [] kasan_report+0x275/0x360 [ 27.861227] [] ? sg_remove_request+0x103/0x120 [ 27.862049] [] __asan_report_load8_noabort+0x14/0x20 [ 27.862946] [] sg_remove_request+0x103/0x120 [ 27.863744] [] sg_finish_rem_req+0x295/0x340 [ 27.864646] [] sg_read+0xa1c/0x1440 [ 27.865385] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.866284] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.867178] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.867973] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.868833] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.869718] [] __vfs_read+0x103/0x670 [ 27.875145] [] ? default_llseek+0x290/0x290 [ 27.881089] [] ? fsnotify+0x86/0xf30 [ 27.886418] [] ? fsnotify+0xf30/0xf30 [ 27.891839] [] ? avc_policy_seqno+0x9/0x20 [ 27.897689] [] ? selinux_file_permission+0x82/0x460 [ 27.904332] [] ? security_file_permission+0x89/0x1e0 [ 27.911054] [] ? rw_verify_area+0xe5/0x2b0 [ 27.916921] [] vfs_read+0x11e/0x380 [ 27.922186] [] SyS_read+0xd9/0x1b0 [ 27.927364] [] ? vfs_copy_file_range+0x740/0x740 [ 27.933740] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 27.939863] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.946061] [] ? vfs_copy_file_range+0x740/0x740 [ 27.952434] [] do_fast_syscall_32+0x2f7/0x890 [ 27.958552] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.965203] [] entry_SYSENTER_compat+0x74/0x83 [ 27.971401] [ 27.972999] Allocated by task 0: [ 27.976325] (stack is not available) [ 27.980002] [ 27.981595] Freed by task 0: [ 27.984576] (stack is not available) [ 27.988252] [ 27.989858] The buggy address belongs to the object at ffff8801ca5a7100 [ 27.989858] which belongs to the cache fasync_cache of size 96 [ 28.002483] The buggy address is located 64 bytes inside of [ 28.002483] 96-byte region [ffff8801ca5a7100, ffff8801ca5a7160) [ 28.014148] The buggy address belongs to the page: [ 28.019045] page:ffffea00072969c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.027273] flags: 0x8000000000000080(slab) [ 28.031570] page dumped because: kasan: bad access detected [ 28.037242] [ 28.038838] Memory state around the buggy address: [ 28.043744] ffff8801ca5a7000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.051070] ffff8801ca5a7080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.058606] >ffff8801ca5a7100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.065943] ^ [ 28.071587] ffff8801ca5a7180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.078926] ffff8801ca5a7200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.086256] ================================================================== [ 28.093582] Disabling lock debugging due to kernel taint [ 28.099213] Kernel panic - not syncing: panic_on_warn set ... [ 28.099213] [ 28.106554] CPU: 0 PID: 3332 Comm: syzkaller894156 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 28.115443] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.124771] ffff8801c99379a8 ffffffff81d93049 ffffffff84195be7 ffff8801c9937a80 [ 28.132741] 0000000000000000 ffff8801ca5a7140 ffff8801c9e0c438 ffff8801c9937a70 [ 28.140744] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 28.148693] Call Trace: [ 28.151253] [] dump_stack+0xc1/0x128 [ 28.156587] [] panic+0x1bc/0x3a8 [ 28.161572] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.169773] [] ? preempt_schedule+0x25/0x30 [ 28.175740] [] ? ___preempt_schedule+0x16/0x18 [ 28.181942] [] kasan_end_report+0x50/0x50 [ 28.187706] [] kasan_report+0x167/0x360 [ 28.193299] [] ? sg_remove_request+0x103/0x120 [ 28.199498] [] __asan_report_load8_noabort+0x14/0x20 [ 28.206217] [] sg_remove_request+0x103/0x120 [ 28.212242] [] sg_finish_rem_req+0x295/0x340 [ 28.218263] [] sg_read+0xa1c/0x1440 [ 28.223508] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.229880] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.236514] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.242456] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.248826] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.255464] [] __vfs_read+0x103/0x670 [ 28.260881] [] ? default_llseek+0x290/0x290 [ 28.266833] [] ? fsnotify+0x86/0xf30 [ 28.272165] [] ? fsnotify+0xf30/0xf30 [ 28.277585] [] ? avc_policy_seqno+0x9/0x20 [ 28.283438] [] ? selinux_file_permission+0x82/0x460 [ 28.290075] [] ? security_file_permission+0x89/0x1e0 [ 28.296804] [] ? rw_verify_area+0xe5/0x2b0 [ 28.302657] [] vfs_read+0x11e/0x380 [ 28.307901] [] SyS_read+0xd9/0x1b0 [ 28.313058] [] ? vfs_copy_file_range+0x740/0x740 [ 28.319439] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.325554] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.331756] [] ? vfs_copy_file_range+0x740/0x740 [ 28.338125] [] do_fast_syscall_32+0x2f7/0x890 [ 28.344239] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.350882] [] entry_SYSENTER_compat+0x74/0x83 [ 28.357128] Dumping ftrace buffer: [ 28.360634] (ftrace buffer empty) [ 28.364312] Kernel Offset: disabled [ 28.367906] Rebooting in 86400 seconds..