[....] Starting enhanced syslogd: rsyslogd[ 13.448941] audit: type=1400 audit(1516120522.376: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.0.31' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 35.033862] ================================================================== [ 35.041243] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 35.048316] Read of size 8 at addr ffff8801c8e74140 by task syzkaller268927/3339 [ 35.055829] [ 35.057432] CPU: 0 PID: 3339 Comm: syzkaller268927 Not tainted 4.9.76-g8dec074 #23 [ 35.065110] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.074444] ffff8801c87ffa50 ffffffff81d93169 ffffea0007239d00 ffff8801c8e74140 [ 35.082418] 0000000000000000 ffff8801c8e74140 ffff8801c8e9c438 ffff8801c87ffa88 [ 35.090383] ffffffff8153cb43 ffff8801c8e74140 0000000000000008 0000000000000000 [ 35.098356] Call Trace: [ 35.100927] [] dump_stack+0xc1/0x128 [ 35.106269] [] print_address_description+0x73/0x280 [ 35.112918] [] kasan_report+0x275/0x360 [ 35.118528] [] ? sg_remove_request+0x103/0x120 [ 35.124759] [] __asan_report_load8_noabort+0x14/0x20 [ 35.131499] [] sg_remove_request+0x103/0x120 [ 35.137545] [] sg_finish_rem_req+0x295/0x340 [ 35.143595] [] sg_read+0xa1c/0x1440 [ 35.148866] [] ? __raw_spin_lock_init+0x1c/0x100 [ 35.155259] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.161896] [] ? _raw_spin_unlock+0x2c/0x50 [ 35.167838] [] ? fasync_insert_entry+0x147/0x2e0 [ 35.174211] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.180848] [] __vfs_read+0x103/0x670 [ 35.186269] [] ? default_llseek+0x290/0x290 [ 35.192220] [] ? fsnotify+0x86/0xf30 [ 35.197560] [] ? fsnotify+0xf30/0xf30 [ 35.202991] [] ? avc_policy_seqno+0x9/0x20 [ 35.208846] [] ? selinux_file_permission+0x82/0x460 [ 35.215483] [] ? security_file_permission+0x89/0x1e0 [ 35.222206] [] ? rw_verify_area+0xe5/0x2b0 [ 35.228058] [] vfs_read+0x11e/0x380 [ 35.233313] [] SyS_read+0xd9/0x1b0 [ 35.238470] [] ? vfs_copy_file_range+0x740/0x740 [ 35.244854] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 35.250973] [] ? do_fast_syscall_32+0xcf/0x890 [ 35.257176] [] ? vfs_copy_file_range+0x740/0x740 [ 35.263550] [] do_fast_syscall_32+0x2f7/0x890 [ 35.269664] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.276298] [] entry_SYSENTER_compat+0x74/0x83 [ 35.282497] [ 35.284101] Allocated by task 0: [ 35.287433] (stack is not available) [ 35.291113] [ 35.292710] Freed by task 0: [ 35.295694] (stack is not available) [ 35.299375] [ 35.300974] The buggy address belongs to the object at ffff8801c8e74100 [ 35.300974] which belongs to the cache fasync_cache of size 96 [ 35.313611] The buggy address is located 64 bytes inside of [ 35.313611] 96-byte region [ffff8801c8e74100, ffff8801c8e74160) [ 35.325282] The buggy address belongs to the page: [ 35.330187] page:ffffea0007239d00 count:1 mapcount:0 mapping: (null) index:0x0 [ 35.338418] flags: 0x8000000000000080(slab) [ 35.342709] page dumped because: kasan: bad access detected [ 35.348388] [ 35.349983] Memory state around the buggy address: [ 35.354880] ffff8801c8e74000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 35.362207] ffff8801c8e74080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.369532] >ffff8801c8e74100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.376859] ^ [ 35.382279] ffff8801c8e74180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.389611] ffff8801c8e74200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.396937] ================================================================== [ 35.404264] Disabling lock debugging due to kernel taint [ 35.409944] Kernel panic - not syncing: panic_on_warn set ... [ 35.409944] [ 35.417283] CPU: 0 PID: 3339 Comm: syzkaller268927 Tainted: G B 4.9.76-g8dec074 #23 [ 35.426175] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.435504] ffff8801c87ff9a8 ffffffff81d93169 ffffffff84195c2f ffff8801c87ffa80 [ 35.443492] 0000000000000000 ffff8801c8e74140 ffff8801c8e9c438 ffff8801c87ffa70 [ 35.451470] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 35.459446] Call Trace: [ 35.462007] [] dump_stack+0xc1/0x128 [ 35.467344] [] panic+0x1bc/0x3a8 [ 35.472348] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 35.480562] [] ? preempt_schedule+0x25/0x30 [ 35.486513] [] ? ___preempt_schedule+0x16/0x18 [ 35.492723] [] kasan_end_report+0x50/0x50 [ 35.498497] [] kasan_report+0x167/0x360 [ 35.504092] [] ? sg_remove_request+0x103/0x120 [ 35.510327] [] __asan_report_load8_noabort+0x14/0x20 [ 35.517051] [] sg_remove_request+0x103/0x120 [ 35.523081] [] sg_finish_rem_req+0x295/0x340 [ 35.529113] [] sg_read+0xa1c/0x1440 [ 35.534369] [] ? __raw_spin_lock_init+0x1c/0x100 [ 35.540744] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.547382] [] ? _raw_spin_unlock+0x2c/0x50 [ 35.553333] [] ? fasync_insert_entry+0x147/0x2e0 [ 35.559715] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 35.566351] [] __vfs_read+0x103/0x670 [ 35.571779] [] ? default_llseek+0x290/0x290 [ 35.577734] [] ? fsnotify+0x86/0xf30 [ 35.583065] [] ? fsnotify+0xf30/0xf30 [ 35.588487] [] ? avc_policy_seqno+0x9/0x20 [ 35.594340] [] ? selinux_file_permission+0x82/0x460 [ 35.600983] [] ? security_file_permission+0x89/0x1e0 [ 35.607727] [] ? rw_verify_area+0xe5/0x2b0 [ 35.613580] [] vfs_read+0x11e/0x380 [ 35.618826] [] SyS_read+0xd9/0x1b0 [ 35.624006] [] ? vfs_copy_file_range+0x740/0x740 [ 35.630398] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 35.636529] [] ? do_fast_syscall_32+0xcf/0x890 [ 35.642747] [] ? vfs_copy_file_range+0x740/0x740 [ 35.649123] [] do_fast_syscall_32+0x2f7/0x890 [ 35.655246] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.661888] [] entry_SYSENTER_compat+0x74/0x83 [ 35.668600] Dumping ftrace buffer: [ 35.672134] (ftrace buffer empty) [ 35.675815] Kernel Offset: disabled [ 35.679413] Rebooting in 86400 seconds..