[....] Starting enhanced syslogd: rsyslogd[ 13.600293] audit: type=1400 audit(1515965538.291:4): avc: denied { syslog } for pid=3172 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.18' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.057761] ================================================================== [ 27.065171] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.072249] Read of size 8 at addr ffff8801caa61140 by task syzkaller626188/3328 [ 27.079752] [ 27.081358] CPU: 0 PID: 3328 Comm: syzkaller626188 Not tainted 4.9.76-gf0f6293 #22 [ 27.089032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.098356] ffff8801cba47a50 ffffffff81d93149 ffffea00072a9840 ffff8801caa61140 [ 27.106326] 0000000000000000 ffff8801caa61140 ffff8801cfa12338 ffff8801cba47a88 [ 27.114305] ffffffff8153cb43 ffff8801caa61140 0000000000000008 0000000000000000 [ 27.122283] Call Trace: [ 27.124843] [] dump_stack+0xc1/0x128 [ 27.130185] [] print_address_description+0x73/0x280 [ 27.136834] [] kasan_report+0x275/0x360 [ 27.142436] [] ? sg_remove_request+0x103/0x120 [ 27.148645] [] __asan_report_load8_noabort+0x14/0x20 [ 27.155374] [] sg_remove_request+0x103/0x120 [ 27.161403] [] sg_finish_rem_req+0x295/0x340 [ 27.167431] [] sg_read+0xa1c/0x1440 [ 27.172677] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.179053] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.185703] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.191649] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.198026] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.204662] [] __vfs_read+0x103/0x670 [ 27.210080] [] ? default_llseek+0x290/0x290 [ 27.216022] [] ? fsnotify+0x86/0xf30 [ 27.221616] [] ? fsnotify+0xf30/0xf30 [ 27.227126] [] ? avc_policy_seqno+0x9/0x20 [ 27.232980] [] ? selinux_file_permission+0x82/0x460 [ 27.239615] [] ? security_file_permission+0x89/0x1e0 [ 27.246338] [] ? rw_verify_area+0xe5/0x2b0 [ 27.252200] [] vfs_read+0x11e/0x380 [ 27.257446] [] SyS_read+0xd9/0x1b0 [ 27.262620] [] ? vfs_copy_file_range+0x740/0x740 [ 27.269002] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 27.275122] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.281323] [] ? vfs_copy_file_range+0x740/0x740 [ 27.287697] [] do_fast_syscall_32+0x2f7/0x890 [ 27.293811] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.300458] [] entry_SYSENTER_compat+0x74/0x83 [ 27.306657] [ 27.308258] Allocated by task 0: [ 27.311600] (stack is not available) [ 27.315294] [ 27.316895] Freed by task 0: [ 27.319880] (stack is not available) [ 27.323561] [ 27.325160] The buggy address belongs to the object at ffff8801caa61100 [ 27.325160] which belongs to the cache fasync_cache of size 96 [ 27.337795] The buggy address is located 64 bytes inside of [ 27.337795] 96-byte region [ffff8801caa61100, ffff8801caa61160) [ 27.349464] The buggy address belongs to the page: [ 27.354363] page:ffffea00072a9840 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.362597] flags: 0x8000000000000080(slab) [ 27.366883] page dumped because: kasan: bad access detected [ 27.372561] [ 27.374156] Memory state around the buggy address: [ 27.379054] ffff8801caa61000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.386384] ffff8801caa61080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.393711] >ffff8801caa61100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.401037] ^ [ 27.406454] ffff8801caa61180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.413783] ffff8801caa61200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.421109] ================================================================== [ 27.428445] Disabling lock debugging due to kernel taint [ 27.434178] Kernel panic - not syncing: panic_on_warn set ... [ 27.434178] [ 27.441526] CPU: 0 PID: 3328 Comm: syzkaller626188 Tainted: G B 4.9.76-gf0f6293 #22 [ 27.450422] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.459748] ffff8801cba479a8 ffffffff81d93149 ffffffff84195c17 ffff8801cba47a80 [ 27.467746] 0000000000000000 ffff8801caa61140 ffff8801cfa12338 ffff8801cba47a70 [ 27.475714] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.483683] Call Trace: [ 27.486244] [] dump_stack+0xc1/0x128 [ 27.491579] [] panic+0x1bc/0x3a8 [ 27.496565] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.504769] [] ? preempt_schedule+0x25/0x30 [ 27.510714] [] ? ___preempt_schedule+0x16/0x18 [ 27.516937] [] kasan_end_report+0x50/0x50 [ 27.522710] [] kasan_report+0x167/0x360 [ 27.528316] [] ? sg_remove_request+0x103/0x120 [ 27.534519] [] __asan_report_load8_noabort+0x14/0x20 [ 27.541258] [] sg_remove_request+0x103/0x120 [ 27.547286] [] sg_finish_rem_req+0x295/0x340 [ 27.553313] [] sg_read+0xa1c/0x1440 [ 27.558559] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.564935] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.571572] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.577515] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.583891] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.590528] [] __vfs_read+0x103/0x670 [ 27.595948] [] ? default_llseek+0x290/0x290 [ 27.601896] [] ? fsnotify+0x86/0xf30 [ 27.607228] [] ? fsnotify+0xf30/0xf30 [ 27.612656] [] ? avc_policy_seqno+0x9/0x20 [ 27.618510] [] ? selinux_file_permission+0x82/0x460 [ 27.625146] [] ? security_file_permission+0x89/0x1e0 [ 27.631879] [] ? rw_verify_area+0xe5/0x2b0 [ 27.637735] [] vfs_read+0x11e/0x380 [ 27.642982] [] SyS_read+0xd9/0x1b0 [ 27.648142] [] ? vfs_copy_file_range+0x740/0x740 [ 27.654528] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 27.660647] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.666855] [] ? vfs_copy_file_range+0x740/0x740 [ 27.673232] [] do_fast_syscall_32+0x2f7/0x890 [ 27.679355] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.685994] [] entry_SYSENTER_compat+0x74/0x83 [ 27.692671] Dumping ftrace buffer: [ 27.696185] (ftrace buffer empty) [ 27.699864] Kernel Offset: disabled [ 27.703461] Rebooting in 86400 seconds..