Warning: Permanently added '10.128.0.176' (ECDSA) to the list of known hosts. [ 41.056495] urandom_read: 1 callbacks suppressed [ 41.056499] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.182925] audit: type=1400 audit(1568633862.376:36): avc: denied { map } for pid=6815 comm="syz-executor372" path="/root/syz-executor372933394" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 44.870873] [ 44.872536] ====================================================== [ 44.878828] WARNING: possible circular locking dependency detected [ 44.885126] 4.14.144 #0 Not tainted [ 44.888741] ------------------------------------------------------ [ 44.895036] syz-executor372/7779 is trying to acquire lock: [ 44.900722] (event_mutex){+.+.}, at: [] perf_trace_destroy+0x28/0x100 [ 44.908943] [ 44.908943] but task is already holding lock: [ 44.914887] (&event->child_mutex){+.+.}, at: [] perf_event_release_kernel+0x207/0x880 [ 44.924489] [ 44.924489] which lock already depends on the new lock. [ 44.924489] [ 44.932781] [ 44.932781] the existing dependency chain (in reverse order) is: [ 44.940376] [ 44.940376] -> #5 (&event->child_mutex){+.+.}: [ 44.946421] lock_acquire+0x16f/0x430 [ 44.950719] __mutex_lock+0xe8/0x1470 [ 44.955033] mutex_lock_nested+0x16/0x20 [ 44.959607] perf_event_for_each_child+0x8a/0x150 [ 44.964946] perf_ioctl+0x1d9/0xdf0 [ 44.969083] do_vfs_ioctl+0x7ae/0x1060 [ 44.973479] SyS_ioctl+0x8f/0xc0 [ 44.977502] do_syscall_64+0x1e8/0x640 [ 44.981898] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 44.987581] [ 44.987581] -> #4 (&cpuctx_mutex){+.+.}: [ 44.993103] lock_acquire+0x16f/0x430 [ 44.997398] __mutex_lock+0xe8/0x1470 [ 45.001694] mutex_lock_nested+0x16/0x20 [ 45.006258] perf_event_init_cpu+0xc2/0x170 [ 45.011175] perf_event_init+0x2d8/0x31a [ 45.015735] start_kernel+0x3b6/0x6fd [ 45.020031] x86_64_start_reservations+0x29/0x2b [ 45.025287] x86_64_start_kernel+0x77/0x7b [ 45.030019] secondary_startup_64+0xa5/0xb0 [ 45.034841] [ 45.034841] -> #3 (pmus_lock){+.+.}: [ 45.040015] lock_acquire+0x16f/0x430 [ 45.044314] __mutex_lock+0xe8/0x1470 [ 45.048618] mutex_lock_nested+0x16/0x20 [ 45.053175] perf_event_init_cpu+0x2f/0x170 [ 45.058002] cpuhp_invoke_callback+0x1ea/0x1ab0 [ 45.063165] _cpu_up+0x228/0x530 [ 45.067025] do_cpu_up+0x121/0x150 [ 45.071061] cpu_up+0x1b/0x20 [ 45.074663] smp_init+0x157/0x170 [ 45.078614] kernel_init_freeable+0x30b/0x532 [ 45.083605] kernel_init+0x12/0x162 [ 45.087736] ret_from_fork+0x24/0x30 [ 45.091942] [ 45.091942] -> #2 (cpu_hotplug_lock.rw_sem){++++}: [ 45.098427] lock_acquire+0x16f/0x430 [ 45.102724] cpus_read_lock+0x3d/0xc0 [ 45.107025] static_key_slow_inc+0x13/0x30 [ 45.111758] tracepoint_probe_register_prio+0x4d6/0x6d0 [ 45.117617] tracepoint_probe_register+0x2b/0x40 [ 45.122869] trace_event_reg+0x277/0x330 [ 45.127427] perf_trace_init+0x449/0xaa0 [ 45.131984] perf_tp_event_init+0x7d/0xf0 [ 45.136626] perf_try_init_event+0x164/0x200 [ 45.141531] perf_event_alloc.part.0+0xd90/0x25b0 [ 45.146887] SYSC_perf_event_open+0xad1/0x2690 [ 45.151975] SyS_perf_event_open+0x34/0x40 [ 45.156709] do_syscall_64+0x1e8/0x640 [ 45.161094] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.166786] [ 45.166786] -> #1 (tracepoints_mutex){+.+.}: [ 45.172666] lock_acquire+0x16f/0x430 [ 45.176969] __mutex_lock+0xe8/0x1470 [ 45.181269] mutex_lock_nested+0x16/0x20 [ 45.185832] tracepoint_probe_register_prio+0x36/0x6d0 [ 45.191606] tracepoint_probe_register+0x2b/0x40 [ 45.196863] trace_event_reg+0x277/0x330 [ 45.201420] perf_trace_init+0x449/0xaa0 [ 45.205991] perf_tp_event_init+0x7d/0xf0 [ 45.210634] perf_try_init_event+0x164/0x200 [ 45.215547] perf_event_alloc.part.0+0xd90/0x25b0 [ 45.220891] SYSC_perf_event_open+0xad1/0x2690 [ 45.225967] SyS_perf_event_open+0x34/0x40 [ 45.230709] do_syscall_64+0x1e8/0x640 [ 45.235095] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.240778] [ 45.240778] -> #0 (event_mutex){+.+.}: [ 45.246124] __lock_acquire+0x2cb3/0x4620 [ 45.250771] lock_acquire+0x16f/0x430 [ 45.255066] __mutex_lock+0xe8/0x1470 [ 45.259362] mutex_lock_nested+0x16/0x20 [ 45.263920] perf_trace_destroy+0x28/0x100 [ 45.268651] tp_perf_event_destroy+0x16/0x20 [ 45.273554] _free_event+0x330/0xe70 [ 45.277762] free_event+0x38/0x50 [ 45.281714] perf_event_release_kernel+0x364/0x880 [ 45.287141] perf_release+0x37/0x50 [ 45.291264] __fput+0x275/0x7a0 [ 45.295039] ____fput+0x16/0x20 [ 45.298816] task_work_run+0x114/0x190 [ 45.303196] do_exit+0x7df/0x2c10 [ 45.307241] do_group_exit+0x111/0x330 [ 45.311624] get_signal+0x381/0x1cd0 [ 45.315835] do_signal+0x86/0x19a0 [ 45.319870] exit_to_usermode_loop+0x15c/0x220 [ 45.324947] do_syscall_64+0x4bc/0x640 [ 45.329330] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.335013] [ 45.335013] other info that might help us debug this: [ 45.335013] [ 45.343129] Chain exists of: [ 45.343129] event_mutex --> &cpuctx_mutex --> &event->child_mutex [ 45.343129] [ 45.353857] Possible unsafe locking scenario: [ 45.353857] [ 45.359889] CPU0 CPU1 [ 45.364530] ---- ---- [ 45.369171] lock(&event->child_mutex); [ 45.373212] lock(&cpuctx_mutex); [ 45.379246] lock(&event->child_mutex); [ 45.385799] lock(event_mutex); [ 45.389138] [ 45.389138] *** DEADLOCK *** [ 45.389138] [ 45.395175] 2 locks held by syz-executor372/7779: [ 45.399993] #0: (&ctx->mutex){+.+.}, at: [] perf_event_release_kernel+0x1fd/0x880 [ 45.409348] #1: (&event->child_mutex){+.+.}, at: [] perf_event_release_kernel+0x207/0x880 [ 45.419380] [ 45.419380] stack backtrace: [ 45.423854] CPU: 0 PID: 7779 Comm: syz-executor372 Not tainted 4.14.144 #0 [ 45.430841] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.440180] Call Trace: [ 45.442748] dump_stack+0x138/0x197 [ 45.446361] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 45.451701] __lock_acquire+0x2cb3/0x4620 [ 45.455838] ? event_function+0x28b/0x380 [ 45.459963] ? trace_hardirqs_on+0x10/0x10 [ 45.464180] lock_acquire+0x16f/0x430 [ 45.467958] ? perf_trace_destroy+0x28/0x100 [ 45.472342] ? perf_trace_destroy+0x28/0x100 [ 45.476728] __mutex_lock+0xe8/0x1470 [ 45.480506] ? perf_trace_destroy+0x28/0x100 [ 45.484892] ? perf_trace_destroy+0x28/0x100 [ 45.489272] ? alloc_perf_context+0xf0/0xf0 [ 45.493569] ? mutex_trylock+0x1c0/0x1c0 [ 45.497614] ? save_trace+0x290/0x290 [ 45.501391] ? __mutex_lock+0x36a/0x1470 [ 45.505425] ? perf_event_release_kernel+0x1f3/0x880 [ 45.510503] ? __lock_is_held+0xb6/0x140 [ 45.514547] ? check_preemption_disabled+0x3c/0x250 [ 45.519540] mutex_lock_nested+0x16/0x20 [ 45.523575] ? mutex_lock_nested+0x16/0x20 [ 45.527785] perf_trace_destroy+0x28/0x100 [ 45.531994] tp_perf_event_destroy+0x16/0x20 [ 45.536380] ? perf_tp_event_init+0xf0/0xf0 [ 45.540673] _free_event+0x330/0xe70 [ 45.544362] free_event+0x38/0x50 [ 45.547788] perf_event_release_kernel+0x364/0x880 [ 45.552695] ? perf_event_release_kernel+0x880/0x880 [ 45.557774] perf_release+0x37/0x50 [ 45.561390] __fput+0x275/0x7a0 [ 45.564656] ____fput+0x16/0x20 [ 45.567913] task_work_run+0x114/0x190 [ 45.571774] do_exit+0x7df/0x2c10 [ 45.575208] ? find_held_lock+0x35/0x130 [ 45.579242] ? mm_update_next_owner+0x5d0/0x5d0 [ 45.583887] do_group_exit+0x111/0x330 [ 45.587760] get_signal+0x381/0x1cd0 [ 45.591448] ? __fd_install+0x236/0x5f0 [ 45.595400] do_signal+0x86/0x19a0 [ 45.598918] ? wait_for_completion+0x420/0x420 [ 45.603485] ? fd_install+0x4d/0x60 [ 45.607089] ? setup_sigcontext+0x7d0/0x7d0 [ 45.611385] ? SYSC_perf_event_open+0x61c/0x2690 [ 45.616119] ? find_held_lock+0x35/0x130 [ 45.620164] ? perf_event_set_output+0x460/0x460 [ 45.624894] ? SyS_futex+0x215/0x302 [ 45.628582] ? SyS_futex+0x222/0x302 [ 45.632274] ? exit_to_usermode_loop+0x3d/0x220 [ 45.636920] exit_to_usermode_loop+0x15c/0x220 [ 45.641477] do_syscall_64+0x4bc/0x640 [ 45.645348] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.650166] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.655335] RIP: 0033:0x446969 [ 45.658510] RSP: 002b:00007f8754cbedb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 45.666194] RAX: fffffffffffffe00 RBX: 00000000006dbc38 RCX: 0000000000446969 executing program executing program executing program executing program executing program executing program [ 45.673449] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc38 [ 45.680694] RBP: 00000000006dbc30 R08: 0000000000000000 R09: 0000000000000000 [ 45.687949] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc3c [ 45.695200] R13: 00007ffe897fa8cf R14: 00007f8754cbf9c0 R15: 000000000000002d executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program