[....] Starting enhanced syslogd: rsyslogd[ 13.231101] audit: type=1400 audit(1515637207.652:4): avc: denied { syslog } for pid=3174 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.12' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.996905] ================================================================== [ 29.004306] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 29.011387] Read of size 8 at addr ffff8801c0d60140 by task syzkaller636076/3330 [ 29.018884] [ 29.020483] CPU: 0 PID: 3330 Comm: syzkaller636076 Not tainted 4.9.76-g9154940 #20 [ 29.028161] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.037487] ffff8801c0e3fa50 ffffffff81d93149 ffffea0007035800 ffff8801c0d60140 [ 29.045439] 0000000000000000 ffff8801c0d60140 ffff8801c8802338 ffff8801c0e3fa88 [ 29.053393] ffffffff8153cb43 ffff8801c0d60140 0000000000000008 0000000000000000 [ 29.061367] Call Trace: [ 29.063933] [] dump_stack+0xc1/0x128 [ 29.069265] [] print_address_description+0x73/0x280 [ 29.075905] [] kasan_report+0x275/0x360 [ 29.081496] [] ? sg_remove_request+0x103/0x120 [ 29.087706] [] __asan_report_load8_noabort+0x14/0x20 [ 29.094427] [] sg_remove_request+0x103/0x120 [ 29.100452] [] sg_finish_rem_req+0x295/0x340 [ 29.106475] [] sg_read+0xa1c/0x1440 [ 29.111717] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.118101] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.124738] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.130675] [] ? fasync_insert_entry+0x147/0x2e0 [ 29.137065] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.143701] [] __vfs_read+0x103/0x670 [ 29.149116] [] ? default_llseek+0x290/0x290 [ 29.155052] [] ? fsnotify+0x86/0xf30 [ 29.160383] [] ? fsnotify+0xf30/0xf30 [ 29.165801] [] ? avc_policy_seqno+0x9/0x20 [ 29.171665] [] ? selinux_file_permission+0x82/0x460 [ 29.178295] [] ? security_file_permission+0x89/0x1e0 [ 29.185014] [] ? rw_verify_area+0xe5/0x2b0 [ 29.190870] [] vfs_read+0x11e/0x380 [ 29.196111] [] SyS_read+0xd9/0x1b0 [ 29.201264] [] ? vfs_copy_file_range+0x740/0x740 [ 29.207637] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 29.213750] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.219958] [] ? vfs_copy_file_range+0x740/0x740 [ 29.226329] [] do_fast_syscall_32+0x2f7/0x890 [ 29.232439] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.239079] [] entry_SYSENTER_compat+0x74/0x83 [ 29.245275] [ 29.246869] Allocated by task 0: [ 29.250195] (stack is not available) [ 29.253873] [ 29.255469] Freed by task 0: [ 29.258451] (stack is not available) [ 29.262125] [ 29.263719] The buggy address belongs to the object at ffff8801c0d60100 [ 29.263719] which belongs to the cache fasync_cache of size 96 [ 29.276341] The buggy address is located 64 bytes inside of [ 29.276341] 96-byte region [ffff8801c0d60100, ffff8801c0d60160) [ 29.288004] The buggy address belongs to the page: [ 29.292898] page:ffffea0007035800 count:1 mapcount:0 mapping: (null) index:0x0 [ 29.301129] flags: 0x8000000000000080(slab) [ 29.305415] page dumped because: kasan: bad access detected [ 29.311086] [ 29.312678] Memory state around the buggy address: [ 29.317571] ffff8801c0d60000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 29.324895] ffff8801c0d60080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.332224] >ffff8801c0d60100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.339547] ^ [ 29.344972] ffff8801c0d60180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.352296] ffff8801c0d60200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.359622] ================================================================== [ 29.366951] Disabling lock debugging due to kernel taint [ 29.372984] Kernel panic - not syncing: panic_on_warn set ... [ 29.372984] [ 29.380332] CPU: 0 PID: 3330 Comm: syzkaller636076 Tainted: G B 4.9.76-g9154940 #20 [ 29.389225] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.398550] ffff8801c0e3f9a8 ffffffff81d93149 ffffffff84195c17 ffff8801c0e3fa80 [ 29.406508] 0000000000000000 ffff8801c0d60140 ffff8801c8802338 ffff8801c0e3fa70 [ 29.414456] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 29.422431] Call Trace: [ 29.424987] [] dump_stack+0xc1/0x128 [ 29.430322] [] panic+0x1bc/0x3a8 [ 29.435314] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 29.443512] [] ? preempt_schedule+0x25/0x30 [ 29.449448] [] ? ___preempt_schedule+0x16/0x18 [ 29.455652] [] kasan_end_report+0x50/0x50 [ 29.461419] [] kasan_report+0x167/0x360 [ 29.467019] [] ? sg_remove_request+0x103/0x120 [ 29.473225] [] __asan_report_load8_noabort+0x14/0x20 [ 29.479950] [] sg_remove_request+0x103/0x120 [ 29.485983] [] sg_finish_rem_req+0x295/0x340 [ 29.492006] [] sg_read+0xa1c/0x1440 [ 29.497258] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.503629] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.510265] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.516209] [] ? fasync_insert_entry+0x147/0x2e0 [ 29.522580] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.529234] [] __vfs_read+0x103/0x670 [ 29.534656] [] ? default_llseek+0x290/0x290 [ 29.540593] [] ? fsnotify+0x86/0xf30 [ 29.545927] [] ? fsnotify+0xf30/0xf30 [ 29.551367] [] ? avc_policy_seqno+0x9/0x20 [ 29.557221] [] ? selinux_file_permission+0x82/0x460 [ 29.563868] [] ? security_file_permission+0x89/0x1e0 [ 29.570605] [] ? rw_verify_area+0xe5/0x2b0 [ 29.576461] [] vfs_read+0x11e/0x380 [ 29.581705] [] SyS_read+0xd9/0x1b0 [ 29.586868] [] ? vfs_copy_file_range+0x740/0x740 [ 29.593240] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 29.599354] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.605553] [] ? vfs_copy_file_range+0x740/0x740 [ 29.611924] [] do_fast_syscall_32+0x2f7/0x890 [ 29.618041] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.624688] [] entry_SYSENTER_compat+0x74/0x83 [ 29.630935] Dumping ftrace buffer: [ 29.634439] (ftrace buffer empty) [ 29.638122] Kernel Offset: disabled [ 29.641716] Rebooting in 86400 seconds..