[....] Starting enhanced syslogd: rsyslogd[ 10.756192] audit: type=1400 audit(1516196130.229:4): avc: denied { syslog } for pid=3167 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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 executing program syzkaller login: [ 20.104653] ================================================================== [ 20.105781] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.106790] Read of size 8 at addr ffff8801c8de0140 by task syzkaller359450/3319 [ 20.107797] [ 20.108095] CPU: 1 PID: 3319 Comm: syzkaller359450 Not tainted 4.9.77-g033d019 #14 [ 20.109127] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.110369] ffff8801c8c1fab0 ffffffff81d941c9 ffffea0007237800 ffff8801c8de0140 [ 20.111746] 0000000000000000 ffff8801c8de0140 ffff8801c84e8238 ffff8801c8c1fae8 [ 20.113062] ffffffff8153db93 ffff8801c8de0140 0000000000000008 0000000000000000 [ 20.114343] Call Trace: [ 20.114708] [] dump_stack+0xc1/0x128 [ 20.115444] [] print_address_description+0x73/0x280 [ 20.116342] [] kasan_report+0x275/0x360 [ 20.117091] [] ? sg_remove_request+0x103/0x120 [ 20.117916] [] __asan_report_load8_noabort+0x14/0x20 [ 20.118868] [] sg_remove_request+0x103/0x120 [ 20.119732] [] sg_finish_rem_req+0x295/0x340 [ 20.120586] [] sg_read+0xa1c/0x1440 [ 20.121306] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.122203] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.123162] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.124063] [] __vfs_read+0x103/0x670 [ 20.124805] [] ? default_llseek+0x290/0x290 [ 20.130746] [] ? fsnotify+0x86/0xf30 [ 20.136089] [] ? fsnotify+0xf30/0xf30 [ 20.141519] [] ? avc_policy_seqno+0x9/0x20 [ 20.147373] [] ? selinux_file_permission+0x82/0x460 [ 20.154018] [] ? security_file_permission+0x89/0x1e0 [ 20.160741] [] ? rw_verify_area+0xe5/0x2b0 [ 20.166596] [] vfs_read+0x11e/0x380 [ 20.171842] [] SyS_read+0xd9/0x1b0 [ 20.177003] [] ? vfs_copy_file_range+0x740/0x740 [ 20.183390] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.190200] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.196756] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.203303] [ 20.204899] Allocated by task 0: [ 20.208231] (stack is not available) [ 20.211926] [ 20.213523] Freed by task 0: [ 20.216510] (stack is not available) [ 20.220189] [ 20.221785] The buggy address belongs to the object at ffff8801c8de0100 [ 20.221785] which belongs to the cache fasync_cache of size 96 [ 20.234420] The buggy address is located 64 bytes inside of [ 20.234420] 96-byte region [ffff8801c8de0100, ffff8801c8de0160) [ 20.246090] The buggy address belongs to the page: [ 20.250990] page:ffffea0007237800 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.259218] flags: 0x8000000000000080(slab) [ 20.263506] page dumped because: kasan: bad access detected [ 20.269191] [ 20.270797] Memory state around the buggy address: [ 20.275698] ffff8801c8de0000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.283026] ffff8801c8de0080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.290356] >ffff8801c8de0100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.297687] ^ [ 20.303107] ffff8801c8de0180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.310434] ffff8801c8de0200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.317760] ================================================================== [ 20.325088] Disabling lock debugging due to kernel taint [ 20.330976] Kernel panic - not syncing: panic_on_warn set ... [ 20.330976] [ 20.338338] CPU: 1 PID: 3319 Comm: syzkaller359450 Tainted: G B 4.9.77-g033d019 #14 [ 20.347721] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.357053] ffff8801c8c1fa08 ffffffff81d941c9 ffffffff841970ff ffff8801c8c1fae0 [ 20.365022] 0000000000000000 ffff8801c8de0140 ffff8801c84e8238 ffff8801c8c1fad0 [ 20.373006] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 20.380982] Call Trace: [ 20.383540] [] dump_stack+0xc1/0x128 [ 20.388881] [] panic+0x1bc/0x3a8 [ 20.393870] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.402074] [] ? preempt_schedule+0x25/0x30 [ 20.408018] [] ? ___preempt_schedule+0x16/0x18 [ 20.414221] [] kasan_end_report+0x50/0x50 [ 20.419988] [] kasan_report+0x167/0x360 [ 20.425582] [] ? sg_remove_request+0x103/0x120 [ 20.431785] [] __asan_report_load8_noabort+0x14/0x20 [ 20.438505] [] sg_remove_request+0x103/0x120 [ 20.444533] [] sg_finish_rem_req+0x295/0x340 [ 20.450560] [] sg_read+0xa1c/0x1440 [ 20.455811] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.462471] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.469458] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.476110] [] __vfs_read+0x103/0x670 [ 20.481536] [] ? default_llseek+0x290/0x290 [ 20.487473] [] ? fsnotify+0x86/0xf30 [ 20.492804] [] ? fsnotify+0xf30/0xf30 [ 20.498234] [] ? avc_policy_seqno+0x9/0x20 [ 20.504129] [] ? selinux_file_permission+0x82/0x460 [ 20.510764] [] ? security_file_permission+0x89/0x1e0 [ 20.517484] [] ? rw_verify_area+0xe5/0x2b0 [ 20.523337] [] vfs_read+0x11e/0x380 [ 20.528581] [] SyS_read+0xd9/0x1b0 [ 20.533765] [] ? vfs_copy_file_range+0x740/0x740 [ 20.540139] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.546945] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.553494] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.560477] Dumping ftrace buffer: [ 20.563986] (ftrace buffer empty) [ 20.567663] Kernel Offset: disabled [ 20.571262] Rebooting in 86400 seconds..