Warning: Permanently added '10.128.0.237' (ECDSA) to the list of known hosts. [ 65.831478] random: sshd: uninitialized urandom read (32 bytes read) [ 65.962473] audit: type=1400 audit(1572236831.557:36): avc: denied { map } for pid=6814 comm="syz-executor779" path="/root/syz-executor779089004" dev="sda1" ino=2233 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 66.221098] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program [ 67.241065] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 68.181438] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 69.161200] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.181512] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 71.161131] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 78.981931] [ 78.983641] ====================================================== [ 78.989968] WARNING: possible circular locking dependency detected [ 78.996361] 4.14.150 #0 Not tainted [ 78.999977] ------------------------------------------------------ [ 79.006274] syz-executor779/8688 is trying to acquire lock: [ 79.011963] (event_mutex){+.+.}, at: [] perf_trace_destroy+0x28/0x100 [ 79.020213] [ 79.020213] but task is already holding lock: [ 79.026187] (&event->child_mutex){+.+.}, at: [] perf_event_release_kernel+0x207/0x880 [ 79.035902] [ 79.035902] which lock already depends on the new lock. [ 79.035902] [ 79.044216] [ 79.044216] the existing dependency chain (in reverse order) is: [ 79.052686] [ 79.052686] -> #5 (&event->child_mutex){+.+.}: [ 79.058755] lock_acquire+0x16f/0x430 [ 79.063096] __mutex_lock+0xe8/0x1470 [ 79.067535] mutex_lock_nested+0x16/0x20 [ 79.072123] perf_event_read_value+0x7a/0x410 [ 79.077154] perf_read+0x40c/0x820 [ 79.081202] __vfs_read+0x105/0x6a0 [ 79.087003] vfs_read+0x137/0x350 [ 79.090970] SyS_read+0xfd/0x230 [ 79.094857] do_syscall_64+0x1e8/0x640 [ 79.099300] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 79.105015] [ 79.105015] -> #4 (&cpuctx_mutex){+.+.}: [ 79.110671] lock_acquire+0x16f/0x430 [ 79.114979] __mutex_lock+0xe8/0x1470 [ 79.119296] mutex_lock_nested+0x16/0x20 [ 79.123974] perf_event_init_cpu+0xc2/0x170 [ 79.128958] perf_event_init+0x2d8/0x31a [ 79.133525] start_kernel+0x3b6/0x6fd [ 79.137831] x86_64_start_reservations+0x29/0x2b [ 79.143350] x86_64_start_kernel+0x77/0x7b [ 79.148092] secondary_startup_64+0xa5/0xb0 [ 79.152932] [ 79.152932] -> #3 (pmus_lock){+.+.}: [ 79.158124] lock_acquire+0x16f/0x430 [ 79.162448] __mutex_lock+0xe8/0x1470 [ 79.166754] mutex_lock_nested+0x16/0x20 [ 79.171581] perf_event_init_cpu+0x2f/0x170 [ 79.176778] cpuhp_invoke_callback+0x1ea/0x1ab0 [ 79.181960] _cpu_up+0x228/0x530 [ 79.185865] do_cpu_up+0x121/0x150 [ 79.190096] cpu_up+0x1b/0x20 [ 79.194064] smp_init+0x157/0x170 [ 79.198021] kernel_init_freeable+0x30b/0x532 [ 79.203023] kernel_init+0x12/0x162 [ 79.207166] ret_from_fork+0x24/0x30 [ 79.211383] [ 79.211383] -> #2 (cpu_hotplug_lock.rw_sem){++++}: [ 79.217989] lock_acquire+0x16f/0x430 [ 79.222517] cpus_read_lock+0x3d/0xc0 [ 79.226921] static_key_slow_inc+0x13/0x30 [ 79.231745] tracepoint_probe_register_prio+0x4d6/0x6d0 [ 79.237626] tracepoint_probe_register+0x2b/0x40 [ 79.242889] trace_event_reg+0x277/0x330 [ 79.247541] perf_trace_init+0x449/0xaa0 [ 79.252455] perf_tp_event_init+0x7d/0xf0 [ 79.257107] perf_try_init_event+0x164/0x200 [ 79.262106] perf_event_alloc.part.0+0xd90/0x25b0 [ 79.267551] SYSC_perf_event_open+0xad1/0x2690 [ 79.273804] SyS_perf_event_open+0x34/0x40 [ 79.278825] do_syscall_64+0x1e8/0x640 [ 79.284614] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 79.291120] [ 79.291120] -> #1 (tracepoints_mutex){+.+.}: [ 79.298150] lock_acquire+0x16f/0x430 [ 79.303796] __mutex_lock+0xe8/0x1470 [ 79.309877] mutex_lock_nested+0x16/0x20 [ 79.317235] tracepoint_probe_register_prio+0x36/0x6d0 [ 79.323287] tracepoint_probe_register+0x2b/0x40 [ 79.330328] trace_event_reg+0x277/0x330 [ 79.335116] perf_trace_init+0x449/0xaa0 [ 79.339857] perf_tp_event_init+0x7d/0xf0 [ 79.345474] perf_try_init_event+0x164/0x200 [ 79.352612] perf_event_alloc.part.0+0xd90/0x25b0 [ 79.358375] SYSC_perf_event_open+0xad1/0x2690 [ 79.363933] SyS_perf_event_open+0x34/0x40 [ 79.369231] do_syscall_64+0x1e8/0x640 [ 79.373640] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 79.381730] [ 79.381730] -> #0 (event_mutex){+.+.}: [ 79.390987] __lock_acquire+0x2cb3/0x4620 [ 79.395703] lock_acquire+0x16f/0x430 [ 79.400097] __mutex_lock+0xe8/0x1470 [ 79.404405] mutex_lock_nested+0x16/0x20 [ 79.410390] perf_trace_destroy+0x28/0x100 [ 79.415477] tp_perf_event_destroy+0x16/0x20 [ 79.420398] _free_event+0x330/0xe70 [ 79.424698] free_event+0x38/0x50 [ 79.428658] perf_event_release_kernel+0x364/0x880 [ 79.434558] perf_release+0x37/0x50 [ 79.439687] __fput+0x275/0x7a0 [ 79.443496] ____fput+0x16/0x20 [ 79.447280] task_work_run+0x114/0x190 [ 79.451672] exit_to_usermode_loop+0x1da/0x220 [ 79.456846] do_syscall_64+0x4bc/0x640 [ 79.461607] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 79.468656] [ 79.468656] other info that might help us debug this: [ 79.468656] [ 79.476995] Chain exists of: [ 79.476995] event_mutex --> &cpuctx_mutex --> &event->child_mutex [ 79.476995] [ 79.488290] Possible unsafe locking scenario: [ 79.488290] [ 79.494562] CPU0 CPU1 [ 79.499226] ---- ---- [ 79.503871] lock(&event->child_mutex); [ 79.508002] lock(&cpuctx_mutex); [ 79.514991] lock(&event->child_mutex); [ 79.521563] lock(event_mutex); [ 79.525261] [ 79.525261] *** DEADLOCK *** [ 79.525261] [ 79.531317] 2 locks held by syz-executor779/8688: [ 79.536145] #0: (&ctx->mutex){+.+.}, at: [] perf_event_release_kernel+0x1fd/0x880 [ 79.545519] #1: (&event->child_mutex){+.+.}, at: [] perf_event_release_kernel+0x207/0x880 [ 79.555563] [ 79.555563] stack backtrace: [ 79.560064] CPU: 1 PID: 8688 Comm: syz-executor779 Not tainted 4.14.150 #0 [ 79.567105] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 79.576538] Call Trace: [ 79.579142] dump_stack+0x138/0x197 [ 79.582760] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 79.588136] __lock_acquire+0x2cb3/0x4620 [ 79.592290] ? find_held_lock+0x35/0x130 [ 79.596336] ? trace_hardirqs_on+0x10/0x10 [ 79.600557] lock_acquire+0x16f/0x430 [ 79.604396] ? perf_trace_destroy+0x28/0x100 [ 79.608806] ? perf_trace_destroy+0x28/0x100 [ 79.613236] __mutex_lock+0xe8/0x1470 [ 79.617046] ? perf_trace_destroy+0x28/0x100 [ 79.621441] ? find_held_lock+0x35/0x130 [ 79.625510] ? event_function_call+0x302/0x3f0 [ 79.630075] ? perf_trace_destroy+0x28/0x100 [ 79.634604] ? mutex_trylock+0x1c0/0x1c0 [ 79.638672] ? _raw_spin_unlock_irq+0x28/0x90 [ 79.643191] ? save_trace+0x290/0x290 [ 79.647011] ? trace_hardirqs_on_caller+0x400/0x590 [ 79.652012] ? __lock_is_held+0xb6/0x140 [ 79.656089] ? check_preemption_disabled+0x3c/0x250 [ 79.661125] mutex_lock_nested+0x16/0x20 [ 79.665215] ? mutex_lock_nested+0x16/0x20 [ 79.669530] perf_trace_destroy+0x28/0x100 [ 79.673759] tp_perf_event_destroy+0x16/0x20 [ 79.678152] ? perf_tp_event_init+0xf0/0xf0 [ 79.682459] _free_event+0x330/0xe70 [ 79.686181] free_event+0x38/0x50 [ 79.689618] perf_event_release_kernel+0x364/0x880 [ 79.694534] ? perf_event_release_kernel+0x880/0x880 [ 79.699622] perf_release+0x37/0x50 [ 79.703237] __fput+0x275/0x7a0 [ 79.706501] ____fput+0x16/0x20 [ 79.709767] task_work_run+0x114/0x190 [ 79.713727] exit_to_usermode_loop+0x1da/0x220 [ 79.718296] do_syscall_64+0x4bc/0x640 [ 79.722168] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 79.727018] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 79.732196] RIP: 0033:0x4073a1 executing program executing program executing program executing program executing program executing program executing program [ 79.735370] RSP: 002b:00007ffd7d675370 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 79.743064] RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004073a1 [ 79.750319] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000003 [ 79.757600] RBP: 00000000006dec2c R08: 0000000000000000 R09: 0000000000000000 [ 79.765695] R10: 00007ffd7d675390 R11: 0000000000000293 R12: 00000000006dec30 [ 79.773750] R13: 0000000000000000 R14: 000000000000002d R15: 20c49ba5e353f7cf executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program