Warning: Permanently added '10.128.0.73' (ECDSA) to the list of known hosts. [ 51.813273] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 51.945867] audit: type=1400 audit(1572762415.721:36): avc: denied { map } for pid=6936 comm="syz-executor354" path="/root/syz-executor354963319" 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 [ 51.984519] block nbd0: Receive control failed (result -22) executing program [ 51.993541] block nbd0: shutting down sockets executing program [ 52.045139] block nbd0: Receive control failed (result -22) [ 52.052650] block nbd0: shutting down sockets executing program [ 52.114193] block nbd0: Receive control failed (result -22) [ 52.121573] block nbd0: shutting down sockets executing program [ 52.174585] block nbd0: Receive control failed (result -22) [ 52.182265] block nbd0: shutting down sockets executing program [ 52.244265] block nbd0: Receive control failed (result -22) [ 52.251596] block nbd0: shutting down sockets executing program [ 52.305032] block nbd0: Receive control failed (result -22) [ 52.312729] block nbd0: shutting down sockets executing program [ 52.364104] block nbd0: Receive control failed (result -22) [ 52.371404] block nbd0: shutting down sockets executing program [ 52.434067] block nbd0: Receive control failed (result -22) [ 52.441579] block nbd0: shutting down sockets executing program [ 52.494168] block nbd0: Receive control failed (result -22) [ 52.501868] block nbd0: shutting down sockets executing program [ 52.553740] block nbd0: Receive control failed (result -22) [ 52.561282] block nbd0: shutting down sockets executing program [ 52.614935] block nbd0: Receive control failed (result -22) [ 52.622728] block nbd0: shutting down sockets [ 52.684771] block nbd0: Receive control failed (result -22) [ 52.692206] block nbd0: shutting down sockets executing program executing program [ 52.764879] block nbd0: Receive control failed (result -22) [ 52.772541] block nbd0: shutting down sockets executing program [ 52.833591] block nbd0: Receive control failed (result -22) [ 52.840887] block nbd0: shutting down sockets executing program [ 52.903641] block nbd0: Receive control failed (result -22) [ 52.911294] block nbd0: shutting down sockets executing program [ 52.974776] block nbd0: Receive control failed (result -22) [ 52.982256] block nbd0: shutting down sockets executing program [ 53.034676] block nbd0: Receive control failed (result -22) [ 53.041764] block nbd0: shutting down sockets executing program [ 53.093629] block nbd0: Receive control failed (result -22) [ 53.100964] block nbd0: shutting down sockets executing program [ 53.153768] block nbd0: Receive control failed (result -22) [ 53.161117] block nbd0: shutting down sockets executing program [ 53.213760] block nbd0: Receive control failed (result -22) [ 53.221964] block nbd0: shutting down sockets executing program [ 53.273263] block nbd0: Receive control failed (result -22) [ 53.280852] block nbd0: shutting down sockets executing program [ 53.322824] block nbd0: Receive control failed (result -22) [ 53.329911] block nbd0: shutting down sockets [ 53.393612] block nbd0: Receive control failed (result -22) [ 53.400857] block nbd0: shutting down sockets executing program executing program [ 53.473301] block nbd0: Receive control failed (result -22) [ 53.480671] block nbd0: shutting down sockets executing program [ 53.543437] block nbd0: Receive control failed (result -22) [ 53.550642] block nbd0: shutting down sockets [ 53.613274] block nbd0: Receive control failed (result -22) [ 53.620681] block nbd0: shutting down sockets executing program [ 53.693683] block nbd0: Receive control failed (result -22) [ 53.700993] block nbd0: shutting down sockets executing program executing program [ 53.773804] block nbd0: Receive control failed (result -22) [ 53.780699] block nbd0: shutting down sockets executing program [ 53.824755] block nbd0: Receive control failed (result -22) [ 53.832156] block nbd0: shutting down sockets executing program [ 53.892847] block nbd0: Receive control failed (result -22) [ 53.899838] block nbd0: shutting down sockets executing program [ 53.943886] block nbd0: Receive control failed (result -22) [ 53.951289] block nbd0: shutting down sockets [ 54.004655] block nbd0: Receive control failed (result -22) [ 54.011824] block nbd0: shutting down sockets executing program executing program [ 54.082992] block nbd0: Receive control failed (result -22) [ 54.089999] block nbd0: shutting down sockets executing program [ 54.143975] block nbd0: Receive control failed (result -22) [ 54.151505] block nbd0: shutting down sockets executing program [ 54.212880] block nbd0: Receive control failed (result -22) [ 54.219991] block nbd0: shutting down sockets executing program [ 54.273043] block nbd0: Receive control failed (result -22) [ 54.280122] block nbd0: shutting down sockets executing program [ 54.333144] block nbd0: Receive control failed (result -22) [ 54.340444] block nbd0: shutting down sockets executing program [ 54.402970] block nbd0: Receive control failed (result -22) [ 54.409916] block nbd0: shutting down sockets [ 54.473384] block nbd0: Receive control failed (result -22) [ 54.483158] block nbd0: shutting down sockets executing program [ 54.553224] block nbd0: Receive control failed (result -22) [ 54.560664] block nbd0: shutting down sockets executing program executing program [ 54.632980] block nbd0: Receive control failed (result -22) [ 54.639947] block nbd0: shutting down sockets executing program [ 54.703389] block nbd0: Receive control failed (result -22) [ 54.711133] block nbd0: shutting down sockets executing program [ 54.763957] block nbd0: Receive control failed (result -22) [ 54.771097] block nbd0: shutting down sockets executing program [ 54.833681] block nbd0: Receive control failed (result -22) [ 54.841341] block nbd0: shutting down sockets [ 54.903240] block nbd0: Receive control failed (result -22) [ 54.910728] block nbd0: shutting down sockets executing program [ 54.983576] block nbd0: Receive control failed (result -22) [ 54.990707] block nbd0: shutting down sockets executing program executing program [ 55.062724] block nbd0: Receive control failed (result -22) [ 55.069657] block nbd0: shutting down sockets [ 55.123781] block nbd0: Receive control failed (result -22) [ 55.130710] block nbd0: shutting down sockets executing program executing program [ 55.203187] block nbd0: Receive control failed (result -22) [ 55.210430] block nbd0: shutting down sockets executing program [ 55.263473] block nbd0: Receive control failed (result -22) [ 55.270955] block nbd0: shutting down sockets executing program [ 55.324450] block nbd0: Receive control failed (result -22) [ 55.331909] block nbd0: shutting down sockets [ 55.383625] block nbd0: Receive control failed (result -22) [ 55.390761] block nbd0: shutting down sockets executing program executing program [ 55.464763] block nbd0: Receive control failed (result -22) [ 55.472358] block nbd0: shutting down sockets executing program [ 55.533489] block nbd0: Receive control failed (result -22) [ 55.540639] block nbd0: shutting down sockets executing program [ 55.594671] block nbd0: Receive control failed (result -22) [ 55.602371] block nbd0: shutting down sockets executing program [ 55.663392] block nbd0: Receive control failed (result -22) [ 55.670787] block nbd0: shutting down sockets executing program [ 55.724070] block nbd0: Receive control failed (result -22) [ 55.731487] block nbd0: shutting down sockets [ 55.784803] block nbd0: Receive control failed (result -22) [ 55.792344] block nbd0: shutting down sockets executing program executing program [ 55.864112] block nbd0: Receive control failed (result -22) [ 55.871410] block nbd0: shutting down sockets executing program [ 55.933606] block nbd0: Receive control failed (result -22) [ 55.941111] block nbd0: shutting down sockets executing program [ 56.004259] block nbd0: Receive control failed (result -22) [ 56.012248] block nbd0: shutting down sockets executing program [ 56.066048] block nbd0: Receive control failed (result -22) [ 56.073586] block nbd0: shutting down sockets executing program [ 56.123599] block nbd0: Receive control failed (result -22) [ 56.131039] block nbd0: shutting down sockets executing program [ 56.174504] block nbd0: Receive control failed (result -22) [ 56.181722] block nbd0: shutting down sockets [ 56.243708] block nbd0: Receive control failed (result -22) [ 56.250701] block nbd0: shutting down sockets executing program [ 56.323330] block nbd0: Receive control failed (result -22) [ 56.330633] block nbd0: shutting down sockets executing program [ 56.413342] block nbd0: Receive control failed (result -22) [ 56.420755] block nbd0: shutting down sockets executing program [ 56.493186] block nbd0: Receive control failed (result -22) [ 56.500267] block nbd0: shutting down sockets executing program executing program [ 56.573991] block nbd0: Receive control failed (result -22) [ 56.581348] block nbd0: shutting down sockets executing program [ 56.633795] block nbd0: Receive control failed (result -22) [ 56.641006] block nbd0: shutting down sockets executing program [ 56.703334] block nbd0: Receive control failed (result -22) [ 56.710718] block nbd0: shutting down sockets executing program [ 56.753053] block nbd0: Receive control failed (result -22) [ 56.760145] block nbd0: shutting down sockets executing program [ 56.803699] block nbd0: Receive control failed (result -22) [ 56.810730] block nbd0: shutting down sockets executing program [ 56.864277] block nbd0: Receive control failed (result -22) [ 56.871286] block nbd0: shutting down sockets executing program [ 56.922826] block nbd0: Receive control failed (result -22) [ 56.929797] block nbd0: shutting down sockets executing program [ 56.983915] block nbd0: Receive control failed (result -22) [ 56.990928] block nbd0: shutting down sockets executing program [ 57.043806] block nbd0: Receive control failed (result -22) [ 57.051550] block nbd0: shutting down sockets executing program [ 57.103806] block nbd0: Receive control failed (result -22) [ 57.110892] block nbd0: shutting down sockets executing program [ 57.153898] block nbd0: Receive control failed (result -22) [ 57.161619] block nbd0: shutting down sockets [ 57.213955] block nbd0: Receive control failed (result -22) [ 57.221108] block nbd0: shutting down sockets executing program executing program [ 57.283706] block nbd0: Receive control failed (result -22) [ 57.291235] block nbd0: shutting down sockets executing program [ 57.343843] block nbd0: Receive control failed (result -22) [ 57.351292] block nbd0: shutting down sockets executing program [ 57.403709] block nbd0: Receive control failed (result -22) [ 57.410961] block nbd0: shutting down sockets executing program [ 57.463555] block nbd0: Receive control failed (result -22) [ 57.471311] block nbd0: shutting down sockets executing program [ 57.524658] block nbd0: Receive control failed (result -22) [ 57.532185] block nbd0: shutting down sockets executing program [ 57.584142] block nbd0: Receive control failed (result -22) [ 57.591415] block nbd0: shutting down sockets executing program [ 57.643893] block nbd0: Receive control failed (result -22) [ 57.651498] block nbd0: shutting down sockets [ 57.704260] block nbd0: Receive control failed (result -22) [ 57.711459] block nbd0: shutting down sockets executing program executing program [ 57.793522] block nbd0: Receive control failed (result -22) [ 57.801058] block nbd0: shutting down sockets executing program [ 57.863668] block nbd0: Receive control failed (result -22) [ 57.871232] block nbd0: shutting down sockets [ 57.934859] block nbd0: Receive control failed (result -22) [ 57.942960] block nbd0: shutting down sockets executing program executing program [ 58.013448] block nbd0: Receive control failed (result -22) [ 58.020913] block nbd0: shutting down sockets executing program [ 58.074916] block nbd0: Receive control failed (result -22) [ 58.082420] block nbd0: shutting down sockets executing program [ 58.134639] block nbd0: Receive control failed (result -22) [ 58.142089] block nbd0: shutting down sockets executing program [ 58.203293] block nbd0: Receive control failed (result -22) [ 58.210768] block nbd0: shutting down sockets executing program [ 58.263362] block nbd0: Receive control failed (result -22) [ 58.270700] block nbd0: shutting down sockets executing program [ 58.312982] block nbd0: Receive control failed (result -22) [ 58.320227] block nbd0: shutting down sockets executing program [ 58.373074] block nbd0: Receive control failed (result -22) [ 58.380149] block nbd0: shutting down sockets executing program [ 58.423960] block nbd0: Receive control failed (result -22) [ 58.431123] block nbd0: shutting down sockets executing program [ 58.483325] block nbd0: Receive control failed (result -22) [ 58.490352] block nbd0: shutting down sockets executing program [ 58.532877] block nbd0: Receive control failed (result -22) [ 58.539857] block nbd0: shutting down sockets executing program [ 58.603025] block nbd0: Receive control failed (result -22) [ 58.610895] block nbd0: shutting down sockets executing program [ 58.673782] block nbd0: Receive control failed (result -22) [ 58.680860] block nbd0: shutting down sockets executing program [ 58.743211] block nbd0: Receive control failed (result -22) [ 58.750276] block nbd0: shutting down sockets executing program [ 58.793312] block nbd0: Receive control failed (result -22) [ 58.800523] block nbd0: shutting down sockets executing program [ 58.862871] block nbd0: Receive control failed (result -22) [ 58.870134] block nbd0: shutting down sockets executing program [ 58.923003] block nbd0: Receive control failed (result -22) [ 58.930138] block nbd0: shutting down sockets executing program [ 58.974779] block nbd0: Receive control failed (result -22) [ 58.982011] block nbd0: shutting down sockets executing program [ 59.043680] block nbd0: Receive control failed (result -22) [ 59.050882] block nbd0: shutting down sockets executing program [ 59.113710] block nbd0: Receive control failed (result -22) [ 59.121088] block nbd0: shutting down sockets executing program [ 59.183193] block nbd0: Receive control failed (result -22) [ 59.190711] block nbd0: shutting down sockets executing program [ 59.243053] block nbd0: Receive control failed (result -22) [ 59.249774] block nbd0: shutting down sockets executing program [ 59.304406] block nbd0: Receive control failed (result -22) [ 59.312791] block nbd0: shutting down sockets executing program [ 59.363797] block nbd0: Receive control failed (result -22) [ 59.371134] block nbd0: shutting down sockets executing program [ 59.423890] block nbd0: Receive control failed (result -22) [ 59.431739] block nbd0: shutting down sockets [ 59.463985] block nbd0: Receive control failed (result -22) [ 59.471537] block nbd0: shutting down sockets executing program executing program [ 59.534619] block nbd0: Receive control failed (result -22) [ 59.542175] block nbd0: shutting down sockets executing program [ 59.593721] block nbd0: Receive control failed (result -22) [ 59.601078] block nbd0: shutting down sockets executing program [ 59.653679] block nbd0: Receive control failed (result -22) [ 59.661351] block nbd0: shutting down sockets executing program [ 59.714637] block nbd0: Receive control failed (result -22) [ 59.722134] block nbd0: shutting down sockets executing program [ 59.774393] block nbd0: Receive control failed (result -22) [ 59.781919] block nbd0: shutting down sockets executing program [ 59.843596] block nbd0: Receive control failed (result -22) [ 59.851127] block nbd0: shutting down sockets [ 59.904776] block nbd0: Receive control failed (result -22) [ 59.912498] block nbd0: shutting down sockets executing program [ 59.984264] block nbd0: Receive control failed (result -22) [ 59.991812] block nbd0: shutting down sockets executing program executing program [ 60.064652] block nbd0: Receive control failed (result -22) [ 60.072248] block nbd0: shutting down sockets executing program [ 60.133689] block nbd0: Receive control failed (result -22) [ 60.140871] block nbd0: shutting down sockets executing program [ 60.203949] block nbd0: Receive control failed (result -22) [ 60.211350] block nbd0: shutting down sockets executing program [ 60.264278] block nbd0: Receive control failed (result -22) [ 60.271529] block nbd0: shutting down sockets executing program [ 60.333981] block nbd0: Receive control failed (result -22) [ 60.341335] block nbd0: shutting down sockets [ 60.393701] block nbd0: Receive control failed (result -22) [ 60.400963] block nbd0: shutting down sockets executing program executing program [ 60.473371] block nbd0: Receive control failed (result -22) [ 60.480553] block nbd0: shutting down sockets executing program [ 60.532991] block nbd0: Receive control failed (result -22) [ 60.540086] block nbd0: shutting down sockets executing program [ 60.603833] block nbd0: Receive control failed (result -22) [ 60.611000] block nbd0: shutting down sockets executing program [ 60.673906] block nbd0: Receive control failed (result -22) [ 60.681105] block nbd0: shutting down sockets [ 60.733140] block nbd0: Receive control failed (result -22) [ 60.740254] block nbd0: shutting down sockets executing program executing program [ 60.812956] block nbd0: Receive control failed (result -22) [ 60.819930] block nbd0: shutting down sockets executing program [ 60.873778] block nbd0: Receive control failed (result -22) [ 60.880713] block nbd0: shutting down sockets executing program [ 60.943927] block nbd0: Receive control failed (result -22) [ 60.951177] block nbd0: shutting down sockets [ 61.003471] block nbd0: Receive control failed (result -22) [ 61.010640] block nbd0: shutting down sockets executing program executing program [ 61.083143] block nbd0: Receive control failed (result -22) [ 61.091142] block nbd0: shutting down sockets executing program [ 61.143514] block nbd0: Receive control failed (result -22) [ 61.150646] block nbd0: shutting down sockets executing program [ 61.203328] block nbd0: Receive control failed (result -22) [ 61.211093] block nbd0: shutting down sockets executing program [ 61.273194] block nbd0: Receive control failed (result -22) [ 61.280516] block nbd0: shutting down sockets executing program [ 61.332949] block nbd0: Receive control failed (result -22) [ 61.340126] block nbd0: shutting down sockets executing program [ 61.404022] block nbd0: Receive control failed (result -22) [ 61.411225] block nbd0: shutting down sockets executing program [ 61.463904] block nbd0: Receive control failed (result -22) [ 61.471625] block nbd0: shutting down sockets executing program [ 61.522798] block nbd0: Receive control failed (result -22) [ 61.529848] block nbd0: shutting down sockets executing program [ 61.594254] block nbd0: Receive control failed (result -22) [ 61.602003] block nbd0: shutting down sockets [ 61.663287] block nbd0: Receive control failed (result -22) [ 61.670261] [ 61.672034] ====================================================== [ 61.678440] WARNING: possible circular locking dependency detected [ 61.684770] 4.14.151 #0 Not tainted [ 61.688680] ------------------------------------------------------ [ 61.695059] kworker/u5:0/1143 is trying to acquire lock: [ 61.700484] (&nbd->config_lock){+.+.}, at: [] refcount_dec_and_mutex_lock+0x49/0x6c [ 61.710009] [ 61.710009] but task is already holding lock: [ 61.715959] ((&args->work)){+.+.}, at: [] process_one_work+0x7ab/0x1600 [ 61.724363] [ 61.724363] which lock already depends on the new lock. [ 61.724363] [ 61.733767] [ 61.733767] the existing dependency chain (in reverse order) is: [ 61.741544] [ 61.741544] -> #2 ((&args->work)){+.+.}: [ 61.747091] lock_acquire+0x16f/0x430 [ 61.751398] process_one_work+0x803/0x1600 [ 61.756127] worker_thread+0x5d9/0x1050 [ 61.760615] kthread+0x319/0x430 [ 61.764478] ret_from_fork+0x24/0x30 [ 61.768703] [ 61.768703] -> #1 ("knbd%d-recv"nbd->index){+.+.}: [ 61.775107] lock_acquire+0x16f/0x430 [ 61.779637] flush_workqueue+0x109/0x1400 [ 61.784295] drain_workqueue+0x177/0x3e0 [ 61.789643] destroy_workqueue+0x21/0x620 [ 61.794295] nbd_config_put+0x43c/0x7a0 [ 61.798765] nbd_release+0xdb/0x120 [ 61.802889] __blkdev_put+0x434/0x7f0 [ 61.807186] blkdev_put+0x88/0x510 [ 61.811228] blkdev_close+0x8b/0xb0 [ 61.815355] __fput+0x275/0x7a0 [ 61.819133] ____fput+0x16/0x20 [ 61.822925] task_work_run+0x114/0x190 [ 61.827309] do_exit+0x7df/0x2c10 [ 61.831261] do_group_exit+0x111/0x330 [ 61.835658] SyS_exit_group+0x1d/0x20 [ 61.839958] do_syscall_64+0x1e8/0x640 [ 61.844364] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 61.850056] [ 61.850056] -> #0 (&nbd->config_lock){+.+.}: [ 61.855937] __lock_acquire+0x2cb3/0x4620 [ 61.860584] lock_acquire+0x16f/0x430 [ 61.864885] __mutex_lock+0xe8/0x1470 [ 61.869181] mutex_lock_nested+0x16/0x20 [ 61.873743] refcount_dec_and_mutex_lock+0x49/0x6c [ 61.879167] nbd_config_put+0x31/0x7a0 [ 61.883548] recv_work+0x18d/0x1f0 [ 61.887605] process_one_work+0x863/0x1600 [ 61.892346] worker_thread+0x5d9/0x1050 [ 61.896826] kthread+0x319/0x430 [ 61.900705] ret_from_fork+0x24/0x30 [ 61.904924] [ 61.904924] other info that might help us debug this: [ 61.904924] [ 61.913058] Chain exists of: [ 61.913058] &nbd->config_lock --> "knbd%d-recv"nbd->index --> (&args->work) [ 61.913058] [ 61.924753] Possible unsafe locking scenario: [ 61.924753] [ 61.930787] CPU0 CPU1 [ 61.935538] ---- ---- [ 61.940179] lock((&args->work)); [ 61.943692] lock("knbd%d-recv"nbd->index); [ 61.950591] lock((&args->work)); [ 61.956903] lock(&nbd->config_lock); [ 61.960780] [ 61.960780] *** DEADLOCK *** [ 61.960780] [ 61.966815] 2 locks held by kworker/u5:0/1143: [ 61.971370] #0: ("knbd%d-recv"nbd->index){+.+.}, at: [] process_one_work+0x76e/0x1600 [ 61.981152] #1: ((&args->work)){+.+.}, at: [] process_one_work+0x7ab/0x1600 [ 61.989973] [ 61.989973] stack backtrace: [ 61.994445] CPU: 0 PID: 1143 Comm: kworker/u5:0 Not tainted 4.14.151 #0 [ 62.001167] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.010506] Workqueue: knbd0-recv recv_work [ 62.014809] Call Trace: [ 62.017375] dump_stack+0x138/0x197 [ 62.020985] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 62.026328] __lock_acquire+0x2cb3/0x4620 [ 62.030539] ? trace_hardirqs_on+0x10/0x10 [ 62.034788] ? find_held_lock+0x35/0x130 [ 62.038831] lock_acquire+0x16f/0x430 [ 62.042614] ? refcount_dec_and_mutex_lock+0x49/0x6c [ 62.047690] ? refcount_dec_and_mutex_lock+0x49/0x6c [ 62.052769] __mutex_lock+0xe8/0x1470 [ 62.056544] ? refcount_dec_and_mutex_lock+0x49/0x6c [ 62.061629] ? pci_mmcfg_check_reserved+0x150/0x150 [ 62.066622] ? refcount_dec_and_mutex_lock+0x49/0x6c [ 62.072065] ? mutex_trylock+0x1c0/0x1c0 [ 62.076101] ? preempt_schedule_common+0x4f/0xe0 [ 62.080848] ? preempt_schedule+0x4b/0x60 [ 62.084981] ? ___preempt_schedule+0x16/0x18 [ 62.089364] ? _raw_spin_unlock_irqrestore+0xbd/0xe0 [ 62.094529] mutex_lock_nested+0x16/0x20 [ 62.098567] ? mutex_lock_nested+0x16/0x20 [ 62.102783] refcount_dec_and_mutex_lock+0x49/0x6c [ 62.107697] nbd_config_put+0x31/0x7a0 executing program [ 62.111565] ? kernel_sock_shutdown+0x59/0x70 [ 62.117095] recv_work+0x18d/0x1f0 [ 62.120615] process_one_work+0x863/0x1600 [ 62.124853] ? pwq_dec_nr_in_flight+0x2e0/0x2e0 [ 62.129501] worker_thread+0x5d9/0x1050 [ 62.133476] kthread+0x319/0x430 [ 62.136948] ? process_one_work+0x1600/0x1600 [ 62.141418] ? kthread_create_on_node+0xd0/0xd0 [ 62.146063] ret_from_fork+0x24/0x30 [ 62.151184] block nbd0: shutting down sockets