[info] Using makefile-style concurrent boot in runlevel 2. [ 23.298010] audit: type=1800 audit(1545541167.372:21): pid=5773 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 23.323028] audit: type=1800 audit(1545541167.382:22): pid=5773 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="motd" dev="sda1" ino=2447 res=0 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 28.131837] sshd (5911) used greatest stack depth: 15728 bytes left Warning: Permanently added '10.128.0.87' (ECDSA) to the list of known hosts. [ 1273.103935] IPVS: ftp: loaded support on port[0] = 21 net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 executing program [ 1273.366973] hrtimer: interrupt took 32125 ns executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 1433.185525] [ 1433.187211] ====================================================== [ 1433.193519] WARNING: possible circular locking dependency detected [ 1433.199832] 4.20.0-rc6-next-20181217+ #172 Not tainted [ 1433.205098] ------------------------------------------------------ [ 1433.211414] syz-executor278/7915 is trying to acquire lock: [ 1433.217117] 0000000084634b42 (&mm->mmap_sem){++++}, at: __do_page_fault+0xa0f/0xd70 [ 1433.225081] [ 1433.225081] but task is already holding lock: [ 1433.231050] 0000000036fd0791 (&sb->s_type->i_mutex_key#12){+.+.}, at: generic_file_write_iter+0xe4/0x6b0 [ 1433.240753] [ 1433.240753] which lock already depends on the new lock. [ 1433.240753] [ 1433.249067] [ 1433.249067] the existing dependency chain (in reverse order) is: [ 1433.256683] [ 1433.256683] -> #2 (&sb->s_type->i_mutex_key#12){+.+.}: [ 1433.263511] down_write+0x8a/0x130 [ 1433.267626] shmem_fallocate+0x18b/0x12c0 [ 1433.272335] ashmem_shrink_scan+0x238/0x660 [ 1433.277176] ashmem_ioctl+0x3ae/0x13a0 [ 1433.281619] do_vfs_ioctl+0x1de/0x1790 [ 1433.286038] ksys_ioctl+0xa9/0xd0 [ 1433.290013] __x64_sys_ioctl+0x73/0xb0 [ 1433.294486] do_syscall_64+0x1b9/0x820 [ 1433.298898] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1433.304597] [ 1433.304597] -> #1 (ashmem_mutex){+.+.}: [ 1433.310067] __mutex_lock+0x166/0x16f0 [ 1433.314490] mutex_lock_nested+0x16/0x20 [ 1433.319070] ashmem_mmap+0x55/0x520 [ 1433.323269] mmap_region+0xe85/0x1cd0 [ 1433.327619] do_mmap+0xa22/0x1230 [ 1433.331588] vm_mmap_pgoff+0x213/0x2c0 [ 1433.336003] ksys_mmap_pgoff+0x4da/0x660 [ 1433.340652] __x64_sys_mmap+0xe9/0x1b0 [ 1433.345066] do_syscall_64+0x1b9/0x820 [ 1433.349459] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1433.355151] [ 1433.355151] -> #0 (&mm->mmap_sem){++++}: [ 1433.360725] lock_acquire+0x1ed/0x520 [ 1433.365037] down_read+0x8d/0x120 [ 1433.368994] __do_page_fault+0xa0f/0xd70 [ 1433.373564] do_page_fault+0xf2/0x7e0 [ 1433.377865] page_fault+0x1e/0x30 [ 1433.381857] iov_iter_fault_in_readable+0x1b4/0x450 [ 1433.387394] generic_perform_write+0x216/0x6a0 [ 1433.392482] __generic_file_write_iter+0x26e/0x630 [ 1433.397914] generic_file_write_iter+0x34d/0x6b0 [ 1433.403209] __vfs_write+0x72c/0xab0 [ 1433.407442] vfs_write+0x1fc/0x580 [ 1433.411496] ksys_write+0x101/0x260 [ 1433.415623] __x64_sys_write+0x73/0xb0 [ 1433.420032] do_syscall_64+0x1b9/0x820 [ 1433.424426] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1433.430113] [ 1433.430113] other info that might help us debug this: [ 1433.430113] [ 1433.438244] Chain exists of: [ 1433.438244] &mm->mmap_sem --> ashmem_mutex --> &sb->s_type->i_mutex_key#12 [ 1433.438244] [ 1433.449780] Possible unsafe locking scenario: [ 1433.449780] [ 1433.455819] CPU0 CPU1 [ 1433.460478] ---- ---- [ 1433.465129] lock(&sb->s_type->i_mutex_key#12); [ 1433.469866] lock(ashmem_mutex); [ 1433.475816] lock(&sb->s_type->i_mutex_key#12); [ 1433.483071] lock(&mm->mmap_sem); [ 1433.486589] [ 1433.486589] *** DEADLOCK *** [ 1433.486589] [ 1433.492636] 2 locks held by syz-executor278/7915: [ 1433.497455] #0: 00000000c3071aba (sb_writers#5){.+.+}, at: vfs_write+0x42a/0x580 [ 1433.505071] #1: 0000000036fd0791 (&sb->s_type->i_mutex_key#12){+.+.}, at: generic_file_write_iter+0xe4/0x6b0 [ 1433.515121] [ 1433.515121] stack backtrace: [ 1433.519608] CPU: 0 PID: 7915 Comm: syz-executor278 Not tainted 4.20.0-rc6-next-20181217+ #172 [ 1433.528252] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1433.537622] Call Trace: [ 1433.540239] dump_stack+0x244/0x39d [ 1433.543853] ? dump_stack_print_info.cold.1+0x20/0x20 [ 1433.549037] ? vprintk_func+0x85/0x181 [ 1433.552911] print_circular_bug.isra.36.cold.58+0x1bd/0x27d [ 1433.558637] ? save_trace+0xe0/0x290 [ 1433.562340] __lock_acquire+0x3399/0x4c20 [ 1433.566479] ? mark_held_locks+0x130/0x130 [ 1433.570701] ? retint_kernel+0x2d/0x2d [ 1433.574613] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 1433.580140] ? shmem_getpage_gfp+0xee9/0x31c0 [ 1433.584628] ? mark_held_locks+0xc7/0x130 [ 1433.588763] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 1433.593516] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 1433.598085] ? retint_kernel+0x2d/0x2d [ 1433.602010] ? trace_hardirqs_on_caller+0xc0/0x310 [ 1433.606927] ? graph_lock+0x270/0x270 [ 1433.610717] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 1433.616155] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 1433.620899] lock_acquire+0x1ed/0x520 [ 1433.624689] ? __do_page_fault+0xa0f/0xd70 [ 1433.628914] ? lock_release+0xa00/0xa00 [ 1433.632911] ? perf_trace_sched_process_exec+0x860/0x860 [ 1433.638347] ? cmp_ex_search+0x58/0xb0 [ 1433.642224] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 1433.647225] ? cmp_ex_search+0x8c/0xb0 [ 1433.651110] down_read+0x8d/0x120 [ 1433.654551] ? __do_page_fault+0xa0f/0xd70 [ 1433.658773] ? __down_interruptible+0x700/0x700 [ 1433.663845] ? iov_iter_fault_in_readable+0x1b4/0x450 [ 1433.669028] __do_page_fault+0xa0f/0xd70 [ 1433.673097] ? balance_dirty_pages_ratelimited+0x1f7/0x23c0 [ 1433.678800] do_page_fault+0xf2/0x7e0 [ 1433.682588] ? vmalloc_sync_all+0x30/0x30 [ 1433.686725] ? error_entry+0x76/0xd0 [ 1433.690440] ? trace_hardirqs_off_caller+0xbb/0x310 [ 1433.695442] ? trace_hardirqs_on_caller+0xc0/0x310 [ 1433.700356] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1433.705187] ? trace_hardirqs_on_caller+0x310/0x310 [ 1433.710203] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 1433.715643] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1433.720472] page_fault+0x1e/0x30 [ 1433.723910] RIP: 0010:iov_iter_fault_in_readable+0x1b4/0x450 [ 1433.729870] Code: fd 49 39 dc 76 17 eb 3c e8 e9 53 ee fd 49 81 c4 00 10 00 00 4c 39 a5 28 ff ff ff 72 2e e8 d4 53 ee fd 0f 1f 00 0f ae e8 31 db <41> 8a 04 24 0f 1f 00 31 ff 89 de 88 85 58 ff ff ff e8 c6 54 ee fd [ 1433.748757] RSP: 0018:ffff8881b6d1f7d8 EFLAGS: 00010246 [ 1433.754115] RAX: ffff8881d476e580 RBX: 0000000000000000 RCX: ffffffff8392380d [ 1433.761375] RDX: 0000000000000000 RSI: ffffffff8392383c RDI: 0000000000000005 [ 1433.768629] RBP: ffff8881b6d1f8b0 R08: ffff8881d476e580 R09: fffff94000d700ce [ 1433.775884] R10: fffff94000d700ce R11: ffffea0006b80677 R12: 0000000020400000 [ 1433.783139] R13: 0000000000001000 R14: 0000000000001000 R15: ffff8881b6d1fbc8 [ 1433.790402] ? iov_iter_fault_in_readable+0x17d/0x450 [ 1433.795575] ? iov_iter_fault_in_readable+0x1ac/0x450 [ 1433.800748] ? iov_iter_fault_in_readable+0x1ac/0x450 [ 1433.805920] ? _copy_from_iter_flushcache+0xfc0/0xfc0 [ 1433.811117] ? _copy_to_iter_mcsafe+0x1680/0x1680 [ 1433.815946] ? shmem_write_begin+0x10a/0x1e0 [ 1433.820338] ? shmem_write_begin+0x113/0x1e0 [ 1433.824733] generic_perform_write+0x216/0x6a0 [ 1433.829538] ? add_page_wait_queue+0x400/0x400 [ 1433.834139] ? current_time+0x1b0/0x1b0 [ 1433.838106] ? __generic_file_write_iter+0xa3/0x630 [ 1433.843110] __generic_file_write_iter+0x26e/0x630 [ 1433.848029] generic_file_write_iter+0x34d/0x6b0 [ 1433.852783] ? __generic_file_write_iter+0x630/0x630 [ 1433.857872] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 1433.863393] ? iov_iter_init+0xe5/0x210 [ 1433.867353] __vfs_write+0x72c/0xab0 [ 1433.871058] ? kernel_read+0x120/0x120 [ 1433.874947] ? __lock_is_held+0xb5/0x140 [ 1433.879002] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 1433.884519] ? __sb_start_write+0x1b2/0x370 [ 1433.888826] vfs_write+0x1fc/0x580 [ 1433.892356] ksys_write+0x101/0x260 [ 1433.895989] ? __ia32_sys_read+0xb0/0xb0 [ 1433.900037] ? trace_hardirqs_off_caller+0x310/0x310 [ 1433.905126] __x64_sys_write+0x73/0xb0 [ 1433.909038] do_syscall_64+0x1b9/0x820 [ 1433.912925] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 1433.918282] ? syscall_return_slowpath+0x5e0/0x5e0 [ 1433.923196] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1433.928025] ? trace_hardirqs_on_caller+0x310/0x310 [ 1433.933025] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 1433.938024] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 1433.943543] ? prepare_exit_to_usermode+0x291/0x3b0 [ 1433.948546] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1433.953380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1433.958559] RIP: 0033:0x4496c9 [ 1433.961743] Code: e8 8c bb 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 4b 00 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 1433.980628] RSP: 002b:00007f84338bfce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1433.988317] RAX: ffffffffffffffda RBX: 00000000006e5a08 RCX: 00000000004496c9 [ 1433.995568] RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000005 [ 1434.002822] RBP: 00000000006e5a00 R08: 0000000000000000 R09: 0000000000000000 [ 1434.010076] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006e5a0c [ 1434.017335] R13: 00007ffd40815daf R14: 00007f84338c09c0 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program