Warning: Permanently added '10.128.10.8' (ECDSA) to the list of known hosts. [ 89.547294][T10143] IPVS: ftp: loaded support on port[0] = 21 executing program executing program [ 89.709329][ C1] hrtimer: interrupt took 22166 ns executing program executing program [ 90.266252][T10157] [ 90.268633][T10157] ====================================================== [ 90.275640][T10157] WARNING: possible circular locking dependency detected [ 90.282733][T10157] 5.6.0-rc5-syzkaller #0 Not tainted [ 90.287998][T10157] ------------------------------------------------------ [ 90.295010][T10157] syz-executor093/10157 is trying to acquire lock: [ 90.301520][T10157] ffffffff89768e70 (cpu_hotplug_lock.rw_sem){++++}, at: static_key_slow_dec+0x4f/0x90 [ 90.311303][T10157] [ 90.311303][T10157] but task is already holding lock: [ 90.318846][T10157] ffff8880a4210e98 (&mm->mmap_sem#2){++++}, at: vm_mmap_pgoff+0x152/0x200 [ 90.327358][T10157] [ 90.327358][T10157] which lock already depends on the new lock. [ 90.327358][T10157] [ 90.338496][T10157] [ 90.338496][T10157] the existing dependency chain (in reverse order) is: [ 90.347737][T10157] [ 90.347737][T10157] -> #2 (&mm->mmap_sem#2){++++}: [ 90.354863][T10157] down_write+0x8d/0x150 [ 90.359672][T10157] mpol_rebind_mm+0x20/0xc0 [ 90.364778][T10157] cpuset_attach+0x214/0x400 [ 90.370063][T10157] cgroup_migrate_execute+0xc34/0x1210 [ 90.376038][T10157] cgroup_attach_task+0x57c/0x8e0 [ 90.381583][T10157] __cgroup1_procs_write.constprop.0+0x3a7/0x490 [ 90.388429][T10157] cgroup_file_write+0x20d/0x710 [ 90.393901][T10157] kernfs_fop_write+0x268/0x490 [ 90.399301][T10157] __vfs_write+0x76/0x100 [ 90.404263][T10157] vfs_write+0x262/0x5c0 [ 90.409022][T10157] ksys_write+0x127/0x250 [ 90.413856][T10157] do_syscall_64+0xf6/0x7d0 [ 90.418864][T10157] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.425354][T10157] [ 90.425354][T10157] -> #1 (&cpuset_rwsem){++++}: [ 90.432437][T10157] cpuset_read_lock+0x3b/0x130 [ 90.437732][T10157] __sched_setscheduler.constprop.0+0x251/0x2000 [ 90.444586][T10157] _sched_setscheduler+0xee/0x180 [ 90.450168][T10157] __kthread_create_on_node+0x2ea/0x410 [ 90.456242][T10157] kthread_create_on_node+0xbb/0xf0 [ 90.461986][T10157] create_worker+0x23b/0x530 [ 90.467090][T10157] workqueue_prepare_cpu+0x9c/0xf0 [ 90.472901][T10157] cpuhp_invoke_callback+0x22c/0x1d20 [ 90.478913][T10157] _cpu_up+0x27d/0x540 [ 90.483501][T10157] do_cpu_up+0xfe/0x1a0 [ 90.488328][T10157] smp_init+0x239/0x24e [ 90.493013][T10157] kernel_init_freeable+0x32e/0x5ae [ 90.499588][T10157] kernel_init+0xd/0x1bb [ 90.504381][T10157] ret_from_fork+0x24/0x30 [ 90.509300][T10157] [ 90.509300][T10157] -> #0 (cpu_hotplug_lock.rw_sem){++++}: [ 90.518340][T10157] __lock_acquire+0x201b/0x3ca0 [ 90.524790][T10157] lock_acquire+0x197/0x420 [ 90.530427][T10157] cpus_read_lock+0x3b/0x130 [ 90.535618][T10157] static_key_slow_dec+0x4f/0x90 [ 90.541688][T10157] sw_perf_event_destroy+0x81/0x130 [ 90.547753][T10157] _free_event+0x33b/0x12b0 [ 90.553566][T10157] put_event+0x40/0x50 [ 90.558869][T10157] perf_mmap_close+0x4f7/0xcb0 [ 90.565494][T10157] remove_vma+0xa9/0x170 [ 90.570696][T10157] __do_munmap+0x729/0x10e0 [ 90.575792][T10157] mmap_region+0x1ef/0x1540 [ 90.581072][T10157] do_mmap+0x843/0x1140 [ 90.587232][T10157] vm_mmap_pgoff+0x197/0x200 [ 90.592333][T10157] ksys_mmap_pgoff+0x457/0x5b0 [ 90.597604][T10157] do_syscall_64+0xf6/0x7d0 [ 90.603271][T10157] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.610027][T10157] [ 90.610027][T10157] other info that might help us debug this: [ 90.610027][T10157] [ 90.620412][T10157] Chain exists of: [ 90.620412][T10157] cpu_hotplug_lock.rw_sem --> &cpuset_rwsem --> &mm->mmap_sem#2 [ 90.620412][T10157] [ 90.635782][T10157] Possible unsafe locking scenario: [ 90.635782][T10157] [ 90.643587][T10157] CPU0 CPU1 [ 90.649235][T10157] ---- ---- [ 90.655988][T10157] lock(&mm->mmap_sem#2); [ 90.661868][T10157] lock(&cpuset_rwsem); [ 90.669223][T10157] lock(&mm->mmap_sem#2); [ 90.676403][T10157] lock(cpu_hotplug_lock.rw_sem); [ 90.681744][T10157] [ 90.681744][T10157] *** DEADLOCK *** [ 90.681744][T10157] [ 90.689880][T10157] 1 lock held by syz-executor093/10157: [ 90.695944][T10157] #0: ffff8880a4210e98 (&mm->mmap_sem#2){++++}, at: vm_mmap_pgoff+0x152/0x200 [ 90.706391][T10157] [ 90.706391][T10157] stack backtrace: [ 90.713143][T10157] CPU: 0 PID: 10157 Comm: syz-executor093 Not tainted 5.6.0-rc5-syzkaller #0 [ 90.723708][T10157] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 90.735476][T10157] Call Trace: [ 90.740368][T10157] dump_stack+0x188/0x20d [ 90.746304][T10157] check_noncircular+0x32e/0x3e0 [ 90.751516][T10157] ? print_circular_bug.isra.0+0x220/0x220 [ 90.758664][T10157] ? mark_held_locks+0x9f/0xe0 [ 90.763628][T10157] ? alloc_list_entry+0xb0/0xb0 [ 90.768807][T10157] ? mark_lock+0xbc/0x1220 [ 90.773670][T10157] ? find_first_zero_bit+0x94/0xb0 [ 90.779042][T10157] __lock_acquire+0x201b/0x3ca0 [ 90.783942][T10157] ? __wake_up_common_lock+0xde/0x130 [ 90.790048][T10157] ? mark_held_locks+0xe0/0xe0 [ 90.796455][T10157] lock_acquire+0x197/0x420 [ 90.801273][T10157] ? static_key_slow_dec+0x4f/0x90 [ 90.806787][T10157] cpus_read_lock+0x3b/0x130 [ 90.811368][T10157] ? static_key_slow_dec+0x4f/0x90 [ 90.816979][T10157] static_key_slow_dec+0x4f/0x90 [ 90.821906][T10157] sw_perf_event_destroy+0x81/0x130 [ 90.827716][T10157] ? swevent_hlist_put_cpu+0x1c0/0x1c0 [ 90.834077][T10157] _free_event+0x33b/0x12b0 [ 90.839473][T10157] ? ring_buffer_attach+0x630/0x630 [ 90.845380][T10157] ? wait_for_completion+0x3c0/0x3c0 [ 90.851910][T10157] ? ring_buffer_attach+0x2d5/0x630 [ 90.857132][T10157] put_event+0x40/0x50 [ 90.861642][T10157] perf_mmap_close+0x4f7/0xcb0 [ 90.866430][T10157] ? init_admin_reserve+0xb0/0xb0 [ 90.871569][T10157] ? perf_compat_ioctl+0x90/0x90 [ 90.877243][T10157] ? perf_compat_ioctl+0x90/0x90 [ 90.885408][T10157] remove_vma+0xa9/0x170 [ 90.891242][T10157] __do_munmap+0x729/0x10e0 [ 90.896370][T10157] mmap_region+0x1ef/0x1540 [ 90.901625][T10157] ? __x64_sys_brk+0x6e0/0x6e0 [ 90.906653][T10157] ? security_mmap_addr+0x81/0xa0 [ 90.912902][T10157] ? get_unmapped_area+0x2a0/0x3c0 [ 90.918751][T10157] do_mmap+0x843/0x1140 [ 90.923102][T10157] vm_mmap_pgoff+0x197/0x200 [ 90.928748][T10157] ? randomize_stack_top+0x100/0x100 [ 90.934431][T10157] ? ksys_dup3+0x3c0/0x3c0 [ 90.938934][T10157] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 90.944837][T10157] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 90.951508][T10157] ksys_mmap_pgoff+0x457/0x5b0 [ 90.957789][T10157] ? find_mergeable_anon_vma+0x2c0/0x2c0 [ 90.963523][T10157] ? fpregs_mark_activate+0x320/0x320 [ 90.970581][T10157] ? trace_hardirqs_off_caller+0x55/0x230 [ 90.977427][T10157] do_syscall_64+0xf6/0x7d0 [ 90.984668][T10157] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.991307][T10157] RIP: 0033:0x4473b9 [ 90.995813][T10157] Code: e8 4c bb 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 91.016711][T10157] RSP: 002b:00007f5ae809cda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 91.025244][T10157] RAX: ffffffffffffffda RBX: 00000000006dcc38 RCX: 00000000004473b9 [ 91.033233][T10157] RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffd000 [ 91.042916][T10157] RBP: 00000000006dcc30 R08: 0000000000000004 R09: 0000000000000000 [ 91.052372][T10157] R10: 0000000000000011 R11: 0000000000000246 R12: 00000000006dcc3c executing program [ 91.062943][T10157] R13: 00007ffc24327a1f R14: 00007f5ae809d9c0 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program