Warning: Permanently added '10.128.10.18' (ECDSA) to the list of known hosts. [ 902.562766] IPVS: ftp: loaded support on port[0] = 21 [ 902.565313] IPVS: ftp: loaded support on port[0] = 21 [ 902.577999] IPVS: ftp: loaded support on port[0] = 21 [ 902.578052] IPVS: ftp: loaded support on port[0] = 21 [ 902.589309] IPVS: ftp: loaded support on port[0] = 21 [ 902.589466] 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 [ 921.867634] [ 921.869279] ====================================================== [ 921.875591] WARNING: possible circular locking dependency detected [ 921.881894] 4.19.211-syzkaller #0 Not tainted [ 921.886432] ------------------------------------------------------ [ 921.892762] syz-executor424/10773 is trying to acquire lock: [ 921.898535] 00000000eabbcad1 ((wq_completion)"dio/%s"sb->s_id){+.+.}, at: flush_workqueue+0xe8/0x13e0 [ 921.907883] [ 921.907883] but task is already holding lock: [ 921.913834] 000000000c6c45b0 (&sb->s_type->i_mutex_key#18){++++}, at: generic_file_write_iter+0x99/0x730 [ 921.923444] [ 921.923444] which lock already depends on the new lock. [ 921.923444] [ 921.931784] [ 921.931784] the existing dependency chain (in reverse order) is: [ 921.939380] [ 921.939380] -> #2 (&sb->s_type->i_mutex_key#18){++++}: [ 921.946160] __generic_file_fsync+0xb0/0x1f0 [ 921.951067] fat_file_fsync+0x73/0x200 [ 921.955450] vfs_fsync_range+0x13a/0x220 [ 921.960009] dio_complete+0x763/0xac0 [ 921.964311] process_one_work+0x864/0x1570 [ 921.969396] worker_thread+0x64c/0x1130 [ 921.973870] kthread+0x33f/0x460 [ 921.977750] ret_from_fork+0x24/0x30 [ 921.981973] [ 921.981973] -> #1 ((work_completion)(&dio->complete_work)){+.+.}: [ 921.989686] worker_thread+0x64c/0x1130 [ 921.994245] kthread+0x33f/0x460 [ 921.998122] ret_from_fork+0x24/0x30 [ 922.002336] [ 922.002336] -> #0 ((wq_completion)"dio/%s"sb->s_id){+.+.}: [ 922.009423] flush_workqueue+0x117/0x13e0 [ 922.014074] drain_workqueue+0x1a5/0x460 [ 922.018637] destroy_workqueue+0x75/0x790 [ 922.023286] __alloc_workqueue_key+0xb76/0xed0 [ 922.028376] sb_init_dio_done_wq+0x34/0x90 [ 922.033110] __blockdev_direct_IO+0x5f55/0xef40 [ 922.038278] fat_direct_IO+0x1d1/0x370 [ 922.042663] generic_file_direct_write+0x208/0x4a0 [ 922.048090] __generic_file_write_iter+0x2d0/0x610 [ 922.053517] generic_file_write_iter+0x3f8/0x730 [ 922.058773] aio_write+0x37f/0x5c0 [ 922.062808] io_submit_one+0xecd/0x20c0 [ 922.067296] __se_sys_io_submit+0x11b/0x4a0 [ 922.072116] do_syscall_64+0xf9/0x620 [ 922.076421] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 922.082103] [ 922.082103] other info that might help us debug this: [ 922.082103] [ 922.090225] Chain exists of: [ 922.090225] (wq_completion)"dio/%s"sb->s_id --> (work_completion)(&dio->complete_work) --> &sb->s_type->i_mutex_key#18 [ 922.090225] [ 922.105562] Possible unsafe locking scenario: [ 922.105562] [ 922.111597] CPU0 CPU1 [ 922.116258] ---- ---- [ 922.120902] lock(&sb->s_type->i_mutex_key#18); [ 922.125648] lock((work_completion)(&dio->complete_work)); [ 922.133853] lock(&sb->s_type->i_mutex_key#18); [ 922.141109] lock((wq_completion)"dio/%s"sb->s_id); [ 922.146215] [ 922.146215] *** DEADLOCK *** [ 922.146215] [ 922.152263] 1 lock held by syz-executor424/10773: [ 922.157081] #0: 000000000c6c45b0 (&sb->s_type->i_mutex_key#18){++++}, at: generic_file_write_iter+0x99/0x730 [ 922.167133] [ 922.167133] stack backtrace: [ 922.172111] CPU: 0 PID: 10773 Comm: syz-executor424 Not tainted 4.19.211-syzkaller #0 [ 922.180057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 922.189391] Call Trace: [ 922.191979] dump_stack+0x1fc/0x2ef [ 922.195603] print_circular_bug.constprop.0.cold+0x2d7/0x41e [ 922.201432] __lock_acquire+0x30c9/0x3ff0 [ 922.205572] ? check_preemption_disabled+0x41/0x280 [ 922.210569] ? mark_held_locks+0xf0/0xf0 [ 922.214670] ? mark_held_locks+0xf0/0xf0 [ 922.218709] ? lock_downgrade+0x720/0x720 [ 922.222957] ? lock_acquire+0x170/0x3c0 [ 922.226916] ? depot_save_stack+0x1e0/0x410 [ 922.231222] ? check_preemption_disabled+0x41/0x280 [ 922.236268] lock_acquire+0x170/0x3c0 [ 922.240058] ? flush_workqueue+0xe8/0x13e0 [ 922.244276] flush_workqueue+0x117/0x13e0 [ 922.248419] ? flush_workqueue+0xe8/0x13e0 [ 922.252655] ? lock_downgrade+0x720/0x720 [ 922.256786] ? drain_workqueue+0x24/0x460 [ 922.260920] ? check_flush_dependency+0x400/0x400 [ 922.265764] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 922.270858] drain_workqueue+0x1a5/0x460 [ 922.274900] ? init_rescuer+0x2d0/0x370 [ 922.278853] destroy_workqueue+0x75/0x790 [ 922.282982] __alloc_workqueue_key+0xb76/0xed0 [ 922.287544] ? deref_stack_reg+0x1d0/0x1d0 [ 922.291765] ? workqueue_sysfs_register+0x3e0/0x3e0 [ 922.296763] ? check_preemption_disabled+0x41/0x280 [ 922.301762] ? __blockdev_direct_IO+0x36a/0xef40 [ 922.306504] sb_init_dio_done_wq+0x34/0x90 [ 922.310724] __blockdev_direct_IO+0x5f55/0xef40 [ 922.315389] ? fat_add_cluster+0xf0/0xf0 [ 922.319441] ? mark_held_locks+0xf0/0xf0 [ 922.323491] ? mark_held_locks+0xf0/0xf0 [ 922.327601] ? sb_init_dio_done_wq+0x90/0x90 [ 922.331999] ? io_submit_one+0xecd/0x20c0 [ 922.336132] ? aa_file_perm+0x3f0/0xd20 [ 922.340091] ? clear_shadow_entry+0x170/0x170 [ 922.344569] ? current_time+0x13c/0x1c0 [ 922.348550] ? igrab+0xb0/0xb0 [ 922.351750] ? mark_held_locks+0xf0/0xf0 [ 922.355789] fat_direct_IO+0x1d1/0x370 [ 922.359679] generic_file_direct_write+0x208/0x4a0 [ 922.364606] __generic_file_write_iter+0x2d0/0x610 [ 922.369531] generic_file_write_iter+0x3f8/0x730 [ 922.374268] aio_write+0x37f/0x5c0 [ 922.377790] ? aio_setup_rw.isra.0+0x110/0x110 [ 922.382354] ? lock_downgrade+0x720/0x720 [ 922.386485] ? lock_downgrade+0x720/0x720 [ 922.390619] ? lock_acquire+0x170/0x3c0 [ 922.394590] ? __might_fault+0xef/0x1d0 [ 922.398546] io_submit_one+0xecd/0x20c0 [ 922.402501] ? lock_downgrade+0x720/0x720 [ 922.406626] ? aio_read+0x420/0x420 [ 922.410248] ? __might_fault+0x11f/0x1d0 [ 922.414292] __se_sys_io_submit+0x11b/0x4a0 [ 922.418594] ? io_submit_one+0x20c0/0x20c0 [ 922.422909] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 922.428261] ? trace_hardirqs_off_caller+0x6e/0x210 [ 922.433254] ? do_syscall_64+0x21/0x620 [ 922.437207] do_syscall_64+0xf9/0x620 [ 922.440987] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 922.446155] RIP: 0033:0x7f1cfc8a8da9 [ 922.449848] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 922.468731] RSP: 002b:00007f1cfc84d2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 [ 922.476417] RAX: ffffffffffffffda RBX: 0000000000000040 RCX: 00007f1cfc8a8da9 [ 922.483664] RDX: 0000000020000540 RSI: 0000000000001801 RDI: 00007f1cfc803000 [ 922.490911] RBP: 00007f1cfc9264a8 R08: 0000000000000000 R09: 0000000000000000 [ 922.498156] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1cfc9264a0 [ 922.505403] R13: 00007f1cfc9264ac R14: 00007f1cfc8f3404 R15: 0000000000022000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program