Warning: Permanently added '10.128.0.55' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.389817][ T5065] [ 71.392204][ T5065] ===================================================== [ 71.399140][ T5065] WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected [ 71.406589][ T5065] 6.8.0-syzkaller-05204-g237bb5f7f7f5 #0 Not tainted [ 71.413269][ T5065] ----------------------------------------------------- [ 71.420186][ T5065] syz-executor111/5065 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: [ 71.428247][ T5065] ffff888022280578 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0xb0/0x300 [ 71.438618][ T5065] [ 71.438618][ T5065] and this task is already holding: [ 71.445984][ T5065] ffff8880b953e158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 [ 71.455641][ T5065] which would create a new lock dependency: [ 71.461521][ T5065] (&rq->__lock){-.-.}-{2:2} -> (&htab->buckets[i].lock){+...}-{2:2} [ 71.469608][ T5065] [ 71.469608][ T5065] but this new dependency connects a HARDIRQ-irq-safe lock: [ 71.479143][ T5065] (&rq->__lock){-.-.}-{2:2} [ 71.479169][ T5065] [ 71.479169][ T5065] ... which became HARDIRQ-irq-safe at: [ 71.491476][ T5065] lock_acquire+0x1e4/0x530 [ 71.496062][ T5065] _raw_spin_lock_nested+0x31/0x40 [ 71.501271][ T5065] raw_spin_rq_lock_nested+0x2a/0x140 [ 71.506730][ T5065] scheduler_tick+0xa1/0x6e0 [ 71.511508][ T5065] update_process_times+0x202/0x230 [ 71.516899][ T5065] tick_periodic+0x190/0x220 [ 71.521580][ T5065] tick_handle_periodic+0x4a/0x160 [ 71.526776][ T5065] timer_interrupt+0x5c/0x70 [ 71.531453][ T5065] __handle_irq_event_percpu+0x28c/0xa30 [ 71.537276][ T5065] handle_irq_event+0x89/0x1f0 [ 71.542131][ T5065] handle_level_irq+0x3c5/0x6e0 [ 71.547059][ T5065] __common_interrupt+0x13a/0x230 [ 71.552169][ T5065] common_interrupt+0xa5/0xd0 [ 71.556932][ T5065] asm_common_interrupt+0x26/0x40 [ 71.562048][ T5065] _raw_spin_unlock_irqrestore+0xd8/0x140 [ 71.567849][ T5065] __setup_irq+0x1277/0x1cf0 [ 71.572550][ T5065] request_threaded_irq+0x2ab/0x380 [ 71.577835][ T5065] setup_default_timer_irq+0x25/0x60 [ 71.583204][ T5065] x86_late_time_init+0x66/0xc0 [ 71.588138][ T5065] start_kernel+0x3f3/0x500 [ 71.592804][ T5065] x86_64_start_reservations+0x2a/0x30 [ 71.598355][ T5065] x86_64_start_kernel+0x99/0xa0 [ 71.603385][ T5065] common_startup_64+0x13e/0x147 [ 71.608405][ T5065] [ 71.608405][ T5065] to a HARDIRQ-irq-unsafe lock: [ 71.615412][ T5065] (&htab->buckets[i].lock){+...}-{2:2} [ 71.615436][ T5065] [ 71.615436][ T5065] ... which became HARDIRQ-irq-unsafe at: [ 71.628845][ T5065] ... [ 71.628850][ T5065] lock_acquire+0x1e4/0x530 [ 71.636036][ T5065] _raw_spin_lock_bh+0x35/0x50 [ 71.640881][ T5065] sock_hash_free+0x164/0x820 [ 71.645636][ T5065] bpf_map_free_deferred+0xe6/0x110 [ 71.650915][ T5065] process_scheduled_works+0xa00/0x1770 [ 71.656537][ T5065] worker_thread+0x86d/0xd70 [ 71.661206][ T5065] kthread+0x2f0/0x390 [ 71.667978][ T5065] ret_from_fork+0x4b/0x80 [ 71.672510][ T5065] ret_from_fork_asm+0x1a/0x30 [ 71.677384][ T5065] [ 71.677384][ T5065] other info that might help us debug this: [ 71.677384][ T5065] [ 71.687617][ T5065] Possible interrupt unsafe locking scenario: [ 71.687617][ T5065] [ 71.695929][ T5065] CPU0 CPU1 [ 71.701285][ T5065] ---- ---- [ 71.706751][ T5065] lock(&htab->buckets[i].lock); [ 71.711807][ T5065] local_irq_disable(); [ 71.718583][ T5065] lock(&rq->__lock); [ 71.725179][ T5065] lock(&htab->buckets[i].lock); [ 71.732716][ T5065] [ 71.736156][ T5065] lock(&rq->__lock); [ 71.740410][ T5065] [ 71.740410][ T5065] *** DEADLOCK *** [ 71.740410][ T5065] [ 71.748555][ T5065] 3 locks held by syz-executor111/5065: [ 71.754086][ T5065] #0: ffffffff8e131920 (rcu_read_lock){....}-{1:2}, at: newidle_balance+0x2a8/0x1080 [ 71.763663][ T5065] #1: ffff8880b953e158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 [ 71.773597][ T5065] #2: ffffffff8e131920 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x114/0x420 [ 71.782995][ T5065] [ 71.782995][ T5065] the dependencies between HARDIRQ-irq-safe lock and the holding lock: [ 71.793473][ T5065] -> (&rq->__lock){-.-.}-{2:2} { [ 71.798420][ T5065] IN-HARDIRQ-W at: [ 71.802480][ T5065] lock_acquire+0x1e4/0x530 [ 71.808627][ T5065] _raw_spin_lock_nested+0x31/0x40 [ 71.815409][ T5065] raw_spin_rq_lock_nested+0x2a/0x140 [ 71.822435][ T5065] scheduler_tick+0xa1/0x6e0 [ 71.828683][ T5065] update_process_times+0x202/0x230 [ 71.835530][ T5065] tick_periodic+0x190/0x220 [ 71.841760][ T5065] tick_handle_periodic+0x4a/0x160 [ 71.848514][ T5065] timer_interrupt+0x5c/0x70 [ 71.854752][ T5065] __handle_irq_event_percpu+0x28c/0xa30 [ 71.862290][ T5065] handle_irq_event+0x89/0x1f0 [ 71.868701][ T5065] handle_level_irq+0x3c5/0x6e0 [ 71.875207][ T5065] __common_interrupt+0x13a/0x230 [ 71.881893][ T5065] common_interrupt+0xa5/0xd0 [ 71.888238][ T5065] asm_common_interrupt+0x26/0x40 [ 71.894937][ T5065] _raw_spin_unlock_irqrestore+0xd8/0x140 [ 71.902302][ T5065] __setup_irq+0x1277/0x1cf0 [ 71.908547][ T5065] request_threaded_irq+0x2ab/0x380 [ 71.915845][ T5065] setup_default_timer_irq+0x25/0x60 [ 71.922797][ T5065] x86_late_time_init+0x66/0xc0 [ 71.929309][ T5065] start_kernel+0x3f3/0x500 [ 71.935479][ T5065] x86_64_start_reservations+0x2a/0x30 [ 71.942585][ T5065] x86_64_start_kernel+0x99/0xa0 [ 71.949169][ T5065] common_startup_64+0x13e/0x147 [ 71.955751][ T5065] IN-SOFTIRQ-W at: [ 71.959725][ T5065] lock_acquire+0x1e4/0x530 [ 71.965872][ T5065] _raw_spin_lock_nested+0x31/0x40 [ 71.972631][ T5065] raw_spin_rq_lock_nested+0x2a/0x140 [ 71.979670][ T5065] try_to_wake_up+0x7d3/0x1470 [ 71.986087][ T5065] kick_pool+0x41b/0x5c0 [ 71.991997][ T5065] __queue_work+0xc20/0xec0 [ 71.998248][ T5065] call_timer_fn+0x17e/0x600 [ 72.004496][ T5065] __run_timer_base+0x695/0x8e0 [ 72.010994][ T5065] run_timer_softirq+0xb7/0x170 [ 72.017501][ T5065] __do_softirq+0x2bc/0x943 [ 72.023652][ T5065] __irq_exit_rcu+0xf2/0x1c0 [ 72.029895][ T5065] irq_exit_rcu+0x9/0x30 [ 72.035798][ T5065] sysvec_apic_timer_interrupt+0xa6/0xc0 [ 72.043081][ T5065] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 72.050713][ T5065] default_idle+0x13/0x20 [ 72.056702][ T5065] default_idle_call+0x74/0xb0 [ 72.063201][ T5065] do_idle+0x22f/0x5d0 [ 72.068913][ T5065] cpu_startup_entry+0x42/0x60 [ 72.075317][ T5065] rest_init+0x2e0/0x300 [ 72.081211][ T5065] arch_call_rest_init+0xe/0x10 [ 72.087709][ T5065] start_kernel+0x47a/0x500 [ 72.093866][ T5065] x86_64_start_reservations+0x2a/0x30 [ 72.100972][ T5065] x86_64_start_kernel+0x99/0xa0 [ 72.107555][ T5065] common_startup_64+0x13e/0x147 [ 72.114140][ T5065] INITIAL USE at: [ 72.118026][ T5065] lock_acquire+0x1e4/0x530 [ 72.124095][ T5065] _raw_spin_lock_nested+0x31/0x40 [ 72.130765][ T5065] raw_spin_rq_lock_nested+0x2a/0x140 [ 72.137702][ T5065] rq_attach_root+0xee/0x540 [ 72.143848][ T5065] sched_init+0x64e/0xc30 [ 72.149739][ T5065] start_kernel+0x1ab/0x500 [ 72.155795][ T5065] x86_64_start_reservations+0x2a/0x30 [ 72.162815][ T5065] x86_64_start_kernel+0x99/0xa0 [ 72.169308][ T5065] common_startup_64+0x13e/0x147 [ 72.175815][ T5065] } [ 72.178305][ T5065] ... key at: [] sched_init.__key+0x0/0x20 [ 72.186198][ T5065] [ 72.186198][ T5065] the dependencies between the lock to be acquired [ 72.186206][ T5065] and HARDIRQ-irq-unsafe lock: [ 72.199741][ T5065] -> (&htab->buckets[i].lock){+...}-{2:2} { [ 72.205673][ T5065] HARDIRQ-ON-W at: [ 72.209654][ T5065] lock_acquire+0x1e4/0x530 [ 72.215832][ T5065] _raw_spin_lock_bh+0x35/0x50 [ 72.222260][ T5065] sock_hash_free+0x164/0x820 [ 72.228593][ T5065] bpf_map_free_deferred+0xe6/0x110 [ 72.235441][ T5065] process_scheduled_works+0xa00/0x1770 [ 72.242653][ T5065] worker_thread+0x86d/0xd70 [ 72.248982][ T5065] kthread+0x2f0/0x390 [ 72.254712][ T5065] ret_from_fork+0x4b/0x80 [ 72.260791][ T5065] ret_from_fork_asm+0x1a/0x30 [ 72.267209][ T5065] INITIAL USE at: [ 72.271107][ T5065] lock_acquire+0x1e4/0x530 [ 72.277167][ T5065] _raw_spin_lock_bh+0x35/0x50 [ 72.283489][ T5065] sock_hash_free+0x164/0x820 [ 72.289810][ T5065] bpf_map_free_deferred+0xe6/0x110 [ 72.296565][ T5065] process_scheduled_works+0xa00/0x1770 [ 72.303694][ T5065] worker_thread+0x86d/0xd70 [ 72.309845][ T5065] kthread+0x2f0/0x390 [ 72.315490][ T5065] ret_from_fork+0x4b/0x80 [ 72.321484][ T5065] ret_from_fork_asm+0x1a/0x30 [ 72.327813][ T5065] } [ 72.330302][ T5065] ... key at: [] sock_hash_alloc.__key+0x0/0x20 [ 72.338638][ T5065] ... acquired at: [ 72.342430][ T5065] lock_acquire+0x1e4/0x530 [ 72.347103][ T5065] _raw_spin_lock_bh+0x35/0x50 [ 72.352034][ T5065] sock_hash_delete_elem+0xb0/0x300 [ 72.357417][ T5065] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 72.363056][ T5065] bpf_trace_run2+0x204/0x420 [ 72.367900][ T5065] set_task_cpu+0x53d/0x5b0 [ 72.372569][ T5065] load_balance+0x60f5/0x8840 [ 72.377490][ T5065] newidle_balance+0x6be/0x1080 [ 72.382532][ T5065] pick_next_task_fair+0x27a/0xde0 [ 72.387840][ T5065] __pick_next_task+0xb0/0x2c0 [ 72.392880][ T5065] __schedule+0x726/0x4a20 [ 72.397568][ T5065] schedule+0x14b/0x320 [ 72.401906][ T5065] do_nanosleep+0x197/0x600 [ 72.406583][ T5065] hrtimer_nanosleep+0x227/0x470 [ 72.411797][ T5065] __se_sys_clock_nanosleep+0x32b/0x3c0 [ 72.417553][ T5065] do_syscall_64+0xfb/0x240 [ 72.422430][ T5065] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 72.428517][ T5065] [ 72.430906][ T5065] [ 72.430906][ T5065] stack backtrace: [ 72.436819][ T5065] CPU: 0 PID: 5065 Comm: syz-executor111 Not tainted 6.8.0-syzkaller-05204-g237bb5f7f7f5 #0 [ 72.446890][ T5065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 72.457214][ T5065] Call Trace: [ 72.460510][ T5065] [ 72.463445][ T5065] dump_stack_lvl+0x1e7/0x2e0 [ 72.468133][ T5065] ? __pfx_dump_stack_lvl+0x10/0x10 [ 72.473333][ T5065] ? __pfx__printk+0x10/0x10 [ 72.477929][ T5065] ? print_shortest_lock_dependencies+0xf2/0x160 [ 72.484278][ T5065] validate_chain+0x4dc7/0x58e0 [ 72.489139][ T5065] ? __pfx_validate_chain+0x10/0x10 [ 72.494352][ T5065] ? validate_chain+0x11b/0x58e0 [ 72.499299][ T5065] ? __pfx_validate_chain+0x10/0x10 [ 72.504494][ T5065] ? __pfx_validate_chain+0x10/0x10 [ 72.509708][ T5065] ? register_lock_class+0x102/0x980 [ 72.515075][ T5065] ? __pfx_register_lock_class+0x10/0x10 [ 72.520725][ T5065] ? __pfx_validate_chain+0x10/0x10 [ 72.526020][ T5065] ? mark_lock+0x9a/0x350 [ 72.530352][ T5065] __lock_acquire+0x1346/0x1fd0 [ 72.535222][ T5065] lock_acquire+0x1e4/0x530 [ 72.539755][ T5065] ? sock_hash_delete_elem+0xb0/0x300 [ 72.545233][ T5065] ? __pfx_lockdep_softirqs_off+0x10/0x10 [ 72.550971][ T5065] ? __pfx_lock_acquire+0x10/0x10 [ 72.556001][ T5065] ? sock_hash_delete_elem+0xb0/0x300 [ 72.561389][ T5065] ? __pfx___local_bh_disable_ip+0x10/0x10 [ 72.567210][ T5065] ? __pfx_lock_acquire+0x10/0x10 [ 72.572235][ T5065] ? cpufreq_update_util+0x94/0x250 [ 72.577462][ T5065] ? sock_hash_delete_elem+0xb0/0x300 [ 72.582852][ T5065] _raw_spin_lock_bh+0x35/0x50 [ 72.587638][ T5065] ? sock_hash_delete_elem+0xb0/0x300 [ 72.593017][ T5065] sock_hash_delete_elem+0xb0/0x300 [ 72.598221][ T5065] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 72.603672][ T5065] bpf_trace_run2+0x204/0x420 [ 72.608342][ T5065] ? bpf_trace_run2+0x114/0x420 [ 72.613188][ T5065] ? __pfx_bpf_trace_run2+0x10/0x10 [ 72.618381][ T5065] ? set_task_cpu+0x4b1/0x5b0 [ 72.623061][ T5065] set_task_cpu+0x53d/0x5b0 [ 72.627559][ T5065] load_balance+0x60f5/0x8840 [ 72.632288][ T5065] ? __pfx_load_balance+0x10/0x10 [ 72.637301][ T5065] ? rcu_read_lock_sched_held+0x8d/0x130 [ 72.642949][ T5065] ? __lock_acquire+0x1346/0x1fd0 [ 72.647991][ T5065] ? __pfx_lock_acquire+0x10/0x10 [ 72.653023][ T5065] ? __pfx_sched_clock_cpu+0x10/0x10 [ 72.658310][ T5065] newidle_balance+0x6be/0x1080 [ 72.663160][ T5065] ? newidle_balance+0x2a8/0x1080 [ 72.668287][ T5065] ? __pfx_newidle_balance+0x10/0x10 [ 72.673614][ T5065] pick_next_task_fair+0x27a/0xde0 [ 72.678743][ T5065] __pick_next_task+0xb0/0x2c0 [ 72.683527][ T5065] __schedule+0x726/0x4a20 [ 72.687971][ T5065] ? __pfx___schedule+0x10/0x10 [ 72.692825][ T5065] ? schedule+0x90/0x320 [ 72.697072][ T5065] ? __pfx_lock_release+0x10/0x10 [ 72.702099][ T5065] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 72.708004][ T5065] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 72.714327][ T5065] ? schedule+0x90/0x320 [ 72.718580][ T5065] schedule+0x14b/0x320 [ 72.722738][ T5065] do_nanosleep+0x197/0x600 [ 72.727246][ T5065] ? do_nanosleep+0x80/0x600 [ 72.731837][ T5065] ? __pfx_do_nanosleep+0x10/0x10 [ 72.736870][ T5065] ? __asan_memset+0x23/0x50 [ 72.741456][ T5065] ? __hrtimer_init+0x170/0x250 [ 72.746306][ T5065] hrtimer_nanosleep+0x227/0x470 [ 72.751249][ T5065] ? __pfx_hrtimer_nanosleep+0x10/0x10 [ 72.756768][ T5065] ? __pfx_hrtimer_wakeup+0x10/0x10 [ 72.762080][ T5065] ? __pfx_get_timespec64+0x10/0x10 [ 72.767292][ T5065] __se_sys_clock_nanosleep+0x32b/0x3c0 [ 72.772841][ T5065] ? __pfx___se_sys_clock_nanosleep+0x10/0x10 [ 72.778908][ T5065] ? do_syscall_64+0x10a/0x240 [ 72.783678][ T5065] ? do_syscall_64+0xb6/0x240 [ 72.788359][ T5065] do_syscall_64+0xfb/0x240 [ 72.792883][ T5065] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 72.798887][ T5065] RIP: 0033:0x7f961139e6b3 [ 72.803305][ T5065] Code: 00 00 00 00 0f 1f 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d ce e9 03 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 [ 72.823034][ T5065] RSP: 002b:00007ffe041c5f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 [ 72.831531][ T5065] RAX: ffffffffffffffda RBX: 000000000000142b RCX: 00007f961139e6b3 [ 72.839569][ T5065] RDX: 00007ffe041c5fa0 RSI: 0000000000000000 RDI: 0000000000000000 [ 72.847640][ T5065] RBP: 00000000000116a7 R08: 0000000000000010 R09: 00007f96113240b0 [ 72.855652][ T5065] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe041c5fdc [ 72.863628][ T5065] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 72.871636][ T5065]