[....] Starting enhanced syslogd: rsyslogd[ 10.334271] audit: type=1400 audit(1515831146.273:4): avc: denied { syslog } for pid=3186 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.225' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.023379] ================================================================== [ 18.024540] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.025490] Read of size 8 at addr ffff8801c67ee140 by task syzkaller414321/3334 [ 18.026475] [ 18.026737] CPU: 1 PID: 3334 Comm: syzkaller414321 Not tainted 4.9.76-g8e170a5 #21 [ 18.027779] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.029001] ffff8801c9457a50 ffffffff81d93149 ffffea000719fb80 ffff8801c67ee140 [ 18.030131] 0000000000000000 ffff8801c67ee140 ffff8801c9c9c438 ffff8801c9457a88 [ 18.031276] ffffffff8153cb43 ffff8801c67ee140 0000000000000008 0000000000000000 [ 18.032406] Call Trace: [ 18.032782] [] dump_stack+0xc1/0x128 [ 18.033493] [] print_address_description+0x73/0x280 [ 18.034367] [] kasan_report+0x275/0x360 [ 18.035111] [] ? sg_remove_request+0x103/0x120 [ 18.035979] [] __asan_report_load8_noabort+0x14/0x20 [ 18.036866] [] sg_remove_request+0x103/0x120 [ 18.037663] [] sg_finish_rem_req+0x295/0x340 [ 18.038460] [] sg_read+0xa1c/0x1440 [ 18.039169] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.040050] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.040929] [] ? _raw_spin_unlock+0x2c/0x50 [ 18.041738] [] ? fasync_insert_entry+0x147/0x2e0 [ 18.042591] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.043472] [] __vfs_read+0x103/0x670 [ 18.048771] [] ? default_llseek+0x290/0x290 [ 18.054718] [] ? fsnotify+0x86/0xf30 [ 18.060046] [] ? fsnotify+0xf30/0xf30 [ 18.065466] [] ? avc_policy_seqno+0x9/0x20 [ 18.071320] [] ? selinux_file_permission+0x82/0x460 [ 18.077964] [] ? security_file_permission+0x89/0x1e0 [ 18.084693] [] ? rw_verify_area+0xe5/0x2b0 [ 18.090558] [] vfs_read+0x11e/0x380 [ 18.095811] [] SyS_read+0xd9/0x1b0 [ 18.100979] [] ? vfs_copy_file_range+0x740/0x740 [ 18.107372] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 18.113511] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.119735] [] ? vfs_copy_file_range+0x740/0x740 [ 18.126130] [] do_fast_syscall_32+0x2f7/0x890 [ 18.132263] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 18.138930] [] entry_SYSENTER_compat+0x74/0x83 [ 18.145141] [ 18.146747] Allocated by task 0: [ 18.150082] (stack is not available) [ 18.153758] [ 18.155351] Freed by task 0: [ 18.158334] (stack is not available) [ 18.162010] [ 18.163606] The buggy address belongs to the object at ffff8801c67ee100 [ 18.163606] which belongs to the cache fasync_cache of size 96 [ 18.176240] The buggy address is located 64 bytes inside of [ 18.176240] 96-byte region [ffff8801c67ee100, ffff8801c67ee160) [ 18.187918] The buggy address belongs to the page: [ 18.192832] page:ffffea000719fb80 count:1 mapcount:0 mapping: (null) index:0x0 [ 18.201082] flags: 0x8000000000000080(slab) [ 18.205373] page dumped because: kasan: bad access detected [ 18.211047] [ 18.212639] Memory state around the buggy address: [ 18.217542] ffff8801c67ee000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 18.224869] ffff8801c67ee080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.232197] >ffff8801c67ee100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.239520] ^ [ 18.244944] ffff8801c67ee180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.252270] ffff8801c67ee200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.259596] ================================================================== [ 18.266919] Disabling lock debugging due to kernel taint [ 18.272488] Kernel panic - not syncing: panic_on_warn set ... [ 18.272488] [ 18.279840] CPU: 1 PID: 3334 Comm: syzkaller414321 Tainted: G B 4.9.76-g8e170a5 #21 [ 18.288733] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.298065] ffff8801c94579a8 ffffffff81d93149 ffffffff84195c17 ffff8801c9457a80 [ 18.306030] 0000000000000000 ffff8801c67ee140 ffff8801c9c9c438 ffff8801c9457a70 [ 18.313976] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 18.321923] Call Trace: [ 18.324483] [] dump_stack+0xc1/0x128 [ 18.329829] [] panic+0x1bc/0x3a8 [ 18.334818] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 18.343756] [] ? preempt_schedule+0x25/0x30 [ 18.349721] [] ? ___preempt_schedule+0x16/0x18 [ 18.355952] [] kasan_end_report+0x50/0x50 [ 18.361736] [] kasan_report+0x167/0x360 [ 18.367349] [] ? sg_remove_request+0x103/0x120 [ 18.373554] [] __asan_report_load8_noabort+0x14/0x20 [ 18.380281] [] sg_remove_request+0x103/0x120 [ 18.386329] [] sg_finish_rem_req+0x295/0x340 [ 18.392381] [] sg_read+0xa1c/0x1440 [ 18.397660] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.404061] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.410718] [] ? _raw_spin_unlock+0x2c/0x50 [ 18.416682] [] ? fasync_insert_entry+0x147/0x2e0 [ 18.423056] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.429689] [] __vfs_read+0x103/0x670 [ 18.435105] [] ? default_llseek+0x290/0x290 [ 18.441058] [] ? fsnotify+0x86/0xf30 [ 18.446388] [] ? fsnotify+0xf30/0xf30 [ 18.451822] [] ? avc_policy_seqno+0x9/0x20 [ 18.457682] [] ? selinux_file_permission+0x82/0x460 [ 18.464315] [] ? security_file_permission+0x89/0x1e0 [ 18.471044] [] ? rw_verify_area+0xe5/0x2b0 [ 18.476912] [] vfs_read+0x11e/0x380 [ 18.482154] [] SyS_read+0xd9/0x1b0 [ 18.487308] [] ? vfs_copy_file_range+0x740/0x740 [ 18.493683] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 18.499796] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.506006] [] ? vfs_copy_file_range+0x740/0x740 [ 18.512390] [] do_fast_syscall_32+0x2f7/0x890 [ 18.518500] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 18.525157] [] entry_SYSENTER_compat+0x74/0x83 [ 18.531400] Dumping ftrace buffer: [ 18.534916] (ftrace buffer empty) [ 18.538600] Kernel Offset: disabled [ 18.542206] Rebooting in 86400 seconds..